Page 1 of 1

Compilation error yambo-4.5.0

Posted: Thu Feb 06, 2020 4:38 pm
by michele guerrini
Dear developers, I am trying to compile the latest version (v-4.5.0) of the code but a the moment I keep getting the following error:

>>>[Making qe_pseudo]<<<
<command-line>: warning: missing whitespace after the macro name
make[2]: Entering directory `/home/bepmguer/codes/yambo-4.5.0/lib/qe_pseudo'
Makefile:98: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
make[2]: Leaving directory `/home/bepmguer/codes/yambo-4.5.0/lib/qe_pseudo'
make[1]: *** [int-libs] Error 2
make[1]: Leaving directory `/home/bepmguer/codes/yambo-4.5.0'
yambo build failed

any suggestion on how to solve it ? Thanks

Re: Compilation error yambo-4.5.0

Posted: Thu Feb 06, 2020 5:04 pm
by andrea.ferretti
Dear Michele,

I have the impression something is not working with your precompiler (either CPP or FPP).
Can you post more information (compiler, config.log, config/report file) ?

take care
Andrea

Re: Compilation error yambo-4.5.0

Posted: Thu Feb 06, 2020 6:02 pm
by michele guerrini
sure, here's attached the config.log

Re: Compilation error yambo-4.5.0

Posted: Fri Feb 07, 2020 3:14 pm
by andrea.ferretti
Dear Michele,

according to your config.log, you have issued configure more or less as follows:

Code: Select all

./configure --enable-hdf5-par-io --enable-memory-profile --enable-open-mp \
            --enable-int-linalg --enable-par-linalg --enable-netcdf-hdf5 \
            FC=mpiifort CC=mpicc CXX=mpicxx
which reproduces the problem also on my machine (indeed related to the C precompiler).

I have fixed it my using the following flags:

Code: Select all

./configure --enable-hdf5-par-io --enable-memory-profile --enable-open-mp \
            --enable-int-linalg --enable-par-linalg --enable-netcdf-hdf5 \
            FC=ifort CC=icc MPIFC=mpiifort
Hope it helps
Andrea