Page 1 of 1

Compiling error of 5.0.0

Posted: Thu Feb 04, 2021 4:37 am
by sdwang
Dear all,
I have just compiled the v-5.0.0 and an error appeared as (it is the error of ypp step ):

>>>[Making electrons]<<<
Warning #2216: '=' assumed following macro name "_lib_ypp_electrons" in command-line definition

make[2]: Entering “/public/software/yambo-5.0.0/ypp/electrons”
cd /public/software/yambo-5.0.0/ypp/electrons; /public/software/yambo-5.0.0/sbin/moduledep.sh electrons_driver.o electrons_spin_factors.o electrons_pdos_factors.o electrons_magn_factors.o electrons_dos.o electrons_dos_elemental.o electrons_dos_setup.o electrons_density.o electrons_bands.o electrons_WFs.o electrons_current.o electrons_magnetization.o electrons_bands_interpolate.o electrons_spin_and_magn_interpolate.o > /public/software/yambo-5.0.0/ypp/electrons/make.dep
make[2]: Leaving “/public/software/yambo-5.0.0/ypp/electrons”
make[2]: Entering “/public/software/yambo-5.0.0/ypp/electrons”
electrons_driver.F electrons_spin_factors.F electrons_pdos_factors.F electrons_magn_factors.F electrons_dos.f90(215): error #8527: If a bound remapping list is specified, data target must be simply contiguous or of rank one. [PDOS_FAC_P]
PDOS_fac_p(LB(1):UB(1),LB(2):UB(2),LB(3):UB(3)) => PDOS_fac_p
--------------------------------------------------------^
electrons_dos.f90(223): error #8527: If a bound remapping list is specified, data target must be simply contiguous or of rank one. [SPIN_FAC_P]
SPIN_fac_p(LB(1):UB(1),LB(2):UB(2),LB(3):UB(3)) => SPIN_fac_p
--------------------------------------------------------^
compilation aborted for electrons_dos.f90 (code 1)
make[2]: *** [electrons_dos.o] error 1
make[2]: Leaving “/public/software/yambo-5.0.0/ypp/electrons”
make[1]: *** [ypp] error 2
make[1]: Leaving “/public/software/yambo-5.0.0”
ypp build failed


I have used the same options for yambo-master before, it works smoothly. And in attached is the logfile.
config.log
Thanks!

Shudong

Re: Compiling error of 5.0.0

Posted: Thu Feb 04, 2021 11:18 am
by andrea.ferretti
Hi Shudong,

I've tried to reproduce the problem but with
ifort version 19.1.0.166
the compilation works fine with me.
I see you are using ifort 15.x, perhaps it is just enough to update the intel compiler.

take care
Andrea

Re: Compiling error of 5.0.0

Posted: Thu Feb 04, 2021 5:01 pm
by sdwang
Hi Andrea,
Thanks for your suggestion! I updated the ifort to v-19, and it works now.

Ciao

Shudong