forked from ufs-community/ufs-weather-model
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from grantfirl/ufs-dev-PR65
UFS-dev PR#65
- Loading branch information
Showing
16 changed files
with
1,886 additions
and
1,662 deletions.
There are no files selected for viewing
Submodule WW3
updated
3 files
+14 −14 | model/bin/ww3_from_ftp.sh | |
+6 −4 | model/src/w3iorsmd.F90 | |
+119 −120 | regtests/bin/run_cmake_test |
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,57 @@ | ||
help([[ | ||
loads UFS Model common libraries | ||
]]) | ||
|
||
jasper_ver=os.getenv("jasper_ver") or "2.0.32" | ||
load(pathJoin("jasper", jasper_ver)) | ||
|
||
zlib_ver=os.getenv("zlib_ver") or "1.2.13" | ||
load(pathJoin("zlib", zlib_ver)) | ||
|
||
libpng_ver=os.getenv("libpng_ver") or "1.6.37" | ||
load(pathJoin("libpng", libpng_ver)) | ||
|
||
hdf5_ver=os.getenv("hdf5_ver") or "1.14.0" | ||
load(pathJoin("hdf5", hdf5_ver)) | ||
|
||
netcdf_ver=os.getenv("netcdf_ver") or "4.9.0" | ||
load(pathJoin("netcdf-c", netcdf_ver)) | ||
load(pathJoin("netcdf-fortran", "4.6.0")) | ||
|
||
pio_ver=os.getenv("pio_ver") or "2.5.9" | ||
load(pathJoin("parallelio", pio_ver)) | ||
|
||
esmf_ver=os.getenv("esmf_ver") or "8.3.0b09" | ||
load(pathJoin("esmf", esmf_ver)) | ||
|
||
fms_ver=os.getenv("fms_ver") or "2022.04" | ||
load(pathJoin("fms",fms_ver)) | ||
|
||
bacio_ver=os.getenv("bacio_ver") or "2.4.1" | ||
load(pathJoin("bacio", bacio_ver)) | ||
|
||
crtm_ver=os.getenv("crtm_ver") or "2.4.0" | ||
load(pathJoin("crtm", crtm_ver)) | ||
|
||
g2_ver=os.getenv("g2_ver") or "3.4.5" | ||
load(pathJoin("g2", g2_ver)) | ||
|
||
g2tmpl_ver=os.getenv("g2tmpl_ver") or "1.10.2" | ||
load(pathJoin("g2tmpl", g2tmpl_ver)) | ||
|
||
ip_ver=os.getenv("ip_ver") or "3.3.3" | ||
load(pathJoin("ip", ip_ver)) | ||
|
||
sp_ver=os.getenv("sp_ver") or "2.3.3" | ||
load(pathJoin("sp", sp_ver)) | ||
|
||
w3emc_ver=os.getenv("w3emc_ver") or "2.9.2" | ||
load(pathJoin("w3emc", w3emc_ver)) | ||
|
||
gftl_shared_ver=os.getenv("gftl_shared_ver") or "v1.5.0" | ||
load(pathJoin("gftl-shared", gftl_shared_ver)) | ||
|
||
mapl_ver=os.getenv("mapl_ver") or "2.22.0-esmf-8.3.0b09" | ||
load(pathJoin("mapl", mapl_ver)) | ||
|
||
whatis("Description: UFS build environment common libraries") |
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,28 @@ | ||
help([[ | ||
loads UFS Model prerequisites for NOAA Parallelworks/Intel | ||
]]) | ||
|
||
|
||
prepend_path("MODULEPATH", "/contrib/EPIC/spack-stack/spack-stack-1.3.0/envs/unified-dev/install/modulefiles/Core") | ||
|
||
stack_intel_ver=os.getenv("stack_intel_ver") or "2021.3.0" | ||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
|
||
stack_impi_ver=os.getenv("stack_impi_ver") or "2021.3.0" | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver)) | ||
|
||
cmake_ver=os.getenv("cmake_ver") or "3.23.1" | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
prepend_path("MODULEPATH", "/contrib/spack-stack/modulefiles/core") | ||
stack_python_ver=os.getenv("stack_python_ver") or "3.9.12" | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
load("ufs_common_spack") | ||
|
||
setenv("CC", "mpiicc") | ||
setenv("CXX", "mpiicpc") | ||
setenv("FC", "mpiifort") | ||
setenv("CMAKE_Platform", "noaacloud.intel") | ||
|
||
whatis("Description: UFS build environment") |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,17 @@ | ||
#!/bin/sh | ||
#SBATCH -e err | ||
#SBATCH -o out | ||
#SBATCH --qos=batch | ||
#SBATCH --nodes=1 | ||
#SBATCH --ntasks-per-node=@[TPN] | ||
#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_NR] | ||
|
||
echo "Compile ended: " `date` | ||
echo -n " $( date +%s )," >> job_timestamp.txt |
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,45 @@ | ||
#!/bin/sh | ||
#SBATCH -e err | ||
#SBATCH -o out | ||
#SBATCH --qos=batch | ||
### #SBATCH --ntasks=@[TASKS] | ||
#SBATCH --nodes=@[NODES] | ||
#SBATCH --ntasks-per-node=@[TPN] | ||
#SBATCH --job-name="@[JBNME]" | ||
#SBATCH --exclusive | ||
|
||
set -eux | ||
echo -n " $( date +%s )," > job_timestamp.txt | ||
|
||
set +x | ||
MACHINE_ID=noaacloud | ||
module use $( pwd -P ) | ||
module use /contrib/EPIC/spack-stack/spack-stack-1.3.0/envs/unified-dev/install/modulefiles/Core | ||
module load stack-intel/2021.3.0 stack-intel-oneapi-mpi/2021.3.0 | ||
module load ufs-weather-model-env/unified-dev | ||
module list | ||
|
||
set -x | ||
|
||
ulimit -s unlimited | ||
ulimit -l unlimited | ||
|
||
echo "Model started: " `date` | ||
|
||
#export MPI_TYPE_DEPTH=20 | ||
export OMP_STACKSIZE=512M | ||
export KMP_AFFINITY=scatter | ||
export OMP_NUM_THREADS=1 | ||
#export ESMF_RUNTIME_COMPLIANCECHECK=OFF:depth=4 | ||
#export PSM_RANKS_PER_CONTEXT=4 | ||
#export PSM_SHAREDCONTEXTS=1 | ||
#export ESMF_RUNTIME_PROFILE=ON | ||
#export ESMF_RUNTIME_PROFILE_OUTPUT="SUMMARY" | ||
|
||
# Avoid job errors because of filesystem synchronization delays | ||
sync && sleep 1 | ||
|
||
srun --mpi=pmi2 --label -n @[TASKS] ./fv3.exe | ||
|
||
echo "Model ended: " `date` | ||
echo -n " $( date +%s )," >> job_timestamp.txt |
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
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