Skip to content

Commit

Permalink
Gaea C6 additions
Browse files Browse the repository at this point in the history
  • Loading branch information
RatkoVasic-NOAA committed Nov 25, 2024
1 parent 8942489 commit 7b17f0f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions cmake/configure_gaeac6.intel.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
set(MOM6_Extra_FORTRAN_FLAGS "-xsse2")
set(HYCOM_Extra_FORTRAN_FLAGS "-xSSE4.2")
set(HYCOM_Extra_C_FLAGS "-xSSE4.2")
2 changes: 2 additions & 0 deletions cmake/configure_gaeac6.intelllvm.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
set(AVX2 OFF CACHE BOOL "Enable AVX2 instruction set" FORCE)
2 changes: 1 addition & 1 deletion tests/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ elif [[ ${MACHINE_ID} = gaeac6 ]]; then
if ( ! eval module help > /dev/null 2>&1 ) ; then
source /opt/cray/pe/lmod/lmod/init/bash
fi
module purge
module reset

elif [[ ${MACHINE_ID} = expanse ]]; then
# We are on SDSC Expanse
Expand Down
7 changes: 6 additions & 1 deletion tests/rt_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,15 @@ rocoto_create_compile_task() {
<queue>${COMPILE_QUEUE}</queue>
EOF

if [[ "${MACHINE_ID}" == gaeac5 || "${MACHINE_ID}" == gaeac6 ]] ; then
if [[ "${MACHINE_ID}" == gaeac5 ]] ; then
cat << EOF >> "${ROCOTO_XML}"
<native>--clusters=es</native>
<partition>eslogin_c5</partition>
EOF
elif [[ "${MACHINE_ID}" == gaeac6 ]] ; then
cat << EOF >> "${ROCOTO_XML}"
<native>--clusters=es</native>
<partition>eslogin_c6</partition>
EOF
elif [[ -n "${PARTITION}" || ${MACHINE_ID} != hera ]] ; then
cat << EOF >> "${ROCOTO_XML}"
Expand Down

0 comments on commit 7b17f0f

Please sign in to comment.