ERROR in Yambo installation

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
N.kHOSSOSSI
Posts: 1
Joined: Wed Apr 11, 2018 12:02 pm

ERROR in Yambo installation

Post by N.kHOSSOSSI » Fri May 25, 2018 6:55 am

Dear Users,

I am trying to install YAMBO. while installation with ifort I have encountered this error :roll: :( :

compilation aborted for mod_pars.f90 (code 1)
Makefile:151: recipe for target 'mod_pars.o' failed
make[2]: *** [mod_pars.o] Error 1
make[2]: Leaving directory '/home/khossossi/Desktop/yambo/src/modules'
Makefile:155: recipe for target 'ypp_ph' failed
make[1]: *** [ypp_ph] Error 2
make[1]: Leaving directory '/home/khossossi/Desktop/yambo'
Makefile:89: recipe for target 'all' failed
make: *** [all] Error 2

Your Kind help is appreciated.

Regards
​Nabil KHOSSOSSI
​​Ph.D. Student​, Physical ​Science and ​​Application​​​​
​​​Laboratoire de Physique des Matériaux et Modélisation des Systèmes, (LP2MS)​​.
Faculty of Sciences,
Moulay Ismail University,
​Meknes, Morocco​.​​
Tele: +212 6 71782633
You do not have the required permissions to view the files attached to this post.

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

Re: ERROR in Yambo installation

Post by Daniele Varsano » Fri May 25, 2018 8:29 am

Dear Nabil,
I can see a mismatch between indicated compilers (gfortran) and compilers library (intel) and this can cause problems.
Try to configure using consistent compilers e.g.

./configure FC=ifort F77=ifort CC=icc CPP='gcc -E' ...

Next, I can't see parallel wrappers in your config.log. Maybe you want to add also PFC=mpiifort, but check the name of your wrapper related to the intel compiler.
Before doing that do

Code: Select all

make clean_all
From your error message, you have problems in compiling ypp_ph, do you need the electron-phonon part of the code?
If not, you can just type:

Code: Select all

make yambo interfaces ypp
instead of

Code: Select all

make all
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/

Post Reply