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 |
||
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> | |||
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 |
Revision as of 13:26, 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
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