FlameInABox compilation error in PROJECTION_2D.F90 with Intel compiler v19.0.3.199
bcfriesen opened this issue · 3 comments
bcfriesen commented
The FlameInABox problem encounters a compilation error when using the Intel v19.0.3.199 compiler:
../../../IAMR/Source/Src_2d/PROJECTION_2D.F90(268): error #6415: This name cannot be assigned this data type because it conflicts with prior uses of the name. [ANEL_LO]
integer mult,anel_lo,anel_hi
----------------------^
../../../IAMR/Source/Src_2d/PROJECTION_2D.F90(268): error #6415: This name cannot be assigned this data type because it conflicts with prior uses of the name. [ANEL_HI]
integer mult,anel_lo,anel_hi
------------------------------^
To reproduce on Cori, use these commits:
amrex: ab0d7a90a
PelePhysics: 2f533e5
IAMR: f1935d5
PeleLM: d62b4f6
And execute the following:
module load cdt/19.03
module swap intel{,/19.0.3.199}
make DEBUG=FALSE USE_ACC=FALSE USE_MPI=TRUE USE_OMP=TRUE DIM=2 COMP=intel TEST=TRUE USE_ASSERTION=TRUE
drummerdoc commented
I can't find that PeleLM branch. Are you pulling from gitlab at ORNL still?
Ha! Nevermind...my cori account was pointed at ORNL
drummerdoc commented
Had to flip the order of a couple of declarations to satisfy intel compiler. Hopefully this fixes the issue for you.
bcfriesen commented
Yes, fixed in IAMR commit 3726ea1e4c (sorry should have posted this there, not here in PeleLM). Thanks!