[Pw_forum] Compilation with intel compiler and MKL.

Youssef aharbil at gmail.com
Tue Feb 2 13:57:08 CET 2016


Dear *Yeonung,

I used to compile qe-5.30 with intel parallel studio 2016, using this 
statements:

**export FC=mpiifort
export F90=mpiifort
export F77=mpiifort
export MPIF90=mpiifort
export CC=mpiicc
export CPP="icc -E"
export CFLAGS=$FCFLAGS
export AR=xiar
export BLAS_LIBS=""
export LAPACK_LIBS="-lmkl_blacs_intelmpi_lp64"
export SCALAPACK_LIBS="-lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64"
export FFT_LIBS="-L$MKLROOT/intel64"
./configure  --enable-parallel
*
you can save it as a bash script, an run it inside qe folder.

Of course  make sure that the intel parallel studio wrapper is in your 
path (e.g. :  source /opt/intel/bin/compilervars.sh intel64 ), this  
invoke all the needed environmental variables.

Youssef Aharbil,

Laboratory of Physics and Chemistry of Materials

Faculty of sciences Ben msik, Casablanca

Morocco



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20160202/940deeb9/attachment.html>


More information about the users mailing list