<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 10/28/2014 03:02 PM, HPC SUPPORT wrote:<br>
    <blockquote
cite="mid:CAJRvo9SsMiGtTcf0PKT5qMGrtkNxUnH4eTS7YNifcJohGOQLEw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <pre>Dear All,

While compiling Quantum Espresso version 5.1, we were getting undefined
reference symbol problem like __intel_sse2_strcpy this symbol got resolved
by adding the following library flags -L/app/l_ics_2012/lib/intel64/ -liompprof5
-L/app/l_ics_2012/lib/intel64/ -liomp5.
But after add it also we were still getting the same error message.

so,Could you help us to solve this problem.

# ./configure --prefix=/app/espresso-501 CFLAGS=$FCFLAGS
BLAS_LIBS="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core"  
SCALAPACK_LIBS="-lmkl_scalapack_lp64 -lmkl_blacs_openmpi_lp64"
FFT_LIBS="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core"
LIBS="-L/app/l_ics_2012/lib/intel64/ -liompprof5 -L/app/l_ics_2012/lib/intel64/
-liomp5"
</pre>
      </div>
    </blockquote>
    <br>
    It looks to me like you're mixing intel and gnu compilers. Which
    compilers did you use to build mpi? Which implementation of mpi is
    it? <br>
    <br>
    <br>
    <blockquote
cite="mid:CAJRvo9SsMiGtTcf0PKT5qMGrtkNxUnH4eTS7YNifcJohGOQLEw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <pre>
mpif90 -g -pthread -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_sequential -lmkl_core -lfftw3 -lmkl_intel_lp64 -lmkl_sequential
-lmkl_core -lmkl_intel_lp64 -lmkl_sequential -lmkl_core
../../clib/clib.a(eval_infix.o): In function `GetNextToken':
eval_infix.c:(.text+0x589): undefined reference to `__intel_sse2_strcpy'
eval_infix.c:(.text+0x6c5): undefined reference to `__intel_sse2_strcpy'
eval_infix.c:(.text+0x925): undefined reference to `__intel_sse2_strcpy'
../../clib/clib.a(eval_infix.o): In function `eval_infix':
eval_infix.c:(.text+0xa25): undefined reference to `_intel_fast_memset'
eval_infix.c:(.text+0xa4f): undefined reference to `_intel_fast_memcpy'
eval_infix.c:(.text+0xa6e): undefined reference to `_intel_fast_memset'
../../clib/clib.a(eval_infix.o): In function `EvalInfix':
eval_infix.c:(.text+0xece): undefined reference to `__intel_sse2_strcpy'
eval_infix.c:(.text+0x1006): undefined reference to `__intel_sse2_strcpy'
../../clib/clib.a(md5_from_file.o): In function `readFile':
md5_from_file.c:(.text+0x56): undefined reference to `_intel_fast_memset'
../../clib/clib.a(md5_from_file.o): In function `get_md5':
md5_from_file.c:(.text+0x125): undefined reference to `_intel_fast_memset'
md5_from_file.c:(.text+0x16c): undefined reference to `__intel_sse2_strlen'
../../clib/clib.a(md5.o): In function `md5_append':
md5.c:(.text+0x80): undefined reference to `_intel_fast_memcpy'
md5.c:(.text+0xf2): undefined reference to `_intel_fast_memcpy'
../../clib/clib.a(md5.o): In function `md5_finish':
md5.c:(.text+0xe73): undefined reference to `_intel_fast_memcpy'
md5.c:(.text+0xedd): undefined reference to `_intel_fast_memcpy'
md5.c:(.text+0xf2f): undefined reference to `_intel_fast_memcpy'
../../clib/clib.a(md5.o):md5.c:(.text+0xf9a): more undefined references to
`_intel_fast_memcpy' follow
/app/intel/composer_xe_2013.1.117/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a(igesd2d_.o):
In function `igesd2d_':
../../../../scalapack/BLACS/SRC/MPI/igesd2d_.c:(.text+0x49): undefined reference
to `ompi_mpi_int'
../../../../scalapack/BLACS/SRC/MPI/igesd2d_.c:(.text+0x8b): undefined reference
to `ompi_mpi_byte'
/app/intel/composer_xe_2013.1.117/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a(sgesd2d_.o):
In function `sgesd2d_':
../../../../scalapack/BLACS/SRC/MPI/sgesd2d_.c:(.text+0x49): undefined reference
to `ompi_mpi_float'

Thanks & Regards
JaiKumar S
HPC -Engineer,
HCL Infosystems Ltd,
PH : 09751855415
Email: <a moz-do-not-send="true" href="https://webmail.hclinsys.com/src/compose.php?send_to=jaikumar.s%40hcl.com">jaikumar.s@hcl.com</a>
Technology that touches lives</pre>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Pw_forum mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a>
<a class="moz-txt-link-freetext" href="http://pwscf.org/mailman/listinfo/pw_forum">http://pwscf.org/mailman/listinfo/pw_forum</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Dr. Lorenzo Paulatto
IdR @ IMPMC -- CNRS & Université Paris 6
+33 (0)1 44 275 084 / skype: paulatz
<a class="moz-txt-link-freetext" href="http://www.impmc.upmc.fr/~paulatto/">http://www.impmc.upmc.fr/~paulatto/</a>
23-24/4é16 Boîte courrier 115, 4 place Jussieu 75252 Paris Cédex 05</pre>
  </body>
</html>