<div dir="ltr"><div><div><div><div><div>Hi Filippo,<br><br>Thanks for the update.<br><br></div><div>1)Here I have specified intel Library only.<br>BLAS_LIBS="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core" SCALAPACK_LIBS="-lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64" FFT_LIBS="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core"<br><br></div>2)For MPI also, I am using intelmpi Not openmpi.<br>]# mpif90 --show<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/libgfortranbegin.a(fmain.o): In function `main':<br>(.text+0x26): undefined reference to `MAIN__'<br><br></div>But, still I am facing problem,<br></div>I don't know where I am lacking.<br></div>Could you help me to solve this problem?<br><br></div>Thanks & Regards<br>Jaikumar S<br><div><div><div><div><div><div><br><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 30, 2014 at 9:52 PM, Filippo Spiga <span dir="ltr"><<a href="mailto:spiga.filippo@gmail.com" target="_blank">spiga.filippo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi JaiKumar,<br>
<br>
as pointed out by other people you need to check your compiler and MPI library. Something is mess up there!<br>
<br>
Two suggestions:<br>
1) if you are using Intel MPI then do "--with-scalapack=intel" instead of using the default (the default enables ScaLAPACK and uses Open MPI).<br>
2) if you are using Open MPI then please check it has been compiled against Intel compilers and not GNU. You can check this by executing "mpicc -show" or " mpif90 -show"<br>
<br>
After you assessed these two points the way to solve your problem it is simple: keep everything consistent.<br>
<br>
HTH<br>
<span class=""><font color="#888888">F<br>
</font></span><div class=""><div class="h5"><br>
<br>
> On Oct 28, 2014, at 2:02 PM, HPC SUPPORT <<a href="mailto:hpcananta@gmail.com">hpcananta@gmail.com</a>> wrote:<br>
><br>
> Dear All,<br>
><br>
> While compiling Quantum Espresso version 5.1, we were getting undefined<br>
> reference symbol problem like __intel_sse2_strcpy this symbol got resolved<br>
> by adding the following library flags -L/app/l_ics_2012/lib/intel64/ -liompprof5<br>
> -L/app/l_ics_2012/lib/intel64/ -liomp5.<br>
> But after add it also we were still getting the same error message.<br>
><br>
> so,Could you help us to solve this problem.<br>
><br>
> # ./configure --prefix=/app/espresso-501 CFLAGS=$FCFLAGS<br>
> BLAS_LIBS="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core"<br>
> SCALAPACK_LIBS="-lmkl_scalapack_lp64 -lmkl_blacs_openmpi_lp64"<br>
> FFT_LIBS="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core"<br>
> LIBS="-L/app/l_ics_2012/lib/intel64/ -liompprof5 -L/app/l_ics_2012/lib/intel64/<br>
> -liomp5"<br>
><br>
> mpif90 -g -pthread -o pw.x \<br>
> pwscf.o libpw.a ../../Modules/libqemod.a ../../flib/ptools.a<br>
> ../../flib/flib.a ../../clib/clib.a ../../iotk/src/libiotk.a<br>
> -lmkl_scalapack_lp64 -lmkl_blacs_openmpi_lp64 -lmkl_intel_lp64<br>
> -lmkl_sequential -lmkl_core -lfftw3 -lmkl_intel_lp64 -lmkl_sequential<br>
> -lmkl_core -lmkl_intel_lp64 -lmkl_sequential -lmkl_core<br>
> ../../clib/clib.a(eval_infix.o): In function `GetNextToken':<br>
> eval_infix.c:(.text+0x589): undefined reference to `__intel_sse2_strcpy'<br>
> eval_infix.c:(.text+0x6c5): undefined reference to `__intel_sse2_strcpy'<br>
> eval_infix.c:(.text+0x925): undefined reference to `__intel_sse2_strcpy'<br>
> ../../clib/clib.a(eval_infix.o): In function `eval_infix':<br>
> eval_infix.c:(.text+0xa25): undefined reference to `_intel_fast_memset'<br>
> eval_infix.c:(.text+0xa4f): undefined reference to `_intel_fast_memcpy'<br>
> eval_infix.c:(.text+0xa6e): undefined reference to `_intel_fast_memset'<br>
> ../../clib/clib.a(eval_infix.o): In function `EvalInfix':<br>
> eval_infix.c:(.text+0xece): undefined reference to `__intel_sse2_strcpy'<br>
> eval_infix.c:(.text+0x1006): undefined reference to `__intel_sse2_strcpy'<br>
> ../../clib/clib.a(md5_from_file.o): In function `readFile':<br>
> md5_from_file.c:(.text+0x56): undefined reference to `_intel_fast_memset'<br>
> ../../clib/clib.a(md5_from_file.o): In function `get_md5':<br>
> md5_from_file.c:(.text+0x125): undefined reference to `_intel_fast_memset'<br>
> md5_from_file.c:(.text+0x16c): undefined reference to `__intel_sse2_strlen'<br>
> ../../clib/clib.a(md5.o): In function `md5_append':<br>
> md5.c:(.text+0x80): undefined reference to `_intel_fast_memcpy'<br>
> md5.c:(.text+0xf2): undefined reference to `_intel_fast_memcpy'<br>
> ../../clib/clib.a(md5.o): In function `md5_finish':<br>
> md5.c:(.text+0xe73): undefined reference to `_intel_fast_memcpy'<br>
> md5.c:(.text+0xedd): undefined reference to `_intel_fast_memcpy'<br>
> md5.c:(.text+0xf2f): undefined reference to `_intel_fast_memcpy'<br>
> ../../clib/clib.a(md5.o):md5.c:(.text+0xf9a): more undefined references to<br>
> `_intel_fast_memcpy' follow<br>
> /app/intel/composer_xe_2013.1.117/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a(igesd2d_.o):<br>
> In function `igesd2d_':<br>
> ../../../../scalapack/BLACS/SRC/MPI/igesd2d_.c:(.text+0x49): undefined reference<br>
> to `ompi_mpi_int'<br>
> ../../../../scalapack/BLACS/SRC/MPI/igesd2d_.c:(.text+0x8b): undefined reference<br>
> to `ompi_mpi_byte'<br>
> /app/intel/composer_xe_2013.1.117/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a(sgesd2d_.o):<br>
> In function `sgesd2d_':<br>
> ../../../../scalapack/BLACS/SRC/MPI/sgesd2d_.c:(.text+0x49): undefined reference<br>
> to `ompi_mpi_float'<br>
><br>
> Thanks & Regards<br>
> JaiKumar S<br>
> HPC -Engineer,<br>
> HCL Infosystems Ltd,<br>
> PH : 09751855415<br>
> Email:<br>
> <a href="mailto:jaikumar.s@hcl.com">jaikumar.s@hcl.com</a><br>
><br>
> Technology that touches lives<br>
><br>
</div></div><div class=""><div class="h5">> _______________________________________________<br>
> Pw_forum mailing list<br>
> <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
> <a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
<br>
--<br>
Mr. Filippo SPIGA, M.Sc.<br>
<a href="http://filippospiga.info" target="_blank">http://filippospiga.info</a> ~ skype: filippo.spiga<br>
<br>
«Nobody will drive us out of Cantor's paradise.» ~ David Hilbert<br>
<br>
*****<br>
Disclaimer: "Please note this message and any attachments are CONFIDENTIAL and may be privileged or otherwise protected from disclosure. The contents are not to be disclosed to anyone other than the addressee. Unauthorized recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission."<br>
<br>
<br>
<br>
_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a></div></div></blockquote></div><br></div></div></div></div></div></div></div></div></div>