Download and Install
Download
Download
version 5.0.2of Yambo.
wget https://github.com/yambo-code/yambo/archive/5.0.2.tar.gz
One should also download the dependent packages of Yambo by following commands
tar zxvf yambo-5.0.2.tar.gz && cd yambo-5.0.2/lib/archive && \
make -f Makefile.loc
重要
The yambo-libraries-0.0.2.tar.gz package should also be download
Download
version 0.0.2Unpack and move the files to yambo code
tar zxvf yambo-libraries-0.0.2.tar.gz && \
mv yambo-libraries-0.0.2/* yambo-5.0.2/lib/yambo
Compile
Before compile the yambo, one should compile the hdf5_1.12.0 code
Create configure file compile.sh
./configure FC="ifort" MPIFC="mpiifort" F77="ifort" MPIF77="mpiifort" CC="icc" MPICC="mpiicc" CPP="gcc -E -P" FPP="gfortran -E -P -cpp" \
--enable-mpi \
--enable-open-mp \
--enable-dp \
--with-blas-libs="-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm" \
--with-lapack-libs="-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm" \
--with-fft-includedir=/opt/intel/compilers_and_libraries_2020.4.304/linux/mkl/include/fftw \
--with-fft-libs="-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm" \
--with-blacs-libs="-lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -lmkl_core -liomp5 -lpthread -lm" \
--with-scalapack-libs="-lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -lmkl_core -liomp5 -lpthread -lm" \
--with-hdf5-libs=/opt/software/HDF5_intelmpi/hdf5-1.12.0/hdf5/lib/libhdf5.a \
--with-hdf5-path=/opt/software/HDF5_intelmpi/hdf5-1.12.0/hdf5 \
--with-hdf5-libdir=/opt/software/HDF5_intelmpi/hdf5-1.12.0/hdf5/lib \
--with-hdf5-includedir=-I/opt/software/HDF5_intelmpi/hdf5-1.12.0/hdf5/include \
configure yambo
bash compile.sh
compile yambo
make core