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

DESCINIT parameter number 9 had an illegal value

sfqian
Beginner
915 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
Black Belt
901 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
Black Belt
902 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
894 Views

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

Reply