Questions on Intel MPI2.0 and Intel Cluster MKL

Questions on Intel MPI2.0 and Intel Cluster MKL

I installed Intel MPI 2.0and Intel Cluster MKL and wanted to do the scalapack testing. However, when I tried to compile the scalapack tests in the cmkl directory, I have the following message:

(cd source/TESTING; make ROOTdir=/opt/intel/cmkl/8.0/tests/scalapack LIBdir= MPIdir= arch=ia32 mpi=intelmpi20 comp=intel opt=O2 dynamic= arch=ia32 dynamic=no exe run)
make[1]: Entering directory `/opt/intel/cmkl/8.0/tests/scalapack/source/TESTING'
( cd LIN ; make ROOTdir=/opt/intel/cmkl/8.0/tests/scalapack LIBdir= MPIdir= arch=ia32 mpi=intelmpi20 comp=intel opt=O2 dynamic=no comp=intel opt=O2 all )
make[2]: Entering directory `/opt/intel/cmkl/8.0/tests/scalapack/source/TESTING/LIN'
mpiifort -c -w -u -O0 psludriver.f
mpiifort -c -w -u -O0 psluinfo.f
mpiifort -c -w -u -O0 psgetrrv.f
mpiifort -c -w -u -O0 psmatgen.f
mpiifort -c -w -u -O0 pmatgeninc.f
mpiifort -c -w -u -O0 pslaschk.f
mpiifort -c -w -u -O0 pslafchk.f
mpiifort -o ../xslu_ia32_intelmpi20_intel_O2 psludriver.o psluinfo.o psgetrrv.o psmatgen.o pmatgeninc.o pslaschk.o pslafchk.o -L/opt/intel/cmkl/8.0/tests/scalapack/../../lib/32 -lmkl_scalapacktesting_intel80 -lmkl_scalapack -lmkl_blacs_intelmpi20 -lmkl_lapack -lmkl_ia32 -lguide -lpthread
IPO link: can not find "("
ifort: error: problem during multi-file optimization compilation (code 1)
make[2]: *** [../xslu_ia32_intelmpi20_intel_O2] Error 1
make[2]: Leaving directory `/opt/intel/cmkl/8.0/tests/scalapack/source/TESTING/LIN'
make[1]: *** [exe] Error 2
make[1]: Leaving directory `/opt/intel/cmkl/8.0/tests/scalapack/source/TESTING'
make: *** [lib32] Error 2
I tried MPICH2 with intel compiler, the same situation.
I successfully installed and tested MPICH2 and BLACS, SCALAPACK from netlib in the same cluster.

I used the command:
make lib32 mpi=intelmpi20
I'm using RH Linux, Fedora Core release 4 (Stentz)
Kernel 2.6.11-1.1369_FC4smp

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Basically, I've no idea why the compiler starts thinking about interprocedural optimization (IPO). There's no IPO inside MKL as well as in test modules as they're compiled.I have never encountered this issue, though built MKL ScaLAPACK tests many times. Could you replace MKL binaries you linked agianst by those from NetLib at the moment the linker failed and see what happens?That is, in source/TESTING/LIN type:

ifort psludriver.o psluinfo.o psgetrrv.o psmatgen.o pmatgeninc.o pslaschk.o pslafchk.o -L/opt/intel/cmkl/8.0/tests/scalapack/../../lib/32 -lmkl_lapack -lmkl_ia32 -lguide -lpthread

Will it help?

ifort 9.0 reports all kinds of errors from ld as IPO link errors, so the message is not meaningful. If you care to dig into it, you can capture more details by adding the -# option to the mpiifort link command.

Leave a Comment

Please sign in to add a comment. Not a member? Join today