-
Notifications
You must be signed in to change notification settings - Fork 210
Add support for forecast-only runs on AWS #2711
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
WalterKolczynski-NOAA
merged 71 commits into
NOAA-EMC:develop
from
NOAA-EPIC:aws-forecast-only
Aug 13, 2024
Merged
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
103f2c4
compiled OK now
weihuang-jedi 916ff6c
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi b0ac406
re-test on aws with fewer changes
weihuang-jedi 3de972f
make change in tasks.py to avoid error finding libiomp5.so problem
weihuang-jedi 8308375
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi bc4c4a8
add comments so the reviewers know that these changes are for AWS, an…
weihuang-jedi 924aede
Merge branch 'aws-forecast-only' of ssh://github.com/NOAA-EPIC/global…
weihuang-jedi b724937
add comments so the reviewers know that these changes are for AWS, an…
weihuang-jedi 12ab29f
reverse config.resource changes, and memory restriction on AWS
weihuang-jedi adff250
sync with emc repo
weihuang-jedi 2290ea2
move common data to a shared place
weihuang-jedi cd2c8e7
use ICs from s3-bucket
weihuang-jedi 4e144e5
Merge branch 'develop' into aws-forecast-only
weihuang-jedi 46e3ef5
change as suggested by reviewer
weihuang-jedi 32f13eb
sync with develop
weihuang-jedi a34a4c8
sync sorc/ufs_model.fd
weihuang-jedi 44011a3
remove mpmd_opt from APRUN_UFS
weihuang-jedi 965ec80
mpmd_opt and switch off tracker/genesis default for AWS
weihuang-jedi 3ce268e
add TODO
weihuang-jedi f03ac78
remove ncl version on AWS
weihuang-jedi 007a56b
Merge remote-tracking branch 'origin/develop' into aws-forecast-only
weihuang-jedi 2f6ec6e
sync ufs_model
weihuang-jedi dba83a7
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi 24fe804
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi e8a2e0f
sync and remove gempak from noaacloud
weihuang-jedi 4013eb1
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi a548c7f
update modules hash
weihuang-jedi d37e646
update module hash
weihuang-jedi 2a80162
use bucket
weihuang-jedi fa44862
remove /scratch1, but kept TODO
weihuang-jedi 55c7e7e
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi 07851dc
re-sync
weihuang-jedi 492808d
sync
weihuang-jedi d7a262e
add is_exclusive to resource.AWSPW
weihuang-jedi af573af
sync hash with EMC repo
weihuang-jedi 0929180
remove --export=ALL from native, when is_exclusive set true
weihuang-jedi 06fecca
sync
weihuang-jedi d8783ab
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi d22bc6d
Merge remote-tracking branch 'origin/develop' into aws-forecast-only
weihuang-jedi a5c441f
Merge branch 'aws-forecast-only' of ssh://github.com/NOAA-EPIC/global…
weihuang-jedi 77e8233
Make AWS works similar to on-prem machine
weihuang-jedi 96f73ba
remove --export=ALL from 'native'
weihuang-jedi a33a3be
remove --export=ALL from 'native'
weihuang-jedi 80b294b
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi 01a8928
add py-f90nml to noaacloud modulefile
weihuang-jedi b035947
remove un-necessary added lines
weihuang-jedi bf3b460
remove un-necessary added lines
weihuang-jedi 47627ff
remove added lines which was originally for AWS, but should be define…
weihuang-jedi 7bf8900
restore as develop
weihuang-jedi 0685a8f
try to fix pynorms error
weihuang-jedi 381403d
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi 0e71f7d
Merge branch 'aws-forecast-only' of ssh://github.com/NOAA-EPIC/global…
weihuang-jedi 2024835
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi 2c52016
sync with EMC repo
weihuang-jedi cd6c541
sync Gaea link with EMC repo, and only include blocks/packs that run …
weihuang-jedi 1f60ed0
Merge branch 'aws-forecast-only' of github.com:NOAA-EPIC/global-workf…
weihuang-jedi e1a57b4
merge fro develop
weihuang-jedi fe9a457
Remove ACCOUNT_SERVICE
weihuang-jedi 5c6e052
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi 93b1e66
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi f900893
correct pynorms error
weihuang-jedi f599cd7
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi 1ee5492
Update workflow/rocoto/workflow_xml.py
weihuang-jedi 6d6231a
fix pynorms issues
weihuang-jedi eb262be
fix pynorms issues
weihuang-jedi 0db930d
only one pycodestyle error left now
weihuang-jedi 06093af
pycodestype passed without any error
weihuang-jedi 6fff724
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi f23d2d0
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi bd1c954
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi d12d9e9
Merge branch 'NOAA-EMC:develop' into aws-forecast-only
weihuang-jedi 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| help([[ | ||
| Load environment to run GFS on noaacloud | ||
| ]]) | ||
|
|
||
| local spack_mod_path=(os.getenv("spack_mod_path") or "None") | ||
| prepend_path("MODULEPATH", spack_mod_path) | ||
|
|
||
| load(pathJoin("stack-intel", (os.getenv("stack_intel_ver") or "None"))) | ||
| load(pathJoin("stack-intel-oneapi-mpi", (os.getenv("stack_impi_ver") or "None"))) | ||
| load(pathJoin("python", (os.getenv("python_ver") or "None"))) | ||
|
|
||
| load(pathJoin("jasper", (os.getenv("jasper_ver") or "None"))) | ||
| load(pathJoin("libpng", (os.getenv("libpng_ver") or "None"))) | ||
| load(pathJoin("cdo", (os.getenv("cdo_ver") or "None"))) | ||
| --load(pathJoin("R", (os.getenv("R_ver") or "None"))) | ||
|
|
||
| load(pathJoin("hdf5", (os.getenv("hdf5_ver") or "None"))) | ||
| load(pathJoin("netcdf-c", (os.getenv("netcdf_c_ver") or "None"))) | ||
| load(pathJoin("netcdf-fortran", (os.getenv("netcdf_fortran_ver") or "None"))) | ||
|
|
||
| load(pathJoin("nco", (os.getenv("nco_ver") or "None"))) | ||
| load(pathJoin("prod_util", (os.getenv("prod_util_ver") or "None"))) | ||
| load(pathJoin("grib-util", (os.getenv("grib_util_ver") or "None"))) | ||
| load(pathJoin("g2tmpl", (os.getenv("g2tmpl_ver") or "None"))) | ||
| load(pathJoin("gsi-ncdiag", (os.getenv("gsi_ncdiag_ver") or "None"))) | ||
| load(pathJoin("crtm", (os.getenv("crtm_ver") or "None"))) | ||
| load(pathJoin("bufr", (os.getenv("bufr_ver") or "None"))) | ||
| load(pathJoin("wgrib2", (os.getenv("wgrib2_ver") or "None"))) | ||
| load(pathJoin("py-f90nml", (os.getenv("py_f90nml_ver") or "None"))) | ||
| load(pathJoin("py-netcdf4", (os.getenv("py_netcdf4_ver") or "None"))) | ||
| load(pathJoin("py-pyyaml", (os.getenv("py_pyyaml_ver") or "None"))) | ||
| load(pathJoin("py-jinja2", (os.getenv("py_jinja2_ver") or "None"))) | ||
| load(pathJoin("py-pandas", (os.getenv("py_pandas_ver") or "None"))) | ||
| load(pathJoin("py-python-dateutil", (os.getenv("py_python_dateutil_ver") or "None"))) | ||
| --load(pathJoin("met", (os.getenv("met_ver") or "None"))) | ||
| --load(pathJoin("metplus", (os.getenv("metplus_ver") or "None"))) | ||
| load(pathJoin("py-xarray", (os.getenv("py_xarray_ver") or "None"))) | ||
|
|
||
| setenv("WGRIB2","wgrib2") | ||
| setenv("UTILROOT",(os.getenv("prod_util_ROOT") or "None")) | ||
|
|
||
| --prepend_path("MODULEPATH", pathJoin("/scratch1/NCEPDEV/global/glopara/git/prepobs/v" .. (os.getenv("prepobs_run_ver") or "None"), "modulefiles")) | ||
| --prepend_path("MODULEPATH", pathJoin("/scratch1/NCEPDEV/global/glopara/git/prepobs/feature-GFSv17_com_reorg_log_update/modulefiles")) | ||
| --load(pathJoin("prepobs", (os.getenv("prepobs_run_ver") or "None"))) | ||
|
|
||
| --prepend_path("MODULEPATH", pathJoin("/scratch1/NCEPDEV/global/glopara/git/Fit2Obs/v" .. (os.getenv("fit2obs_ver") or "None"), "modulefiles")) | ||
| --load(pathJoin("fit2obs", (os.getenv("fit2obs_ver") or "None"))) | ||
|
|
||
| whatis("Description: GFS run environment") |
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,15 @@ | ||
| help([[ | ||
| Load environment to run GFS workflow setup scripts on noaacloud | ||
| ]]) | ||
|
|
||
| prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core") | ||
|
|
||
| load(pathJoin("stack-intel", os.getenv("2021.3.0"))) | ||
| load(pathJoin("stack-intel-oneapi-mpi", os.getenv("2021.3.0"))) | ||
|
|
||
| load(pathJoin("netcdf-c", os.getenv("4.9.2"))) | ||
| load(pathJoin("netcdf-fortran", os.getenv("4.6.1"))) | ||
| load(pathJoin("nccmp","1.9.0.1")) | ||
| load(pathJoin("wgrib2", "2.0.8")) | ||
|
|
||
| whatis("Description: GFS run setup CI environment") |
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,20 @@ | ||
| help([[ | ||
| Load environment to run GFS workflow setup scripts on noaacloud | ||
| ]]) | ||
|
|
||
| load(pathJoin("rocoto")) | ||
|
|
||
| prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core") | ||
|
|
||
| local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.3.0" | ||
| local python_ver=os.getenv("python_ver") or "3.10.3" | ||
|
|
||
| load(pathJoin("stack-intel", stack_intel_ver)) | ||
| load(pathJoin("python", python_ver)) | ||
| load("py-jinja2") | ||
| load("py-pyyaml") | ||
| load("py-numpy") | ||
| local git_ver=os.getenv("git_ver") or "1.8.3.1" | ||
| load(pathJoin("git", git_ver)) | ||
|
|
||
| whatis("Description: GFS run setup environment") | ||
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,10 @@ | ||
| #! /usr/bin/env bash | ||
|
|
||
| # AWS-specific job resources | ||
|
|
||
| export is_exclusive="True" | ||
|
|
||
| # shellcheck disable=SC2312 | ||
| for mem_var in $(env | grep '^memory_' | cut -d= -f1); do | ||
| unset "${mem_var}" | ||
| done |
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
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
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,5 @@ | ||
| export stack_intel_ver=2021.3.0 | ||
| export stack_impi_ver=2021.3.0 | ||
| export spack_env=gsi-addon-env | ||
| source "${HOMEgfs:-}/versions/build.spack.ver" | ||
| export spack_mod_path="/contrib/spack-stack/spack-stack-${spack_stack_ver}/envs/gsi-addon-env/install/modulefiles/Core" |
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,8 @@ | ||
| export stack_intel_ver=2021.3.0 | ||
| export stack_impi_ver=2021.3.0 | ||
| export spack_env=gsi-addon-env | ||
|
|
||
| source "${HOMEgfs:-}/versions/run.spack.ver" | ||
| export spack_mod_path="/contrib/spack-stack/spack-stack-${spack_stack_ver}/envs/gsi-addon-env/install/modulefiles/Core" | ||
|
|
||
| export cdo_ver=2.2.0 |
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
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.