scalapack example with MPI

scalapack example with MPI

Hi,
I'm trying to compile the scalapack example1.f using the MKL. However, when I run this code using:
mpirun -np 6 ./examplemkl
it doesn't seem to pick up the number of processors, and so gives:
BLACS ERROR 'Illegal grid (2 x 3), #procs=1'
and then aborts.

My compiler line is:
mpif77 example1.f -o examplemkl -L/opt/intel/mkl/10.0.1.014/lib/em64t -lmkl_scalapack_lp64 -lmkl_blacs_lp64 -lmkl_lapack -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lguide -lpthread

Any help would be appreciated...
Alternatively, does anyone have other example code that I can try?

I'm using mpich.
Thanks...

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

Not to worry - I solved the problem - installed openmpi from source, I guess the vendor mpich that I had wasn't compatible.

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya