forked from NOAA-EMC/global-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ecflow package for wcoss2 GFS transition
WCOSS2 Migration and Porting NOAA-EMC#398
- Loading branch information
Showing
436 changed files
with
6,843 additions
and
8,160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# envir-p1.h | ||
export job=${job:-$PBS_JOBNAME} | ||
export jobid=${jobid:-$job.$PBS_JOBID} | ||
|
||
export RUN_ENVIR=emc | ||
export envir=%ENVIR% | ||
export MACHINE_SITE=%MACHINE_SITE% | ||
export SENDDBN=${SENDDBN:-%SENDDBN:YES%} | ||
export SENDDBN_NTC=${SENDDBN_NTC:-%SENDDBN_NTC:YES%} | ||
#module load prod_envir/2.0.4 prod_util/2.0.9 envvar/1.0 | ||
echo debug | ||
if [[ "$envir" == prod && "$SENDDBN" == YES ]]; then | ||
export eval=%EVAL:NO% | ||
if [ $eval == YES ]; then | ||
export SIPHONROOT=${UTILROOT}/para_dbn | ||
else | ||
export SIPHONROOT=/lfs/h1/ops/prod/dbnet_siphon | ||
fi | ||
#### Developer overwrite | ||
export SIPHONROOT=${UTILROOT}/fakedbn | ||
#### | ||
else | ||
export SIPHONROOT=${UTILROOT}/fakedbn | ||
fi | ||
|
||
export DBNROOT=$SIPHONROOT | ||
|
||
####if [[ ! " prod para test " =~ " ${envir} " && " ops.prod ops.para " =~ " $(whoami) " ]]; then err_exit "ENVIR must be prod, para, or test [envir-p1.h]"; fi | ||
export ECF_PORT=34326 | ||
export DATAROOT=/lfs/h2/emc/stmp/Lin.Gan/RUNDIRS/ecfops | ||
export COMROOT=/lfs/h2/emc/ptmp/Lin.Gan/ecfops/com | ||
export COREROOT=/lfs/h2/emc/ptmp/production.core/$jobid | ||
export NWROOT=/lfs/h1/ops/prod | ||
export SENDECF=${SENDECF:-YES} | ||
export SENDCOM=${SENDCOM:-YES} | ||
export KEEPDATA=${KEEPDATA:-%KEEPDATA:NO%} | ||
export TMPDIR=${TMPDIR:-${DATAROOT:?}} | ||
if [ -n "%PDY:%" ]; then | ||
export PDY=${PDY:-%PDY:%} | ||
export CDATE=${PDY}%CYC:% | ||
fi | ||
if [ -n "%COMPATH:%" ]; then export COMPATH=${COMPATH:-%COMPATH:%}; fi | ||
if [ -n "%MAILTO:%" ]; then export MAILTO=${MAILTO:-%MAILTO:%}; fi | ||
if [ -n "%DBNLOG:%" ]; then export DBNLOG=${DBNLOG:-%DBNLOG:%}; fi | ||
|
||
|
Oops, something went wrong.