[Pw_forum] yambo installation

Mansoureh Pashangpour mansourehp at gmail.com
Mon Oct 10 16:30:03 CEST 2016


Dear Federico,
I could install another version of the code by this way.
Thanks
M. Pashangpour, IAU, Tehran, Iran.

On Mon, Oct 10, 2016 at 5:52 PM, Mansoureh Pashangpour <mansourehp at gmail.com
> wrote:

> Dear Federico,
> I have found a similar post at the yambo forum. It was solved by yum
> install gcc-c++. But I recived another error after that:
>
> if test -d netcdf-y4.1.3 ; then \
> ( cd netcdf-y4.1.3;  make ; make install ) ; fi
> make[2]: Entering directory '/root/pwscf/yambo-3.4.2/lib/
> netcdf/netcdf-y4.1.3'
> make  all-recursive
> make[3]: Entering directory '/root/pwscf/yambo-3.4.2/lib/
> netcdf/netcdf-y4.1.3'
> Making all in include
> make[4]: Entering directory '/root/pwscf/yambo-3.4.2/lib/
> netcdf/netcdf-y4.1.3/include'
> make[4]: *** No rule to make target 'netcdf.h', needed by 'all-am'.  Stop.
> make[4]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/
> netcdf/netcdf-y4.1.3/include'
> Makefile:551: recipe for target 'all-recursive' failed
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/
> netcdf/netcdf-y4.1.3'
> Makefile:422: recipe for target 'all' failed
> make[2]: *** [all] Error 2
> make[2]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/
> netcdf/netcdf-y4.1.3'
> make[2]: Entering directory '/root/pwscf/yambo-3.4.2/lib/
> netcdf/netcdf-y4.1.3'
> Making install in include
> make[3]: Entering directory '/root/pwscf/yambo-3.4.2/lib/
> netcdf/netcdf-y4.1.3/include'
> make[3]: *** No rule to make target 'netcdf.h', needed by 'all-am'.  Stop.
> make[3]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/
> netcdf/netcdf-y4.1.3/include'
> Makefile:551: recipe for target 'install-recursive' failed
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/
> netcdf/netcdf-y4.1.3'
> Makefile:51: recipe for target 'package-ready-stamp' failed
> make[1]: *** [package-ready-stamp] Error 2
> make[1]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/netcdf'
> Makefile:85: recipe for target 'libs' failed
> make: *** [libs] Error 2
>
>
> I think it is related to netcdf. how can I fix it?
> M. Pashangpour, IAU, Tehran, Iran.
>
> On Mon, Oct 10, 2016 at 2:30 PM, Federico Iori <federico.iori at u-psud.fr>
> wrote:
>
>> Hi.
>>
>> Try to have a look as well at the Yambo Forum
>> http://www.yambo-code.org/forum/
>>
>> HTH.
>> Federico
>>
>>
>>
>> [image: Université Paris-Sud]
>> *Federico IORI*
>> Marie Curie Fellow
>> Laboratoire de Physique des Solides
>> Bâtiment 510 - Rue André Rivière
>> 91400 Orsay
>>
>>
>> ------------------------------
>> *De: *"Mansoureh Pashangpour" <mansourehp at gmail.com>
>> *Para: *"PWSCF Forum" <pw_forum at pwscf.org>
>> *Enviados: *Lunes, 10 de Octubre 2016 12:49:04
>> *Asunto: *[Pw_forum] yambo installation
>>
>>
>> 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
>> Pw_forum at pwscf.org
>> http://pwscf.org/mailman/listinfo/pw_forum
>>
>>
>> _______________________________________________
>> Pw_forum mailing list
>> Pw_forum at pwscf.org
>> http://pwscf.org/mailman/listinfo/pw_forum
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20161010/f5f7516d/attachment.html>


More information about the users mailing list