[Pw_forum] 5.2.1 release building issue

Éric Germaneau germaneau at sjtu.edu.cn
Mon Nov 16 09:02:30 CET 2015


Thank you so munch Paolo.
That was the issue.

On 11/16/2015 03:17 PM, Paolo Giannozzi wrote:
> You are using "xild" as loader, maybe because your variable LD is set 
> to xild (configure does not contain any reference to xild). The 
> typical choice is to use the compiler as loader, so LD=mpiifort in 
> your case
>
> Paolo
>
> On Mon, Nov 16, 2015 at 5:23 AM, Éric Germaneau <germaneau at sjtu.edu.cn 
> <mailto:germaneau at sjtu.edu.cn>> wrote:
>
>     @Paolo,
>
>     Thank you, but when I remove it I get tones of "undefined
>     reference" related to Intel libraries.
>
>     @Rolly,
>
>     Thank you, but unfortunately that give rise to many "undefined
>     reference".
>
>     @Filippo,
>
>     Here is the log I initially got, thanks.
>
>
>
>
>     On 11/16/2015 10:17 AM, Rolly Ng wrote:
>>
>>     Hi Eric,
>>
>>     Please try this,
>>
>>     ./configure CC=icc CXX=icpc F90=ifort F77=ifort MPIF90=mpiifort \
>>
>>     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"
>>
>>     Rolly
>>
>>     *From:*pw_forum-bounces at pwscf.org
>>     <mailto:pw_forum-bounces at pwscf.org>
>>     [mailto:pw_forum-bounces at pwscf.org] *On Behalf Of *éric Germaneau
>>     *Sent:* 2015年11月10日19:21
>>     *To:* pw_forum at pwscf.org <mailto:pw_forum at pwscf.org>
>>     *Subject:* [Pw_forum] 5.2.1 release building issue
>>
>>     Dear all,
>>
>>     I'm using Intel compiler 15.0,  MKL 11.2, and IMPI 5.0.1 to
>>     compile QE version 5.2.1 but getting the error bellow:
>>
>>     .....
>>     a - iotk_xtox_interf.o
>>     ranlib libiotk.a
>>     mpiifort -O3 -xhost -openmp -mkl -nomodule -openmp -fpp -D__INTEL
>>     -D__FFTW -D__MPI -D__PARA -D__OPENMP   -I../include  -c
>>     iotk_print_kinds.f90
>>     make loclib_only
>>     make[3]: Entering directory
>>     `/path/to/QE/5.2.1/espresso-5.2.1/S3DE/iotk/src'
>>     make[3]: Nothing to be done for `loclib_only'.
>>     make[3]: Leaving directory
>>     `/path/to/QE/5.2.1/espresso-5.2.1/S3DE/iotk/src'
>>     xild -static-intel  -openmp -o iotk_print_kinds.x
>>     iotk_print_kinds.o libiotk.a
>>     ipo: warning #11016: Warning unknown option -static-intel
>>     xild: executing 'ld'
>>     ld: unrecognized -a option `tic-intel'
>>     make[2]: *** [iotk_print_kinds.x] Error 1
>>     make[2]: Leaving directory
>>     `/path/to/QE/5.2.1/espresso-5.2.1/S3DE/iotk/src'
>>     make[1]: *** [libiotk] Error 2
>>     make[1]: Leaving directory `/path/to/QE/5.2.1/espresso-5.2.1/install'
>>     make: *** [libiotk] Error 2
>>
>>     Here is how I proceed:
>>
>>     export CC="icc"
>>     export FC="ifort"
>>     export MPIF90="mpiifort"
>>     export CFLAGS="-O3 -xhost -openmp -mkl"
>>     export FFLAGS="-O3 -xhost -openmp -mkl"
>>     ./configure --enable-parallel --enable-openmp --without-scalapack
>>     make pw
>>
>>     I'm wondering if someone else also got this error.
>>
>>     Thank you.
>>
>>     -- 
>>     Éric Germaneau (艾海 克), Specialist
>>     Center for High Performance Computing
>>     Shanghai Jiao Tong University
>>     Room 205 Network Center, 800 Dongchuan Road, Shanghai 200240 China
>>     Email:germaneau at sjtu.edu.cn <mailto:Email:germaneau at sjtu.edu.cn>
>>     Mobi:+86-136-4161-6480 <tel:%2B86-136-4161-6480>
>>     http://hpc.sjtu.edu.cn
>>
>>       * Chinese (Simplified) - detected
>>       * English
>>       * Chinese (Simplified)
>>
>>       * English
>>       * Chinese (Simplified)
>>
>>
>>
>>     _______________________________________________
>>     Pw_forum mailing list
>>     Pw_forum at pwscf.org  <mailto:Pw_forum at pwscf.org>
>>     http://pwscf.org/mailman/listinfo/pw_forum
>
>     -- 
>     Éric Germaneau (艾海克), Specialist
>     Center for High Performance Computing
>     Shanghai Jiao Tong University
>     Room 205 Network Center, 800 Dongchuan Road, Shanghai 200240 China
>     Email:germaneau at sjtu.edu.cn <mailto:Email:germaneau at sjtu.edu.cn>
>     Mobi:+86-136-4161-6480 <tel:%2B86-136-4161-6480>
>     http://hpc.sjtu.edu.cn
>
>     _______________________________________________
>     Pw_forum mailing list
>     Pw_forum at pwscf.org <mailto:Pw_forum at pwscf.org>
>     http://pwscf.org/mailman/listinfo/pw_forum
>
>
>
>
> -- 
> Paolo Giannozzi, Dept. Chemistry&Physics&Environment,
> Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
> Phone +39-0432-558216 <tel:%2B39-0432-558216>, fax +39-0432-558222 
> <tel:%2B39-0432-558222>
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum

-- 
Éric Germaneau (艾海克), Specialist
Center for High Performance Computing
Shanghai Jiao Tong University
Room 205 Network Center, 800 Dongchuan Road, Shanghai 200240 China
Email:germaneau at sjtu.edu.cn Mobi:+86-136-4161-6480 http://hpc.sjtu.edu.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20151116/576fcc5b/attachment.html>


More information about the users mailing list