Page 1 of 1

installing error on yambo 5.0

Posted: Fri Feb 19, 2021 7:57 am
by mjakhar7665
./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

Re: installing error on yambo 5.0

Posted: Fri Feb 19, 2021 11:13 am
by andrea.ferretti
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