-
Notifications
You must be signed in to change notification settings - Fork 50
Replicate the creation of the gw-ci cycling test #1114
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
14 commits
Select commit
Hold shift + click to select a range
8cf8e14
wip
guillaumevernieres e0dfc43
wip
guillaumevernieres d99c7f9
added 3 gw-ci test
guillaumevernieres 6dc6139
overwrite exp
guillaumevernieres 1660380
Merge branch 'develop' into feature/gdas-cycle-ci
guillaumevernieres 7b551a5
don't spec icsdir
guillaumevernieres e445f27
don't spec. icsdir
guillaumevernieres a4063d3
post is broken
guillaumevernieres 0ddcb80
I broke post ... waiting for gw2584
guillaumevernieres 0627360
oops ...
guillaumevernieres 3ede0e6
Merge branch 'develop' into feature/gdas-cycle-ci
guillaumevernieres 1d8585d
Merge branch 'develop' into feature/gdas-cycle-ci
guillaumevernieres ef25435
I lied ... ICSDIR_ROOT needs to be defined
guillaumevernieres 334e9e6
merged upstream
guillaumevernieres 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,15 @@ | ||
| # Setup the environement | ||
| set(HOMEgfs ${CMAKE_SOURCE_DIR}/../../..) | ||
| set(RUNTESTS ${CMAKE_CURRENT_BINARY_DIR}/../../test/gw-ci) | ||
|
|
||
| # List of g-w ci test to create | ||
| set(cycling_tests "C48mx500_3DVarAOWCDA" "C96_atmaerosnowDA" "C96C48_ufs_hybatmDA") | ||
|
|
||
| # Prepare the cycling ctests | ||
| foreach(pslot ${cycling_tests}) | ||
| set(YAML ${HOMEgfs}/ci/cases/pr/${pslot}.yaml) | ||
| add_test(NAME ${pslot} | ||
| COMMAND /bin/bash -c "${PROJECT_SOURCE_DIR}/test/gw-ci/create_exp.sh ${YAML} ${pslot} ${HOMEgfs} ${RUNTESTS}" | ||
| WORKING_DIRECTORY ${RUNTESTS}) | ||
| set_tests_properties(${pslot} PROPERTIES LABELS "manual") | ||
| endforeach() |
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,16 @@ | ||
| #!/bin/bash | ||
| expyaml="$1" | ||
| export pslot="$2" | ||
| HOMEgfs="$3" | ||
| export RUNTESTS="$4"/${pslot} | ||
| export SLURM_ACCOUNT="da-cpu" | ||
|
|
||
| # Get ICSDIR_ROOT | ||
| source "${HOMEgfs}/ush/detect_machine.sh" | ||
| source "${HOMEgfs}/ci/platforms/config.${MACHINE_ID}" | ||
|
|
||
| # Source the gw environement | ||
| source ${HOMEgfs}/workflow/gw_setup.sh | ||
|
|
||
| # Create the experiment | ||
| ${HOMEgfs}/workflow/create_experiment.py --yaml ${expyaml} --overwrite | ||
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.