<div dir="ltr"><div><div>Dear Federico,<br></div>I could install another version of the code by this way. <br></div>Thanks<br>M. Pashangpour, IAU, Tehran, Iran.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 10, 2016 at 5:52 PM, Mansoureh Pashangpour <span dir="ltr"><<a href="mailto:mansourehp@gmail.com" target="_blank">mansourehp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Dear Federico,<br></div>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:<br><br>if test -d netcdf-y4.1.3 ; then \<br>( cd netcdf-y4.1.3; make ; make install ) ; fi<br>make[2]: Entering directory '/root/pwscf/yambo-3.4.2/lib/<wbr>netcdf/netcdf-y4.1.3'<br>make all-recursive<br>make[3]: Entering directory '/root/pwscf/yambo-3.4.2/lib/<wbr>netcdf/netcdf-y4.1.3'<br>Making all in include<br>make[4]: Entering directory '/root/pwscf/yambo-3.4.2/lib/<wbr>netcdf/netcdf-y4.1.3/include'<br>make[4]: *** No rule to make target 'netcdf.h', needed by 'all-am'. Stop.<br>make[4]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/<wbr>netcdf/netcdf-y4.1.3/include'<br>Makefile:551: recipe for target 'all-recursive' failed<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/<wbr>netcdf/netcdf-y4.1.3'<br>Makefile:422: recipe for target 'all' failed<br>make[2]: *** [all] Error 2<br>make[2]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/<wbr>netcdf/netcdf-y4.1.3'<br>make[2]: Entering directory '/root/pwscf/yambo-3.4.2/lib/<wbr>netcdf/netcdf-y4.1.3'<br>Making install in include<br>make[3]: Entering directory '/root/pwscf/yambo-3.4.2/lib/<wbr>netcdf/netcdf-y4.1.3/include'<br>make[3]: *** No rule to make target 'netcdf.h', needed by 'all-am'. Stop.<br>make[3]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/<wbr>netcdf/netcdf-y4.1.3/include'<br>Makefile:551: recipe for target 'install-recursive' failed<br>make[2]: *** [install-recursive] Error 1<br>make[2]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/<wbr>netcdf/netcdf-y4.1.3'<br>Makefile:51: recipe for target 'package-ready-stamp' failed<br>make[1]: *** [package-ready-stamp] Error 2<span class=""><br>make[1]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/<wbr>netcdf'<br>Makefile:85: recipe for target 'libs' failed<br>make: *** [libs] Error 2<br><br><br></span></div>I think it is related to netcdf. how can I fix it?<br></div>M. Pashangpour, IAU, Tehran, Iran.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 10, 2016 at 2:30 PM, Federico Iori <span dir="ltr"><<a href="mailto:federico.iori@u-psud.fr" target="_blank">federico.iori@u-psud.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div>Hi.<br></div><div><br></div><div>Try to have a look as well at the Yambo Forum<br></div><div><a href="http://www.yambo-code.org/forum/" target="_blank">http://www.yambo-code.org/foru<wbr>m/</a></div><div><br></div><div>HTH.<br></div><div>Federico<br></div><div><br></div><div><br></div><div><br></div><div><span name="x"></span><table class="m_2050735800441417008m_7810578490331894641mceItemTable"><tbody><tr><td><img alt="Université Paris-Sud"></td><td valign="top"><div><span style="font-size:10pt"><b>Federico IORI</b></span></div><div><span style="font-size:10pt">Marie Curie Fellow<br>Laboratoire de Physique des Solides<br>Bâtiment 510 - Rue André Rivière<br>91400 Orsay</span></div></td></tr></tbody></table><div><br></div><span name="x"></span><br></div><hr id="m_2050735800441417008m_7810578490331894641zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>De: </b>"Mansoureh Pashangpour" <<a href="mailto:mansourehp@gmail.com" target="_blank">mansourehp@gmail.com</a>><br><b>Para: </b>"PWSCF Forum" <<a href="mailto:pw_forum@pwscf.org" target="_blank">pw_forum@pwscf.org</a>><br><b>Enviados: </b>Lunes, 10 de Octubre 2016 12:49:04<br><b>Asunto: </b>[Pw_forum] yambo installation<div><div class="m_2050735800441417008h5"><br><div><br></div><div dir="ltr">Dear all,<br><div><br></div>I'm trying to install yambo code (yambo-3.4.2). I need these compilers:<br>libxc-y2.0.3.tar.gz<br>iotk-y1.2.1.tar.gz<br>netcdf-y4.1.3_v2.tar.gz<br>etsf_io-1.0.4.tar.gz<br><div><br></div>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:<br><div><br></div>./configure --enable-debug --without-mpi FC=gfortran FCFLAGS='-O0 -g -fbounds-check' CFLAGS='-O0 -g -Dextcus -Dextfus' CC=gcc --with-blacs=no<br><div><br></div>I have found this error:<br><div><br></div>configure: error: in `/root/pwscf/yambo-3.4.2/lib/n<wbr>etcdf/netcdf-y4.1.3':<br>configure: error: C++ preprocessor "/lib/cpp" fails sanity check<br>See `config.log' for more details<br>Makefile:35: recipe for target 'configure-stamp' failed<br>make[1]: *** [configure-stamp] Error 1<br>make[1]: Leaving directory '/root/pwscf/yambo-3.4.2/lib/n<wbr>etcdf'<br>Makefile:85: recipe for target 'libs' failed<br>make: *** [libs] Error 2<br><div><br></div>How can I solve it?<br><div><br></div>I would really appreciate any help.<br><div><br></div>Thanks in advance.<br><div><br></div>Mansoureh Pashangpour<br>IAU, Tehran, Iran.<br><div><br></div></div><br></div></div>______________________________<wbr>_________________<br>Pw_forum mailing list<br><a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br><a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listi<wbr>nfo/pw_forum</a></div><div><br></div></div></div><br>______________________________<wbr>_________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/listi<wbr>nfo/pw_forum</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>