Install Yambo on Ubuntu/LinuxMint with Intel compiler

From The Yambo Project
Revision as of 21:40, 1 February 2022 by Attacc (talk | contribs)
Jump to navigation Jump to search

The Intel compiler are freely available on Linux machines.
From the Intel oneAPI page, download and install:

then in the bash/sh shell you can setup the Intel environment variables by doing:

source /opt/intel/oneapi/setvars.sh

now you are ready to install Yambo. The Yambo configure automatically recognize BLAS, LAPACK and FFT from MKL, you have just to specify to use MKL also for BLACS and SCALAPACK.

./configure FC=mpiifort F77=mpiifort  --enable-open-mp --enable-par-linalg --enable-hdf5-par-io \
--with-scalapack-libs=mkl --with-blacs-libs=mkl --enable-slepc-linalg

finally compile the code with:

make core

Nota bene: every time you compile yambo or use it you have to load the Intel variables with the command: source /opt/intel/oneapi/setvars.sh