scalapack bench test fails

Hi,

The scalapack bench test compiles ok but it fails to run.

Thanks

mpirun -np 2 ./pdbla3tim
1 - : Could not convert index 31113200 into a pointer
The index may be an incorrect argument.
Possible sources of this problem are a missing “include ‘mpif.h’”,
a misspelled MPI object (e.g., MPI_COM_WORLD instead of MPI_COMM_WORLD)
or a misspelled user variable for an MPI object (e.g.,
com instead of comm).
0 - : Could not convert index 31115536 into a pointer
The index may be an incorrect argument.
Possible sources of this problem are a missing “include ‘mpif.h’”,
a misspelled MPI object (e.g., MPI_COM_WORLD instead of MPI_COMM_WORLD)
or a misspelled user variable for an MPI object (e.g.,
com instead of comm).
[0] Aborting program !
[0] Aborting program!
p0_23486: p4_error: : 9039
Killed by signal 2.

Hi smith66,

This error is caused by a fundamental flaw in MPICH1 where pointers are being stored in a Fortran INTEGER. While fine for 32-bit pointers, it presents a problem for 64-bit pointers. The ideal solution would be for BLACS and ScaLAPACK to be ported to use MPI-2 which has solved this issue, but I don’t know if ScaLAPACK is being actively maintained.

The only solution I know of is to only use 32-bit mode or don’t use struct data types. There is a patch from Quadrics (See the known issue’s section of the PGI Guide for MPICH) which supposedly fixes the pointer problem, but I have not tried it with ScaLAPACK.

  • Mat

Hi Mat,

Thank you for the information.
I have installed the CDK so the question is, does the PGI MPI version include the Quadrics patch, in which case the problem is with BLACS or I will have to rebuild the libs myself?

-Kostas

Hi Kostas,

You’ll need to rebuild it. Please let us know what happens.

Thanks,
Mat

Hi Mat,

Has the 6.2 CDK version addressed this problem?

Kostas

Hi Kostas,

Since 6.2 still uses MPICH, the problem still persists. However, with our upcoming 7.0 release we’ll start to include MPICH2 so we might be able to get it working in 64-bits. I’m on vacation the rest of week, but will look into this more starting next week.

  • Mat