[Pw_forum] Build QE for Intel Phi native run
Paolo Giannozzi
paolo.giannozzi at uniud.it
Fri Jan 23 17:41:20 CET 2015
Please have a look at this:
http://qe-forge.org/gf/project/q-e/tracker/?action=TrackerItemEdit&tracker_item_id=138&start=25
P.
On Fri, 2015-01-23 at 15:59 +0000, Hideaki Kuraishi wrote:
> Hello,
>
> I have been trying to build QE 5.0.2 with Intel Compiler 15.0.0 and Intel MPI 5.0 to run in native mode. However, though configure is fine, it fails at make phase with segmentation fault error as follows.
>
> --------------------------------------
> :
> mpiifort -openmp -o bands_FS.x bands_FS.o -L$MKLROOT/lib/mic -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -liopm5 $MKLROOT/lib/mic/libmkl_lapack95_lp64.a -liomp5 $HOME/mkl/lib/libfftw3xf_intel.a -L$MKLROOT/lib/mic -lmkl_intel_lp64 -liomp5
>
> /opt/intel/impi/5.0.0.028/intel64/bin/mpiifort: line 729: 5630 Segmentation fault (core dumped) $Show $FC $FCFLAGS "${allargs[@]}" $FCMODDIRS $FCINCDIRS -L${libdir}${MPILIBDIR} -L$libdir $rpath_opt $mpilibs $I_MPI_OTHERLIBS $LDFLAGS $MPI_OTHERLIBS
>
> ( cd ../../bin ; ln -fs ../PW/tools/bands_FS.x . )
>
> mpiifort -openmp -o kvecs_FS.x kvecs_FS.o -L$MKLROOT/lib/mic -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -liopm5 $MKLROOT/lib/mic/libmkl_lapack95_lp64.a -liomp5 $HOME/mkl/lib/libfftw3xf_intel.a -L$MKLROOT/lib/mic -lmkl_intel_lp64 -liomp5
>
> /opt/intel/impi/5.0.0.028/intel64/bin/mpiifort: line 729: 5656 Segmentation fault (core dumped) $Show $FC $FCFLAGS "${allargs[@]}" $FCMODDIRS $FCINCDIRS -L${libdir}${MPILIBDIR} -L$libdir $rpath_opt $mpilibs $I_MPI_OTHERLIBS $LDFLAGS $MPI_OTHERLIBS
>
> ( cd ../../bin ; ln -fs ../PW/tools/kvecs_FS.x . )
> :
> --------------------------------------
>
> If someone has experienced the same error, could you please share the information on how to solve this?
>
> My procedure is...
>
> (1) Configure
> export CC=mpicc
> export FC=mpiifort
> export F90=$FC
> export MPIF90=$FC
> export AR="xiar"
> export CFLAGS="-mmic -openmp"
> export FFLAGS=$CFLAGS
> export FCFLAGS=$CFLAGS
> export BLAS_LIBS="-L$MKLROOT/lib/mic -lmkl_intel_lp64 -liomp5"
> export LAPACK_LIBS="$MKLROOT/lib/mic/libmkl_lapack95_lp64.a -liomp5"
> export SCALAPACK_LIBS="-L$MKLROOT/lib/mic -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -liopm5"
>
> $ ./configure --enable-openmp --enable-parallel
>
> (2) Build
> $ make pw 2>&1 | tee LOG.make
>
> Best regards
> Kai
>
> ______________________________________________________________________
>
> Fujitsu Laboratories of Europe Limited
> Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE
> Registered No. 4153469
>
> This e-mail and any attachments are for the sole use of addressee(s) and
> may contain information which is privileged and confidential. Unauthorised
> use or copying for disclosure is strictly prohibited. The fact that this
> e-mail has been scanned by Trendmicro Interscan does not guarantee that
> it has not been intercepted or amended nor that it is virus-free.
>
>
> _______________________________________________
> Pw_forum mailing list
> 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, fax +39-0432-558222
More information about the users
mailing list