-
Notifications
You must be signed in to change notification settings - Fork 213
Add global-workflow infrastructure for ocean analysis recentering task #2299
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
Changes from 17 commits
68e55db
01857f7
4a71289
b907738
5aacfa9
ca4918f
7cc3c67
be3a6a8
62b398c
711656d
a4c7187
354618e
ffb3b9f
36ffa01
10d33b2
193d9b8
7cf79d8
92d2a06
40ef4e3
0059d78
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -107,6 +107,12 @@ elif [[ "${step}" = "ocnanalchkpt" ]]; then | |
|
|
||
| export APRUN_OCNANAL="${launcher} -n ${npe_ocnanalchkpt}" | ||
|
|
||
| elif [[ "${step}" = "ocnanalecen" ]]; then | ||
|
|
||
| export APRUNCFP="${launcher} -n \$ncmd --multi-prog" | ||
|
|
||
| export APRUN_OCNANALECEN="${launcher} -n ${npe_ocnanalecen}" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we need to add the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There apparent is some issue with this that can turn up at higher resolutions - can we wait to see if we need this? |
||
|
|
||
| elif [[ "${step}" = "anal" ]] || [[ "${step}" = "analcalc" ]]; then | ||
|
|
||
| export MKL_NUM_THREADS=4 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| #!/bin/bash | ||
| source "${HOMEgfs}/ush/preamble.sh" | ||
| source "${HOMEgfs}/ush/jjob_header.sh" -e "ocnanalecen" -c "base ocnanal ocnanalecen" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why is
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is in
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also for |
||
|
|
||
| ############################################## | ||
| # Set variables used in the script | ||
| ############################################## | ||
|
|
||
| ############################################## | ||
| # Begin JOB SPECIFIC work | ||
| ############################################## | ||
|
|
||
| ############################################################### | ||
| # Run relevant script | ||
|
|
||
| EXSCRIPT=${GDASOCNCENPY:-${HOMEgfs}/scripts/exgdas_global_marine_analysis_ecen.py} | ||
| ${EXSCRIPT} | ||
| status=$? | ||
| [[ ${status} -ne 0 ]] && exit "${status}" | ||
|
|
||
| ############################################## | ||
| # End JOB SPECIFIC work | ||
| ############################################## | ||
|
|
||
| ############################################## | ||
| # Final processing | ||
| ############################################## | ||
| if [[ -e "${pgmout}" ]] ; then | ||
| cat "${pgmout}" | ||
| fi | ||
|
|
||
| ########################################## | ||
| # Remove the Temporary working directory | ||
| ########################################## | ||
| cd "${DATAROOT}" || exit 1 | ||
| [[ "${KEEPDATA}" = "NO" ]] && rm -rf "${DATA}" | ||
|
|
||
| exit 0 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| #! /usr/bin/env bash | ||
|
|
||
| source "${HOMEgfs}/ush/preamble.sh" | ||
|
|
||
| ############################################################### | ||
| # Source UFSDA workflow modules | ||
| . "${HOMEgfs}/ush/load_ufsda_modules.sh" | ||
| status=$? | ||
| [[ ${status} -ne 0 ]] && exit "${status}" | ||
|
|
||
| export job="ocnanalecen" | ||
| export jobid="${job}.$$" | ||
|
|
||
| ############################################################### | ||
| # Setup Python path for GDASApp ush | ||
| PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${HOMEgfs}/sorc/gdas.cd/ush" | ||
| export PYTHONPATH | ||
|
|
||
| ############################################################### | ||
| # Execute the JJOB | ||
| "${HOMEgfs}"/jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_ECEN | ||
| status=$? | ||
| exit "${status}" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| #!/bin/bash | ||
|
|
||
| ########## config.ocnanalecen ########## | ||
| # Ocn Analysis specific | ||
|
|
||
| echo "BEGIN: config.ocnanalecen" | ||
|
|
||
| # Get task specific resources | ||
| . "${EXPDIR}/config.resources" ocnanalecen | ||
|
|
||
| echo "END: config.ocnanalecen" |
Uh oh!
There was an error while loading. Please reload this page.