-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* UFSWM - Gaea C6 Support --------- Co-authored-by: JONG KIM <[email protected]> Co-authored-by: Ratko Vasic <[email protected]>
- Loading branch information
1 parent
6ec6b45
commit e119370
Showing
47 changed files
with
1,372 additions
and
785 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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,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") |
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,2 @@ | ||
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE) | ||
set(AVX2 OFF CACHE BOOL "Enable AVX2 instruction set" FORCE) |
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
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
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,33 @@ | ||
help([[ | ||
This module loads libraries required for building and running UFS Weather Model | ||
on the NOAA RDHPC machine Gaea C6 using Intel-2023.2.0. | ||
]]) | ||
|
||
whatis([===[Loads libraries needed for building the UFS Weather Model on Gaea C6]===]) | ||
|
||
prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/c6/spack-stack-1.6.0/envs/fms-2024.01/install/modulefiles/Core") | ||
|
||
stack_intel_ver=os.getenv("stack_intel_ver") or "2023.2.0" | ||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
|
||
stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.29" | ||
load(pathJoin("stack-cray-mpich", stack_cray_mpich_ver)) | ||
|
||
stack_python_ver=os.getenv("stack_python_ver") or "3.10.13" | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
cmake_ver=os.getenv("cmake_ver") or "3.23.1" | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load("ufs_common") | ||
|
||
nccmp_ver=os.getenv("nccmp_ver") or "1.9.0.1" | ||
load(pathJoin("nccmp", nccmp_ver)) | ||
|
||
unload("darshan-runtime") | ||
unload("cray-libsci") | ||
|
||
setenv("CC","cc") | ||
setenv("CXX","CC") | ||
setenv("FC","ftn") | ||
setenv("CMAKE_Platform","gaeac6.intel") |
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,40 @@ | ||
help([[ | ||
This module loads libraries required for building and running UFS Weather Model | ||
on the NOAA RDHPC machine Gaea C6 using Intel-2023.2.0. | ||
]]) | ||
|
||
whatis([===[Loads libraries needed for building the UFS Weather Model on Gaea C6]===]) | ||
|
||
prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/c6/spack-stack-1.6.0/envs/fms-2024.01/install/modulefiles/Core") | ||
|
||
stack_intel_ver=os.getenv("stack_intel_ver") or "2023.2.0" | ||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
|
||
stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.29" | ||
load(pathJoin("stack-cray-mpich", stack_cray_mpich_ver)) | ||
|
||
stack_python_ver=os.getenv("stack_python_ver") or "3.10.13" | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
cmake_ver=os.getenv("cmake_ver") or "3.23.1" | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load("ufs_common") | ||
|
||
nccmp_ver=os.getenv("nccmp_ver") or "1.9.0.1" | ||
load(pathJoin("nccmp", nccmp_ver)) | ||
|
||
unload("darshan-runtime") | ||
unload("cray-libsci") | ||
|
||
unload("intel-classic/2023.2.0") | ||
load("intel-oneapi/2023.2.0") | ||
|
||
setenv("I_MPI_CC", "icx") | ||
setenv("I_MPI_CXX", "icpx") | ||
setenv("I_MPI_F90", "ifx") | ||
|
||
setenv("CC","cc") | ||
setenv("CXX","CC") | ||
setenv("FC","ftn") | ||
setenv("CMAKE_Platform","gaeac6.intelllvm") |
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
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
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
File renamed without changes.
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,22 @@ | ||
#!/bin/bash -l | ||
#SBATCH -e err | ||
#SBATCH -o out | ||
#SBATCH --account=@[ACCNR] | ||
##SBATCH --qos=@[QUEUE] | ||
#SBATCH --clusters=es | ||
#SBATCH --partition=eslogin_c6 | ||
#SBATCH --nodes=1 | ||
#SBATCH --ntasks-per-node=8 | ||
#SBATCH --mem-per-cpu=4G | ||
#SBATCH --time=180 | ||
#SBATCH --job-name="@[JBNME]" | ||
|
||
set -eux | ||
|
||
echo -n " $( date +%s )," > job_timestamp.txt | ||
echo "Compile started: " `date` | ||
|
||
@[PATHRT]/compile.sh @[MACHINE_ID] "@[MAKE_OPT]" @[COMPILE_ID] @[RT_COMPILER] | ||
|
||
echo "Compile ended: " `date` | ||
echo -n " $( date +%s )," >> job_timestamp.txt |
File renamed without changes.
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,49 @@ | ||
#!/bin/bash -l | ||
#SBATCH -e err | ||
#SBATCH -o out | ||
#SBATCH --job-name="@[JBNME]" | ||
#SBATCH --account=@[ACCNR] | ||
#SBATCH --qos=@[QUEUE] | ||
#SBATCH --clusters=c6 | ||
#SBATCH --partition=batch | ||
#SBATCH --nodes=@[NODES] | ||
#SBATCH --ntasks-per-node=@[TPN] | ||
#SBATCH --time=@[WLCLK] | ||
|
||
set -eux | ||
echo -n " $( date +%s )," > job_timestamp.txt | ||
|
||
set +x | ||
MACHINE_ID=gaeac6 | ||
source ./module-setup.sh | ||
module use --prepend $PWD/modulefiles | ||
module load modules.fv3 | ||
module list | ||
set -x | ||
|
||
echo "Model started: " `date` | ||
|
||
export OMP_NUM_THREADS=@[THRD] | ||
export OMP_STACKSIZE=1024M | ||
export NC_BLKSZ=1M | ||
export ESMF_RUNTIME_PROFILE=ON | ||
export ESMF_RUNTIME_PROFILE_OUTPUT="SUMMARY" | ||
export FI_VERBS_PREFER_XRC=0 | ||
export FI_CXI_RX_MATCH_MODE=hybrid | ||
export COMEX_EAGER_THRESHOLD=65536 | ||
export FI_CXI_RDZV_THRESHOLD=65536 | ||
|
||
# Avoid job errors because of filesystem synchronization delays | ||
sync && sleep 1 | ||
|
||
# This "if" block is part of the rt.sh self-tests in error-test.conf. It emulates the model failing to run. | ||
if [ "${JOB_SHOULD_FAIL:-NO}" = WHEN_RUNNING ] ; then | ||
echo "The job should abort now, with exit status 1." 1>&2 | ||
echo "If error checking is working, the metascheduler should mark the job as failed." 1>&2 | ||
false | ||
fi | ||
|
||
srun --label -n @[TASKS] ./fv3.exe | ||
|
||
echo "Model ended: " `date` | ||
echo -n " $( date +%s )," >> job_timestamp.txt |
Oops, something went wrong.