 LDWORK = 0
          on entry, but no error message related to LDWORK is issued
          by XERBLA.

  LDWORK  INTEGER
          The dimension of the array DWORK.
          LDWORK &gt;= 1, if MIN(M,P) = 0 or ( JOBD = 'Z' and
                                      ( N = 0 or B = 0 or C = 0 ) );
          LDWORK &gt;= P*M + x, if ( ( N = 0 and MIN(M,P) &gt; 0 )
                       or ( B = 0 or C = 0 ) ) and JOBD &lt;&gt; 'Z',
                    where
                    x = MAX( 4*MIN(M,P) + MAX(M,P), 6