Skip to content

Commit

Permalink
add noaacloud fv3_slurm changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zach1221 committed Oct 22, 2024
1 parent 6812601 commit 5b495d9
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions tests/fv3_conf/fv3_slurm.IN_noaacloud
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ 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

set -x

Expand Down Expand Up @@ -46,7 +50,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 5b495d9

Please sign in to comment.