Static Yambo: Difference between revisions
Jump to navigation
Jump to search
(Created page with "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).") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
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). | 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: | |||
[https://www.attaccalite.com/lumen/tutorials/bin_yambo.tgz Compiles serial static yambo] | |||
this version has been obtained by configuring yambo as: | |||
<code> | |||
./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 | |||
</code> | |||
where we linked it to a static compiled lapack library, downloaded from: [https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.11.tar.gz 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 |
Latest revision as of 13:27, 13 March 2024
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