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
aalbrak
Posts: 10
Joined: Mon Apr 03, 2017 7:41 am

Re: Installing yambo

Post by aalbrak » Wed Apr 05, 2017 5:58 pm

Dear Daniele,

Thank you very much, I learn somethings by your help.

Dear Davide,

The result of "mpif90 -show" is

OVPMN25PT:yambo-4.1.2 Abdullah$ mpif90 -show
ifort -I/usr/local/include -I/usr/local/include -L/usr/local/lib -lmpichf90 -lpmpich -lmpich -lopa -lmpl -lpthread

Thank you in advance

Aalbrak
Umm Al-Qura University
Saudi Arabia

User avatar
Davide Sangalli
Posts: 622
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: Installing yambo

Post by Davide Sangalli » Wed Apr 05, 2017 6:02 pm

So error was probably due to the fact that yambo was compiled with the mpif90 compile, i.e. the intel compiler, while the libraries with the gfortran compiler.
You should specify F90=ifort

Best,
D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

aalbrak
Posts: 10
Joined: Mon Apr 03, 2017 7:41 am

Re: Installing yambo

Post by aalbrak » Wed Apr 05, 2017 6:42 pm

Dear Davide,

I did the following

OVPMN25PT:yambo-4.1.2 Abdullah$ make distclean
make: *** No rule to make target `distclean'. Stop.
OVPMN25PT:yambo-4.1.2 Abdullah$ ./configure F90=ifort
and then
OVPMN25PT:yambo-4.1.2 Abdullah$ make yambo interfaces ypp

The results are in attached two files (the screen copy and config.log). I name it try14

Best wishes
Aalbrak
You do not have the required permissions to view the files attached to this post.

User avatar
Davide Sangalli
Posts: 622
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: Installing yambo

Post by Davide Sangalli » Thu Apr 06, 2017 11:49 am

In yambo the command is "make clean_all", not make distclean

D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

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

Re: Installing yambo

Post by Daniele Varsano » Thu Apr 06, 2017 1:55 pm

Yes,
it was my fault in advising with make distclean.
Sorry for that,

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/

aalbrak
Posts: 10
Joined: Mon Apr 03, 2017 7:41 am

Re: Installing yambo

Post by aalbrak » Thu Apr 06, 2017 1:58 pm

Dear Davide,

I did what you recomended, and the result is attached (two files)

Thank you for your effort,
You do not have the required permissions to view the files attached to this post.

aalbrak
Posts: 10
Joined: Mon Apr 03, 2017 7:41 am

Re: Installing yambo

Post by aalbrak » Thu Apr 06, 2017 2:02 pm

Dear Daniele

No problem,

Thank you for your effort, and Best wishes,

Aalbrak

User avatar
Davide Sangalli
Posts: 622
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: Installing yambo

Post by Davide Sangalli » Thu Apr 06, 2017 2:07 pm

Sorry,
it should have been FC=ifort

Best,
D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

aalbrak
Posts: 10
Joined: Mon Apr 03, 2017 7:41 am

Re: Installing yambo

Post by aalbrak » Thu Apr 06, 2017 3:00 pm

still there are problems see below and attached files:

The last three lines:
ld: symbol(s) not found for architecture x86_64
make[1]: *** [yambo] Error 1
make: *** [yambo] Error 2

see also screen copy and config.log

Best wishes,
You do not have the required permissions to view the files attached to this post.

Post Reply