-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels