Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to Orion #105

Merged
merged 10 commits into from
Apr 22, 2020
Prev Previous commit
Next Next commit
Revert changes that removed support for WCOSS phase1/2
  • Loading branch information
DusanJovic-NOAA committed Apr 20, 2020
commit 46537328fb06af2dd23c7fe036b69d76f10b5d64
24 changes: 24 additions & 0 deletions tests/detect_machine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,30 @@ export ACCNR=${ACCNR:-nems}

case $(hostname -f) in

g10a1.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=1;; ### gyre 1
g10a2.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=1;; ### gyre 2
g14a1.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=1;; ### gyre 3
g14a2.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=1;; ### gyre 4

t10a1.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=1;; ### tide 1
t10a2.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=1;; ### tide 2
t14a1.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=1;; ### tide 3
t14a2.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=1;; ### tide 4

g20a1.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=2;; ### gyre phase2
g20a2.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=2;; ### gyre phase2
g20a3.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=2;; ### gyre phase2
g21a1.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=2;; ### gyre phase2
g21a2.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=2;; ### gyre phase2
g21a3.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=2;; ### gyre phase2

t20a1.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=2;; ### tide phase2
t20a2.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=2;; ### tide phase2
t20a3.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=2;; ### tide phase2
t21a1.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=2;; ### tide phase2
t21a2.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=2;; ### tide phase2
t21a3.ncep.noaa.gov) MACHINE_ID=wcoss ; export pex=2;; ### tide phase2

llogin1) MACHINE_ID=wcoss_cray ;; ### luna
llogin2) MACHINE_ID=wcoss_cray ;; ### luna
llogin3) MACHINE_ID=wcoss_cray ;; ### luna
Expand Down
21 changes: 20 additions & 1 deletion tests/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,26 @@ export COMPILER=${NEMS_COMPILER:-intel}
source detect_machine.sh
source rt_utils.sh

if [[ $MACHINE_ID = wcoss_cray ]]; then
if [[ $MACHINE_ID = wcoss ]]; then

source $PATHTR/NEMS/src/conf/module-setup.sh.inc

set +u
source /usrx/local/ecflow/setup.sh
ECFLOW_START=/usrx/local/ecflow/bin/ecflow_start.sh
set -u
ROCOTORUN="/u/Christopher.W.Harrop/rocoto/bin/rocotorun"
ROCOTOSTAT="/u/Christopher.W.Harrop/rocoto/bin/rocotostat"
DISKNM=/nems/noscrub/emc.nemspara/RT
QUEUE=debug
PARTITION=
ACCNR=GFS-DEV
STMP=/ptmpp$pex
PTMP=/ptmpp$pex
SCHEDULER=lsf
# cp fv3_conf/fv3_bsub.IN_wcoss fv3_conf/fv3_bsub.IN

elif [[ $MACHINE_ID = wcoss_cray ]]; then

source $PATHTR/NEMS/src/conf/module-setup.sh.inc
module load xt-lsfhpc
Expand Down