GEOS-ESM / ESMA_cmake

Custom CMake macros for the GEOS Earth System Model
Apache License 2.0
4 stars 9 forks source link

Current GNU Release Flags fail at NAS TOSS4 #317

Closed mathomp4 closed 9 months ago

mathomp4 commented 1 year ago

Testing at NAS after the TOSS4 update shows that running with GNU fails with the current Release flags. The error is:

#2  0x177d0e0 in get_zu_zd_pdf
        at /nobackup/mathomp4/Models/GEOSgcm-BuiltOnBroad-MPT2.28-GCC12.3/GEOSgcm/src/Components/@GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/ConvPar_GF_GEOS5.F90:7208
#3  0x17b35ea in cup_gf
        at /nobackup/mathomp4/Models/GEOSgcm-BuiltOnBroad-MPT2.28-GCC12.3/GEOSgcm/src/Components/@GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/ConvPar_GF_GEOS5.F90:2561
#4  0x1805673 in gf_geos5_drv
        at /nobackup/mathomp4/Models/GEOSgcm-BuiltOnBroad-MPT2.28-GCC12.3/GEOSgcm/src/Components/@GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/ConvPar_GF_GEOS5.F90:1302
#5  0x181bcdb in __convpar_gf_geos5_MOD_gf_geos5_interface
        at /nobackup/mathomp4/Models/GEOSgcm-BuiltOnBroad-MPT2.28-GCC12.3/GEOSgcm/src/Components/@GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/ConvPar_GF_GEOS5.F90:532

Now, these flags worked fine on TOSS3 and work fine at NAS and on laptops.

Moreover, testing shows that both GNU Debug and GNU Aggressive work on TOSS4. So something in the GNU Release flags seem to be causing this.