[Q-e-developers] Compiling error on Cray XE6 (UNCLASSIFIED)
Miller, MJ ERDC-RDE-ITL-MS Contractor
MJ.Miller at erdc.dren.mil
Wed Aug 15 18:10:05 CEST 2012
Classification: UNCLASSIFIED
Caveats: FOUO
QE:
I'm trying to troubleshoot a compilation problem on our Cray XE6. The code seems to compile following the instructions given in the README, but fails to link with the MPI libraries as far as I can see. We are getting undefined reference errors that seem to indicate at least a library path problem, but may be more involved. Our efforts thus far have included setting environment variables as described in the README file, and swapping compiler and open_mpi versions. Here is a excerpt from the compile log where things start to go wrong. Please take a look and reply if you can help us.
make[2]: Entering directory `/work/mjmiller/espresso-5.0--htakephi/PW/src'
test -n "" && ( cd ../.. ; make -w || exit 1) || :
mpif90 -static-intel -openmp -o pw.x \
pwscf.o libpw.a ../../Modules/libqemod.a ../../flib/ptools.a ../../flib/flib.a ../../clib/clib.a ../../iotk/src/libiotk.a -lmkl_scalapack_lp64 -lmkl_blacs_openmpi_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core
/opt/intel/Compiler/11.1/056/mkl/lib/em64t/libmkl_blacs_openmpi_lp64.a(igesd2d_.o): In function `igesd2d_':
_igesd2d_.c:(.text+0x40): undefined reference to `ompi_mpi_int'
_igesd2d_.c:(.text+0x99): undefined reference to `ompi_mpi_byte'
/opt/intel/Compiler/11.1/056/mkl/lib/em64t/libmkl_blacs_openmpi_lp64.a(sgesd2d_.o): In function `sgesd2d_':
_sgesd2d_.c:(.text+0x40): undefined reference to `ompi_mpi_float'
_sgesd2d_.c:(.text+0x99): undefined reference to `ompi_mpi_byte'
/opt/intel/Compiler/11.1/056/mkl/lib/em64t/libmkl_blacs_openmpi_lp64.a(dgesd2d_.o): In function `dsendrecv_':
_dgesd2d_.c:(.text+0x8e): undefined reference to `ompi_mpi_double'
_dgesd2d_.c:(.text+0xab): undefined reference to `ompi_mpi_double'
_dgesd2d_.c:(.text+0x101): undefined reference to `ompi_mpi_double'
_dgesd2d_.c:(.text+0x125): undefined reference to `ompi_mpi_double'
/opt/intel/Compiler/11.1/056/mkl/lib/em64t/libmkl_blacs_openmpi_lp64.a(dgesd2d_.o): In function `dgesd2d_':
_dgesd2d_.c:(.text+0x21a): undefined reference to `ompi_mpi_double'
_dgesd2d_.c:(.text+0x273): undefined reference to `ompi_mpi_byte'
/opt/intel/Compiler/11.1/056/mkl/lib/em64t/libmkl_blacs_openmpi_lp64.a(cgesd2d_.o): In function `cgesd2d_':
_cgesd2d_.c:(.text+0x99): undefined reference to `ompi_mpi_byte'
/opt/intel/Compiler/11.1/056/mkl/lib/em64t/libmkl_blacs_openmpi_lp64.a(zgesd2d_.o): In function `zgesd2d_':
_zgesd2d_.c:(.text+0x99): undefined reference to `ompi_mpi_byte'
/opt/intel/Compiler/11.1/056/mkl/lib/em64t/libmkl_blacs_openmpi_lp64.a(strsd2d_.o):
Thanks,
MJ Miller, Ph.D.
ERDC-DSRC
Vicksburg, MS
601-634-7465
Classification: UNCLASSIFIED
Caveats: FOUO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20120815/82fbad30/attachment.html>
More information about the developers
mailing list