Dear all,

I'm trying to install yambo code (yambo-3.4.2). I need these compilers:
libxc-y2.0.3.tar.gz
iotk-y1.2.1.tar.gz
netcdf-y4.1.3_v2.tar.gz
etsf_io-1.0.4.tar.gz

I have downloaded them from the url in package.list and put them in
yambo/lib/archive folder and also gunzip them in yambo/lib/ folder. Afer:

./configure --enable-debug --without-mpi FC=gfortran FCFLAGS='-O0 -g
-fbounds-check' CFLAGS='-O0 -g -Dextcus -Dextfus' CC=gcc --with-blacs=no

I have found this error:

configure: error: in `/root/pwscf/yambo-3.4.2/lib/netcdf/netcdf-y4.1.3':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
Makefile:35: recipe for target 'configure-stamp' failed
make[1]: *** [configure-stamp] Error 1
make[1]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/netcdf'
Makefile:85: recipe for target 'libs' failed
make: *** [libs] Error 2

How can I solve it?

I would really appreciate any help.

Thanks in advance.

Mansoureh Pashangpour
IAU, Tehran, Iran.
_______________________________________________
Pw_forum mailing list
[email protected]
http://pwscf.org/mailman/listinfo/pw_forum

Reply via email to