File tree 4 files changed +83
-1
lines changed
4 files changed +83
-1
lines changed Original file line number Diff line number Diff line change
1
+ list (APPEND MPAS_ICE_SHORTWAVE
2
+ ${CMAKE_BINARY_DIR} /core_seaice/column/ice_shortwave.f90
3
+ )
4
+
5
+ # For optimized GNU builds that use v9 or higher, remove an optimization on one file
6
+ if (NOT DEBUG)
7
+ if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 9)
8
+ foreach (ITEM IN LISTS MPAS_ICE_SHORTWAVE)
9
+ e3sm_add_flags("${ITEM} " "-fno-tree-pta" ) # avoids an error that shows up in solver with gnu9 and higher
10
+ endforeach ()
11
+ endif ()
12
+ endif ()
13
+
14
+ list (APPEND NO_INLINE_ARG_PACKING_LIST
15
+ eam/src/dynamics/se/inidat.F90
16
+ )
17
+
18
+ if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 10)
19
+ if (NOT DEBUG)
20
+ # new in gnu10, inline arg packing was causing INF values with SMS_P4x1.ne4pg2_ne4pg2.F-MMFXX
21
+ foreach (ITEM IN LISTS NO_INLINE_ARG_PACKING_LIST)
22
+ e3sm_add_flags("${ITEM} " " -fno-inline-arg-packing" )
23
+ endforeach ()
24
+ endif ()
25
+ endif ()
26
+
Original file line number Diff line number Diff line change
1
+ list (APPEND MPAS_ICE_SHORTWAVE
2
+ ${CMAKE_BINARY_DIR} /core_seaice/column/ice_shortwave.f90
3
+ )
4
+
5
+ # For optimized GNU builds that use v9 or higher, remove an optimization on one file
6
+ if (NOT DEBUG)
7
+ if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 9)
8
+ foreach (ITEM IN LISTS MPAS_ICE_SHORTWAVE)
9
+ e3sm_add_flags("${ITEM} " "-fno-tree-pta" ) # avoids an error that shows up in solver with gnu9 and higher
10
+ endforeach ()
11
+ endif ()
12
+ endif ()
13
+
14
+ list (APPEND NO_INLINE_ARG_PACKING_LIST
15
+ eam/src/dynamics/se/inidat.F90
16
+ )
17
+
18
+ if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 10)
19
+ if (NOT DEBUG)
20
+ # new in gnu10, inline arg packing was causing INF values with SMS_P4x1.ne4pg2_ne4pg2.F-MMFXX
21
+ foreach (ITEM IN LISTS NO_INLINE_ARG_PACKING_LIST)
22
+ e3sm_add_flags("${ITEM} " " -fno-inline-arg-packing" )
23
+ endforeach ()
24
+ endif ()
25
+ endif ()
26
+
Original file line number Diff line number Diff line change
1
+ e3sm_add_flags("eam/src/dynamics/fv/geopk.F90" "-fcray-pointer" )
2
+
3
+ list (APPEND MPAS_ICE_SHORTWAVE
4
+ ${CMAKE_BINARY_DIR} /core_seaice/column/ice_shortwave.f90
5
+ )
6
+
7
+ # For optimized GNU builds that use v9 or higher, remove an optimization on one file
8
+ if (NOT DEBUG)
9
+ if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 9)
10
+ foreach (ITEM IN LISTS MPAS_ICE_SHORTWAVE)
11
+ e3sm_add_flags("${ITEM} " "-fno-tree-pta" ) # avoids an error that shows up in solver with gnu9 and higher
12
+ endforeach ()
13
+ endif ()
14
+ endif ()
15
+
16
+ list (APPEND NO_INLINE_ARG_PACKING_LIST
17
+ eam/src/dynamics/se/inidat.F90
18
+ )
19
+
20
+ if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 10)
21
+ if (NOT DEBUG)
22
+ # new in gnu10, inline arg packing was causing INF values with SMS_P4x1.ne4pg2_ne4pg2.F-MMFXX
23
+ foreach (ITEM IN LISTS NO_INLINE_ARG_PACKING_LIST)
24
+ e3sm_add_flags("${ITEM} " " -fno-inline-arg-packing" )
25
+ endforeach ()
26
+ endif ()
27
+ endif ()
Original file line number Diff line number Diff line change 755
755
</batch_system >
756
756
757
757
<batch_system MACH =" frontier" type =" slurm" >
758
- <batch_submit >/lustre/orion/cli115/world-shared/e3sm/tools/sbatch/throttle</batch_submit >
758
+ <batch_submit >sbatch</batch_submit >
759
+ <directives >
760
+ <directive > --core-spec=$SHELL{tpn=`./xmlquery --value MAX_TASKS_PER_NODE`; if [[ $tpn > 56 ]]; then echo "64-$tpn"|bc; else echo 8; fi; }</directive >
761
+ </directives >
759
762
<queues >
760
763
<queue strict =" true" nodemin =" 1" nodemax =" 91" walltimemax =" 2:00:00" default =" true" >batch</queue >
761
764
<queue strict =" true" nodemin =" 92" nodemax =" 183" walltimemax =" 6:00:00" >batch</queue >
You can’t perform that action at this time.
0 commit comments