Compile the libraries in Yambo independently

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

In general Yambo requires a series of libraries: HDF5, NetCDF-c, NetCDF-f, fft, lapack, blacs, iotk, libxc
plus a series of optional libreries: yaml, slepc, petsc, blacs, scalapack, futile.

Some of this libraries are included in the Yambo package, while other are downloaded from the internet.
In general Yambo configure and compile all these libraries. However on some particular computer, configure/compilation of a specific library can fail.
Here we will show you how to compile and install some of them and the use with Yambo.

If you configured Yambo and the compilation is stuck at some library you can find the tar.gz file of the libraries in:

lib/archive/

for example:

fftw-3.3.6-pl1.tar.gz  iotk-y1.2.2.tar.gz  Makefile      netcdf-c-4.7.4.tar.gz        package.list
hdf5-1.12.0.tar.gz     libxc-5.1.5.tar.gz  Makefile.loc  netcdf-fortran-4.5.3.tar.gz

The file package.list contains the libraries list and the link to download them. Now