blacs_gridinit problem when inputs are parameters

blacs_gridinit problem when inputs are parameters

I am using Intel Fortran v10, MPI, and Math Kernel Libraryon a cluster. I imported a scaLAPACK program that worksOK on another cluster, but fails now.A call to blacs_gridinit crashes. The call is like "call blacs_gridinit(ictxt, 'R', nprow, npcol). The nprow and npcol are defined as integer parameters = 5. When I change them to normal integer variables and set them to 5in the program,it works. Why? All the docs say they are normal input varaiables, not in and out.

Thanks for any ideas.

3 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

Hi,

Would it be possible for you to provide a bit more information? What versions of Intel MPI Library and MKL do you use? Do you use static or multithread version of MPI library? Can you provide the command line which you use for scaLAPACK building?

Regards, Anton.

MPI 3.1
MKL 10.0.011
Dynamic library as far as I know

Compile/link script is

#!/bin/sh
infile="$1.f90"
mpiifort -o $1 $infile
-L/opt/intel/mkl/10.0.011/lib/64
-lmkl_scalapack_lp64
-lmkl_blacs_intelmpi20_lp64
-lmkl_lapack
-lmkl_intel_lp64
-lmkl_intel_thread
-lmkl_core
-lguide
-lpthread

Melden Sie sich an, um einen Kommentar zu hinterlassen.