Skip to content

Commit

Permalink
update noaacloud fv3_slurm job file
Browse files Browse the repository at this point in the history
  • Loading branch information
zach1221 committed Oct 24, 2024
1 parent 6031b80 commit 2fb4cd4
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions tests/fv3_conf/fv3_slurm.IN_noaacloud
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ 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
export MACHINE_ID=noaacloud
source ./module-setup.sh
if [[ ! -d modulefiles ]]; then
mkdir modulefiles
mv *.lua modulefiles
fi
module use modulefiles
module load modules.fv3
module list

set -x
Expand Down Expand Up @@ -46,7 +49,8 @@ if [ "${JOB_SHOULD_FAIL:-NO}" = WHEN_RUNNING ] ; then
false
fi

srun --mpi=pmi2 --label -n @[TASKS] ./fv3.exe
srun --mpi=pmi2 --label -n @[TASKS] ${PWD}/fv3.exe


echo "Model ended: " `date`
echo -n " $( date +%s )," >> job_timestamp.txt

0 comments on commit 2fb4cd4

Please sign in to comment.