installing yambo

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? Problems in GPU architectures? This is the place to look.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani

Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
Post Reply
abdelkrim
Posts: 2
Joined: Sun Oct 16, 2016 3:58 pm

installing yambo

Post by abdelkrim » Wed Oct 19, 2016 7:32 pm

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?
Abdelkrim Oukerroum
PhD researcher
Laboratoire de physique de la matière condensée et énergies renouvelables
Faculté des sciences et techniques de Mohammedia
Mohammedia
Morocco

User avatar
Daniele Varsano
Posts: 4198
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: installing yambo

Post by Daniele Varsano » Wed Oct 19, 2016 7:43 pm

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
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

abdelkrim
Posts: 2
Joined: Sun Oct 16, 2016 3:58 pm

Re: installing yambo

Post by abdelkrim » Sat Oct 22, 2016 6:07 pm

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
You do not have the required permissions to view the files attached to this post.
Abdelkrim Oukerroum
PhD researcher
Laboratoire de physique de la matière condensée et énergies renouvelables
Faculté des sciences et techniques de Mohammedia
Mohammedia
Morocco

andrea.ferretti
Posts: 214
Joined: Fri Jan 31, 2014 11:13 am

Re: installing yambo

Post by andrea.ferretti » Sun Oct 23, 2016 1:58 pm

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
Andrea Ferretti, PhD
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it

Post Reply