I've been trying to build Yambo with the new LLVM's flang. Apart from issues caused by multiline YAMBO_ALLOC macro (see issue #152), I've also encountered one more issue in two files, src/bse/K_multiply_by_V.F and src/bse/K_multiply_by_V_transpose.F:
flang/lib/Lower/Bridge.cpp:4885: not yet implemented: assignment to a whole allocatable inside FORALL
in both cases, the affected code was this:
forall(i_g=1:BS_nT_grps,PAR_IND_T_Haydock%element_1D(i_g)) Vo(i_g)%fragment = cZERO
Note that expecting compiler-side fix may be problematic, as FORALL was marked as an obsolescent feature, see https://flang.llvm.org/docs/FortranFeatureHistory.html#fortran-2018
I've been trying to build Yambo with the new LLVM's flang. Apart from issues caused by multiline
YAMBO_ALLOCmacro (see issue #152), I've also encountered one more issue in two files,src/bse/K_multiply_by_V.Fandsrc/bse/K_multiply_by_V_transpose.F:in both cases, the affected code was this:
Note that expecting compiler-side fix may be problematic, as
FORALLwas marked as an obsolescent feature, see https://flang.llvm.org/docs/FortranFeatureHistory.html#fortran-2018