installing error on yambo 5.0

You can find here problems arising when using old releases of Yambo (< 5.0). Issues as parallelization strategy, performance issues and other technical aspects.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan

Locked
mjakhar7665
Posts: 7
Joined: Tue Jan 19, 2021 11:12 am

installing error on yambo 5.0

Post by mjakhar7665 » Fri Feb 19, 2021 7:57 am

./configure is successful
but make all command shows
atrix_operate.F mod_D_lattice.f90:201:16:

allocate(sop_inv_d, source=sop_inv, &
1
Error: Array specification required in ALLOCATE statement at (1)
Makefile:176: recipe for target 'mod_D_lattice.o' failed
make[2]: *** [mod_D_lattice.o] Error 1
make[2]: Leaving directory '/home/ashok/yambo-master/src/modules'
config/mk/actions/compile_yambo.mk:2: recipe for target 'yambo' failed
make[1]: *** [yambo] Error 2
make[1]: Leaving directory '/home/ashok/yambo-master'
yambo build failed
You do not have the required permissions to view the files attached to this post.
Mukesh Jakhar
Central University of Punjab
Bathinda India

andrea.ferretti
Posts: 214
Joined: Fri Jan 31, 2014 11:13 am

Re: installing error on yambo 5.0

Post by andrea.ferretti » Fri Feb 19, 2021 11:13 am

Dear Mukesh,

this error typically shows up when the compiler you are using does not support allocations using "source", which is a feature of Fortran 2003 further updated with F2008.
Basically, you may need to update your fortran compiler to some newer versions (gfortran >= 7 works, as well as recent intel compilers).

Andrea
Andrea Ferretti, PhD
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it

Locked