Goddard-Fortran-Ecosystem / gFTL

Software containers for Fortran
Apache License 2.0
40 stars 10 forks source link

Need workaround for intel compiler #204

Closed tclune closed 11 months ago

tclune commented 11 months ago

Recent development work is breaking with Intel 2021.10.0 in some obscure map scenario. Troubleshooting shows that it is related to the generic ASSIGNMENT(=) rather than relying on the compiler to do a deep copy.

A fix would be to add a CPP switch that disables the redefinition of assignment. For backward compatibility, "enabled" must remain the default. (Even though it is itself a workaround for possibly obsolete use cases/compiler versions.)