Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2296 ディスカッション

blacs_gridinit problem when inputs are parameters

grenfell
ビギナー
1,691件の閲覧回数

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 件の賞賛
2 返答(返信)
Intel_C_Intel
従業員
1,691件の閲覧回数

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.

grenfell
ビギナー
1,691件の閲覧回数

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

返信