GEOS-ESM / ESMA_cmake

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

Suppress some useless warnings at all times with Intel Debug #323

Closed mathomp4 closed 1 year ago

mathomp4 commented 1 year ago

The "global name warning":

/discover/nobackup/mathomp4/SystemTests/builds/AGCM/CURRENT/GEOSgcm/src/Components/@GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/@GEOSchem_GridComp/Shared/HEMCO/@HEMCO/src/Core/hcoio_read_esmf_mod.F90: warning #5462: Global name too long, shortened from: hcoio_read_esmf_mod_mp_hcoio_read_esmf_$blk.pfio_netcdf4_fileformattermod_mp_mpi_statuses_ignore_ to: coio_read_esmf_mod_mp_hcoio_read_esmf_$blk.pfio_netcdf4_fileformattermod_mp_mpi_statuses_ignore_
# 1 "/discover/nobackup/mathomp4/SystemTests/builds/AGCM/CURRENT/GEOSgcm/src/Components/@GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/@GEOSchem_GridComp/Shared/HEMCO/@HEMCO/src/Core/hcoio_read_esmf_mod.F90"

and the "10337" warning:

ifort: warning #10337: option '-fno-builtin' disables '-imf*' option

are pretty much never useful. So let's suppress them at all times when building Intel Debug. Users can't really do anything about them, so why annoy the user.