Page 1 of 1

ERROR in Yambo installation

Posted: Fri May 25, 2018 6:55 am
by N.kHOSSOSSI
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

Re: ERROR in Yambo installation

Posted: Fri May 25, 2018 8:29 am
by Daniele Varsano
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