系统:centos7.9
编译器:intel2018
mkl库:intel2018
安装步骤:
$cd qe-7.3.1
$./configure --prefix=/share/software/qe731 MPIF90=mpiifort CC=mpiicc F90=ifort F77=mpiifort -enable-parallel
FFLAGS = -O3 -assume byterecl -g -traceback
BLAS_LIBS = -L${MKLROOT}/lib/intel64 -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_intelmpi_lp64 -lpthread -lm -ldl 3. LAPACK_LIBS = -L${MKLROOT}/lib/intel64 -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_intelmpi_lp64 -lpthread -lm -ldl 4. SCALAPACK_LIBS = -L${MKLROOT}/lib/intel64 -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_intelmpi_lp64 -lpthread -lm -ldl
FFT_LIBS = -L${MKLROOT}/lib/intel64 -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_intelmpi_lp64 -lpthread -lm -ldl
MPI_LIBS = -L/share/software/intel2018/impi/2018.4.274/intel64/lib -lmpi
【注:${MKLROOT}为本机intel编译器自带的库路径】
$make all
#make install
mpirun -np 12 pw.x < relax.in > relax.out