Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6951 Discussions

DESCINIT parameter number 9 had an illegal value

sfqian
Beginner
1,688 Views

I can execute the scalapack example of netlib. http://www.netlib.org/scalapack/examples/sample_pzheevx_call.f

However, when I use N = 600 instead of N = 4, some messages are printed:

{ 0, 0}: On entry to
DESCINIT parameter number 9 had an illegal value
{ 0, 0}: On entry to
DESC{ 0, 1}: On entry to
DESCINIT parameter number 9 had an illegal value
{ 0, 1}: On entry to
DESCINIT parameter number 9 had an illegal value
{ 1, 0}: On entry to
DESCINIT parameter number 9 had an illegal value
{ 1, 0}: On entry to
DESCINIT parameter number 9 had an illegal value
{ 1, 1}: On entry to
DESCINIT parameter number 9 had an illegal value
{ 1, 1}: On entry to
DESCINIT parameter number 9 had an illegal value
INIT parameter number 9 had an illegal value

{ 0, 1}: On entry to
PSSYEVX parameter number 23 had an illegal value
{ 1, 0}: On entry to
PSSYEVX parameter number 23 had an illegal value
{ 1, 1}: On entry to
PSSYEVX parameter number 23 had an illegal value

I compile this example using intel mpi and intel mkl 2016 version.

mpiifort -O1 -o example1 sample_pssyevx_call.f -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -lmkl_lapack95_lp64 -lmpi -lmkl_sequential -lmkl_intel_lp64 -lmkl_core -lpthread -lm -ldl

0 Kudos
1 Solution
mecej4
Honored Contributor III
1,674 Views

You used a value of N (600) that is larger than the integer parameter MAXN (100) that is used in the example code to allocate some of the arrays. Did you remember to adjust MAXN accordingly?

View solution in original post

2 Replies
mecej4
Honored Contributor III
1,675 Views

You used a value of N (600) that is larger than the integer parameter MAXN (100) that is used in the example code to allocate some of the arrays. Did you remember to adjust MAXN accordingly?

sfqian
Beginner
1,667 Views

Thank you so much! I changed the MAXN and the problem is solved.

0 Kudos
Reply