Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6592 Discussions

DESCINIT parameter number 9 had an illegal value

sfqian
Beginner
855 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
841 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
842 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
834 Views

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

Reply