I have a few questions about DGELSD. It gets an IWORK array as parameter, but no LIWORK, even though the documentation states in the description of IWORK that
- Code: Select all
LIWORK >= 3 * MINMN * NLVL + 11 * MINMN, where MINMN = MIN( M,N )
Should I pass an array of exactly this size?
The docs also state that
- Code: Select all
NLVL = MAX( 0, INT( LOG_2( MIN( M,N )/(SMLSIZ+1) ) ) + 1 )
and that SMLSIZ is returned by ILAENV, but after reading the docs to ILAENV, I don't understand how to call it to get the SMLSIZ value.
Thanks for any help,
Boris

