-
Notifications
You must be signed in to change notification settings - Fork 50
Change YAML and add jjob CTest for new "atmensanlfv3inc" job in Global Workflow #1104
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
2a189d3
Initial commit
DavidNew-NOAA c697fbf
Fix EOL
DavidNew-NOAA 6e2731d
Update lgetkf.yaml.j2
DavidNew-NOAA 991e8f9
Add new jjob test for fv3inc ens job
DavidNew-NOAA 497985c
Merge branch 'feature/atmensanlfv3inc' of https://github.com/NOAA-EMC…
DavidNew-NOAA cd3b9a0
Fixed small bug
DavidNew-NOAA c098d53
Clean up
DavidNew-NOAA a3ca3d1
Merge branch 'develop' into feature/atmensanlfv3inc
DavidNew-NOAA 76d5c5e
Update
DavidNew-NOAA f9c371b
Merge branch 'develop' into feature/atmensanlfv3inc
DavidNew-NOAA d02a657
Merge branch 'develop' into feature/atmensanlfv3inc
CoryMartin-NOAA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,55 @@ | ||
| #! /usr/bin/env bash | ||
|
|
||
| set -x | ||
| bindir=$1 | ||
| srcdir=$2 | ||
|
|
||
| # Set g-w HOMEgfs | ||
| topdir=$(cd "$(dirname "$(readlink -f -n "${bindir}" )" )/../../.." && pwd -P) | ||
| export HOMEgfs=$topdir | ||
|
|
||
| # Set variables for ctest | ||
| export PSLOT=gdas_test | ||
| export EXPDIR=$bindir/test/atm/global-workflow/testrun/experiments/$PSLOT | ||
| export PDY=20210323 | ||
| export cyc=18 | ||
| export CDATE=${PDY}${cyc} | ||
| export ROTDIR=$bindir/test/atm/global-workflow/testrun/ROTDIRS/$PSLOT | ||
| export RUN=enkfgdas | ||
| export CDUMP=enkfgdas | ||
| export DATAROOT=$bindir/test/atm/global-workflow/testrun/RUNDIRS/$PSLOT | ||
| export COMIN_GES=${bindir}/test/atm/bkg | ||
| export pid=${pid:-$$} | ||
| export jobid=$pid | ||
| export COMROOT=$DATAROOT | ||
| export NMEM_ENS=3 | ||
| export ACCOUNT=da-cpu | ||
|
|
||
| # Set python path for workflow utilities and tasks | ||
| wxflowPATH="${HOMEgfs}/ush/python:${HOMEgfs}/ush/python/wxflow" | ||
| PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${wxflowPATH}" | ||
| export PYTHONPATH | ||
|
|
||
| # Detemine machine from config.base | ||
| machine=$(echo `grep 'machine=' $EXPDIR/config.base | cut -d"=" -f2` | tr -d '"') | ||
|
|
||
| # Set NETCDF and UTILROOT variables (used in config.base) | ||
| if [[ $machine = 'HERA' ]]; then | ||
| NETCDF=$( which ncdump ) | ||
| export NETCDF | ||
| export UTILROOT="/scratch2/NCEPDEV/ensemble/save/Walter.Kolczynski/hpc-stack/intel-18.0.5.274/prod_util/1.2.2" | ||
| elif [[ $machine = 'ORION' || $machine = 'HERCULES' ]]; then | ||
| ncdump=$( which ncdump ) | ||
| NETCDF=$( echo "${ncdump}" | cut -d " " -f 3 ) | ||
| export NETCDF | ||
| export UTILROOT=/work2/noaa/da/python/opt/intel-2022.1.2/prod_util/1.2.2 | ||
| fi | ||
|
|
||
| # Execute j-job | ||
| if [[ $machine = 'HERA' ]]; then | ||
| sbatch --nodes=1 --ntasks=36 --account=$ACCOUNT --qos=batch --time=00:30:00 --export=ALL --wait ${HOMEgfs}/jobs/JGLOBAL_ATMENS_ANALYSIS_FV3_INCREMENT | ||
| elif [[ $machine = 'ORION' || $machine = 'HERCULES' ]]; then | ||
| sbatch --nodes=1 --ntasks=36 --account=$ACCOUNT --qos=batch --time=00:30:00 --export=ALL --wait ${HOMEgfs}/jobs/JGLOBAL_ATMENS_ANALYSIS_FV3_INCREMENT | ||
| else | ||
| ${HOMEgfs}/jobs/JGLOBAL_ATMENS_ANALYSIS_FV3_INCREMENT | ||
| fi |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.