Revision 59b6a738ea01e4d9f10d4b9def69f2fd39e68f21 authored by Dalei Hao on 02 August 2023, 14:45:53 UTC, committed by Dalei Hao on 02 August 2023, 14:45:53 UTC
1 parent a24e542
Raw File
Depends.perlmutter.gnu.cmake
list(APPEND NO_INLINE_ARG_PACKING_LIST
  eam/src/dynamics/se/inidat.F90
)

if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 10)

  if (NOT DEBUG)
    # new in gnu10, inline arg packing was causing INF values with SMS_P4x1.ne4pg2_ne4pg2.F-MMFXX
    foreach(ITEM IN LISTS NO_INLINE_ARG_PACKING_LIST)
      e3sm_add_flags("${ITEM}" " -fno-inline-arg-packing")
    endforeach()
  endif()

endif()
back to top