Hello,
I have installed BLACS,BLAS and ScaLAPACK. All the testing executables also run fine.
Now I tried to run following test program (modifying it to Fortran90 code test1.f90) :
http://www.netlib.org/scalapack/examples/example1.f
I compiled it as:
geodsk79% pgf90 test1.f90 -lfmpich -lmpich /home/psadhnani/SCALAPACK/libscalapack.a /home/psadhnani/BLACS/LIB/blacs_MPI-LINUX-1.a /home/psadhnani/BLACS/LIB/blacsCinit_MPI-LINUX-1.a /home/psadhnani/BLACS/LIB/blacsF77init_MPI-LINUX-1.a /home/psadhnani/BLACS/LIB/blacs_MPI-LINUX-1.a /opt/pgi/linux86/lib/libblas.a
test1.f90:
This means it is compiled successfully. BUT when I try to run it using mpirun command:
geodsk79% mpirun -np 4 ./a.out
I get a sequence of errors stating :
Fatal error; unknown error handler
May be MPI call before MPI_INIT. Error message is MPI_ABORT and code is 197
BLACS ERROR 'MPI error 197 on call to MPI_Abort'
from {-1,-1}, pnum=0, Contxt=-1, on line 8 of file 'BI_BlacsAbort.c'.
I am unable to make out if this is the error with ScaLAPACK installation or something else because it got compiled successfully as I can make out.
Please help me out resolving this error. Any sort of help will be highly appreciated.
Regards

