Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2159 Discussions

blacs_gridinit problem when inputs are parameters

grenfell
Beginner
374 Views

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.

0 Kudos
2 Replies
Intel_C_Intel
Employee
374 Views

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.

0 Kudos
grenfell
Beginner
374 Views

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

0 Kudos
Reply