Static Yambo
Jump to navigation
Jump to search
In this page we explain how to compile a static serial version of Yambo that can be transferred on different PC (using the same kind of processor). Here we prove a serial version of Yambo compiled on linux on x86 processors:
this version has been obtained by configuring yambo as:
./configure FC=gfortran --with-lapack-libs="/home/attacc/SOFTWARE/lapack-3.11/liblapack.a" --with-blas-libs="/home/attacc/SOFTWARE/lapack-3.11/librefblas.a" --enable-mpi=no
where we linked it to a static compiled lapack library, downloaded from: lapack-3.11
and changing the flags in config/setup in such a way to have static compilation:
cflags = -O2 -static -D_C_US -D_FORTRAN_US fcflags = -O2 -g -static fcuflags = -O0 -g -static fflags = -O2 -g -static fuflags = -O0 -g -static