Skip to content

Commit

Permalink
add derecho and remove cheyenne
Browse files Browse the repository at this point in the history
  • Loading branch information
grantfirl committed Mar 12, 2024
1 parent 2a09d89 commit 2eb5ce6
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
21 changes: 0 additions & 21 deletions tests/machine/cheyenne

This file was deleted.

21 changes: 21 additions & 0 deletions tests/machine/derecho
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
export PATH=/glade/p/ral/jntp/tools/miniconda3/4.8.3/envs/ufs-weather-model/bin:/glade/p/ral/jntp/tools/miniconda3/4.8.3/bin:$PATH
export PATH=/glade/work/epicufsrt/contrib/derecho/rocoto/bin:$PATH
export PYTHONPATH=/glade/p/ral/jntp/tools/miniconda3/4.8.3/envs/ufs-weather-model/lib/python3.8/site-packages:/glade/p/ral/jntp/tools/miniconda3/4.8.3/lib/python3.8/site-packages
ECFLOW_START=/glade/p/ral/jntp/tools/miniconda3/4.8.3/envs/ufs-weather-model/bin/ecflow_start.sh
ECF_PORT=$(( $(id -u) + 1500 ))

QUEUE=main
COMPILE_QUEUE=main
PARTITION=
dprefix=/glade/derecho/scratch
DISKNM=/glade/derecho/scratch/epicufsrt/ufs-weather-model/RT/
STMP=$dprefix
PTMP=$dprefix
SCHEDULER=pbs
cp fv3_conf/fv3_qsub.IN_derecho fv3_conf/fv3_qsub.IN
cp fv3_conf/compile_qsub.IN_derecho fv3_conf/compile_qsub.IN

ROCOTORUN=$(which rocotorun)
ROCOTOSTAT=$(which rocotostat)
ROCOTOCOMPLETE=$(which rocotocomplete)
ROCOTO_SCHEDULER=pbspro
8 changes: 4 additions & 4 deletions tests/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,11 @@ if [[ $ROCOTO == true ]]; then
QUEUE=batch
COMPILE_QUEUE=batch
ROCOTO_SCHEDULER=slurm
elif [[ $MACHINE_ID = cheyenne ]]; then
elif [[ $MACHINE_ID = derecho ]]; then
QUEUE=regular
COMPILE_QUEUE=regular
ROCOTO_SCHEDULER=pbspro
elif [[ $MACHINE_ID = gaea ]]; then
elif [[ $MACHINE_ID = gaea-c5 ]]; then
QUEUE=normal
COMPILE_QUEUE=normal
ROCOTO_SCHEDULER=slurm
Expand Down Expand Up @@ -463,9 +463,9 @@ EOF
QUEUE=batch
elif [[ $MACHINE_ID = s4 ]]; then
QUEUE=s4
elif [[ $MACHINE_ID = gaea ]]; then
elif [[ $MACHINE_ID = gaea* ]]; then
QUEUE=normal
elif [[ $MACHINE_ID = cheyenne ]]; then
elif [[ $MACHINE_ID = derecho ]]; then
QUEUE=regular
else
die "ecFlow is not supported on this machine $MACHINE_ID"
Expand Down

0 comments on commit 2eb5ce6

Please sign in to comment.