Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/bug/jetecflow' into feature/gf…
Browse files Browse the repository at this point in the history
…s_test
  • Loading branch information
binli2337 committed Mar 11, 2022
2 parents e081dd2 + eb12dab commit ff89101
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tests/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,9 @@ elif [[ $MACHINE_ID = jet.* ]]; then

export PATH=/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/envs/ufs-weather-model/bin:/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/bin:$PATH
export PYTHONPATH=/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/envs/ufs-weather-model/lib/python3.8/site-packages:/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/lib/python3.8/site-packages
ECFLOW_START=/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/envs/ufs-weather-model/bin/ecflow_start.sh
ECF_PORT=$(( $(id -u) + 1500 ))
module load ecflow
ssh $ECF_HOST -t 'bash -l -c "module load ecflow && ecflow_stop.sh || true && ecflow_start.sh"'
ECFLOW_START=/apps/ecflow/5.5.3/bin/ecflow_start.sh

QUEUE=batch
COMPILE_QUEUE=batch
Expand Down
2 changes: 1 addition & 1 deletion tests/rt_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ ecflow_run() {
# in rare instances when UID is greater then 58500 (like Ratko's UID on theia)
[[ $ECF_PORT -gt 49151 ]] && ECF_PORT=12179

ECF_HOST=$( hostname )
ECF_HOST="${ECF_HOST:-$HOSTNAME}"

set +e
ecflow_client --ping --host=${ECF_HOST} --port=${ECF_PORT}
Expand Down

0 comments on commit ff89101

Please sign in to comment.