Install Yambo in IRENE machine (TGCC Joliot Curie)

From The Yambo Project
Revision as of 08:58, 19 October 2022 by Attacc (talk | contribs)
Jump to navigation Jump to search

In this page we explain how to configure compile and run Yambo on the IRENE machine on TGCC Joliot Curie. This page referees to the last available version Yambo 5.1.1

Since Yambo needs some libraries, and these libraries cannot be downloaded directly from IRENE, first of all you have to run ./configure and make yamboon a PC with direct internet access. Then copy all *.tar.gz file in the folde yambo-5.1.1/lib/archive in the corresponding folder on IRENE.

Then you load the following modules:

module load hdf5/1.8.20
module load blas/mkl/20.0.0
module load netcdf-c/4.6.0
module load netcdf-fortran/4.4.4
module load pnetcdf/1.12.1
module load petsc/3.12.2
module load slepc/3.12.1

and then configure Yambo with the command:

./configure FC=ifort F77=ifort CC=icc MPIF77=mpif90 MPICC=mpicc MPIFC=mpif90 --enable-open-mp --enable-par-linalg \
--with-scalapack-libs=mkl --with-blacs-libs=mkl \
--enable-slepc-linalg --with-slepc-path=${SLEPC_ROOT} --with-petsc-path=${PETSC_ROOT} \
--with-netcdf-includedir=${NETCDF_INCDIR}  --with-netcdf-libs="${NETCDF_LDFLAGS}" \
--with-netcdff-includedir=${NETCDFFORTRAN_INCDIR}  --with-netcdff-libs="${NETCDFFORTRAN_LDFLAGS}"

and now you can compile with

make core

In order to run Yambo you have to disable the profile on the IRENE machine,