Page 2 of 2

Re: Installing yambo

Posted: Wed Apr 05, 2017 5:58 pm
by aalbrak
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

Re: Installing yambo

Posted: Wed Apr 05, 2017 6:02 pm
by Davide Sangalli
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.

Re: Installing yambo

Posted: Wed Apr 05, 2017 6:42 pm
by aalbrak
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

Re: Installing yambo

Posted: Thu Apr 06, 2017 11:49 am
by Davide Sangalli
In yambo the command is "make clean_all", not make distclean

D.

Re: Installing yambo

Posted: Thu Apr 06, 2017 1:55 pm
by Daniele Varsano
Yes,
it was my fault in advising with make distclean.
Sorry for that,

Daniele

Re: Installing yambo

Posted: Thu Apr 06, 2017 1:58 pm
by aalbrak
Dear Davide,

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

Thank you for your effort,

Re: Installing yambo

Posted: Thu Apr 06, 2017 2:02 pm
by aalbrak
Dear Daniele

No problem,

Thank you for your effort, and Best wishes,

Aalbrak

Re: Installing yambo

Posted: Thu Apr 06, 2017 2:07 pm
by Davide Sangalli
Sorry,
it should have been FC=ifort

Best,
D.

Re: Installing yambo

Posted: Thu Apr 06, 2017 3:00 pm
by aalbrak
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,