Page 2 of 2

Re: Compile yambo-5.0.1

Posted: Tue May 04, 2021 1:40 pm
by sitangshu
Thank you Andrea,

I updated the gcc-Fortran to 8.4.0 and tried make yambo for version 5.0.2. However, at the initial libxc stage it got stuck:

checking how to get verbose linking output from gfortran... -v
checking for Fortran libraries of gfortran... -L/data/apps/compilers/gcc/8.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.4.0 -L/data/apps/compilers/gcc/8.4.0/bin/../lib/gcc -L/data/apps/compilers/gcc/8.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.4.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/data/apps/compilers/gcc/8.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.4.0/../../.. -lgfortran -lm -lquadmath
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
checking whether the compiler accepts very long lines... yes
checking whether the compiler accepts "line-number" lines cast by the preprocessor... yes
checking fortran 90 modules extension... mod
checking for the size of a Fortran integer... configure: error: in `/home/sitangshu/data_hpc/softwares/yambo-5.0.2/lib/libxc/libxc-2.2.3':
configure: error: f90 program to find the size of a Fortran integer failed
See `config.log' for more details
make[2]: *** [configure-stamp] Error 1
make[2]: Leaving directory `/data_hpc/home/sitangshu/softwares/yambo-5.0.2/lib/libxc'
make[1]: *** [libxc] Error 2
make[1]: Leaving directory `/data_hpc/home/sitangshu/softwares/yambo-5.0.2'
libxc build failed

Regards
Sitangshu

Re: Compile yambo-5.0.1

Posted: Tue May 04, 2021 4:51 pm
by andrea.ferretti
Hi there,

I think this is a problem of the installation. Is gfortran pointing to the right executable ?
do you have two versions of the gcc software stack ?

Re: Compile yambo-5.0.1

Posted: Tue May 04, 2021 7:20 pm
by sitangshu
Hi Andrea,

Thanks! I got the fix, seems to be working with a less gcc version.

REgards,
Sitangshu