Page 1 of 1

installing yambo

Posted: Wed Oct 19, 2016 7:32 pm
by abdelkrim
Hi everyone,
I have download the latest yambo and follow the instructions for installation. but when i tape "./bin/yambo" it give me an error that the file or repository no existing.
what can i do for this problem?

Re: installing yambo

Posted: Wed Oct 19, 2016 7:43 pm
by Daniele Varsano
Dear Abdlekrim,

first, please add your full name and signature as it is a rule of the forum.

Coming to your question:
it looks you are running yambo not in the directory where there is your SAVE directory, or you did not generate it.
Before running I invite you to read the documentation, here and here you can find a short guide.
Next I suggest you to familiarize with some tutorials present in the webpage.

Best,

Daniele

Re: installing yambo

Posted: Sat Oct 22, 2016 6:07 pm
by abdelkrim
thanks for answering me. here I post the error:

configure: error: in `/home/abdelkrim/Bureau/yambo/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
make[1]: *** [configure-stamp] Erreur 1
make[1]: quittant le répertoire « /home/abdelkrim/Bureau/yambo/yambo-3.4.2/lib/netcdf »
make: *** [libs] Erreur 2

how I can fix it?
Best,

Abdelkrim

Abdelkrim OUKERROUM
Researcher
Laboratoire de physique de la matière condensée et énergies renouvelables
Faculty of sciences and techniques of Mohammedia
University Hassan II Mohammedia-Casablanca
Morocco

Re: installing yambo

Posted: Sun Oct 23, 2016 1:58 pm
by andrea.ferretti
Dear Abdelkrim,

the message you get suggests a problem with the c precompiler.
I would try to use gcc instead, issuing e.g.

Code: Select all

./configure CPP="gcc -E" CPPFLAGS="-P"  [...]
take care
Andrea