-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ykim/frontier/recovery' (PR #7050)
The --core-spec argument has been restored to its state before the February 18, 2025, Frontier update. Some Depends files for the GNU compiler on Frontier have been created. [BFB] No baseline for Frontier yet Fixes #7046 Fixes #7037
- Loading branch information
Showing
4 changed files
with
83 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
list(APPEND MPAS_ICE_SHORTWAVE | ||
${CMAKE_BINARY_DIR}/core_seaice/column/ice_shortwave.f90 | ||
) | ||
|
||
# For optimized GNU builds that use v9 or higher, remove an optimization on one file | ||
if (NOT DEBUG) | ||
if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 9) | ||
foreach(ITEM IN LISTS MPAS_ICE_SHORTWAVE) | ||
e3sm_add_flags("${ITEM}" "-fno-tree-pta") # avoids an error that shows up in solver with gnu9 and higher | ||
endforeach() | ||
endif() | ||
endif() | ||
|
||
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() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
list(APPEND MPAS_ICE_SHORTWAVE | ||
${CMAKE_BINARY_DIR}/core_seaice/column/ice_shortwave.f90 | ||
) | ||
|
||
# For optimized GNU builds that use v9 or higher, remove an optimization on one file | ||
if (NOT DEBUG) | ||
if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 9) | ||
foreach(ITEM IN LISTS MPAS_ICE_SHORTWAVE) | ||
e3sm_add_flags("${ITEM}" "-fno-tree-pta") # avoids an error that shows up in solver with gnu9 and higher | ||
endforeach() | ||
endif() | ||
endif() | ||
|
||
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() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
e3sm_add_flags("eam/src/dynamics/fv/geopk.F90" "-fcray-pointer") | ||
|
||
list(APPEND MPAS_ICE_SHORTWAVE | ||
${CMAKE_BINARY_DIR}/core_seaice/column/ice_shortwave.f90 | ||
) | ||
|
||
# For optimized GNU builds that use v9 or higher, remove an optimization on one file | ||
if (NOT DEBUG) | ||
if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 9) | ||
foreach(ITEM IN LISTS MPAS_ICE_SHORTWAVE) | ||
e3sm_add_flags("${ITEM}" "-fno-tree-pta") # avoids an error that shows up in solver with gnu9 and higher | ||
endforeach() | ||
endif() | ||
endif() | ||
|
||
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters