Skip to content
Snippets Groups Projects
compile.sh 798 B
Newer Older
cd /tmp/abinit-8.10.3
make distclean
module load intel/19.4 intelmpi/2019.4.243
export CPATH=${MKLROOT}/include:$CPATH
export FCFLAGS_OPENMP="-fopenmp"
export FCFLAGS='-mtune=native -march=native -fPIC -extend-source -noaltparam -nofpscomp  -fopenmp'
env CC="mpicc" CXX="mpicxx" F77="mpif90" F90="mpif90" FC="mpif90" ./configure --disable-debug --enable-mpi --disable-xml --with-linalg-flavor="mkl+scalapack" --with-linalg-libs="-L${MKLROOT}/lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -mkl" --with-fft-flavor=fftw3  --with-fft-libs="-lfftw3xf_intel -mkl" --with-dft-flavor="libxc+atompaw+wannier90" --enable-mpi-io --with-trio-flavor="netcdf"  --enable-gw-dpc="no" --with-tardir=/tmp/tardir --prefix=$HOME/ABINIT --enable-openmp --enable-optim

make -j 40
make install