:Fatal error in MPI_Reduce:
Invalid MPI_Op, error stack:
MPI_Reduce(1080)............: MPI_Reduce(sbuf=0x7fff4913c160, rbuf=0x7fff4913c150, count=1, dtype=0x4c001013, MPI_MAXLOC, root=0, comm=0xc4000006) failed
MPIR_MAXLOC_check_dtype(217): MPI_Op MPI_MAXLOC operation not defined for this datatype
It was my first time to use scalapakc, I don't know why this error comes, does anyone knows? Thanks a lot
(1) First, Iset environment variable as:
(2) Second, I compile my program using the following:mpif90 -o main.exe example.F90 -L/opt/intel/mkl/
I don't use makefile. I downloaded the mannul of"Intel Math Kernel Library for Linux OS"(march 2009 Edition) and the mannul doesn't metion how to use makefile.
Sometimes the compiling can success, but sometimes it shows the following information:
main.exe: error while loading shared libraries: libmkl_lapack.so: cannot open shared object file: No such file or directory
When the compiling can success, the error mentioned in the main thread comes. I am a new user of scalapack and Linux, I am completely confused by the error. Please help me, Ihave beenstumbled by it for nearly two weeks.
Thanks a lot.