Community
cancel
Showing results for 
Search instead for 
Did you mean: 
sfqian
Beginner
419 Views

DESCINIT parameter number 9 had an illegal value

Jump to solution

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
405 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
406 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

sfqian
Beginner
398 Views

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

Reply