-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Docker containers in the RTW (#3399)
Co-authored-by: Alistair Sellar <[email protected]> Co-authored-by: Emma Hogan <[email protected]>
- Loading branch information
1 parent
b858165
commit 813e6ea
Showing
15 changed files
with
111 additions
and
59 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
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
...l/utils/recipe_test_workflow/recipe_test_workflow/app/get_esmval/opt/rose-app-jasmin.conf
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,10 @@ | ||
[command] | ||
default=singularity build ${CONTAINER_DIR}/${CONTAINER_FILE} ${DOCKER_SOURCE}; rtw-env pip install imagehash --user | ||
|
||
[env] | ||
CONTAINER_DIR=${ROSE_DATAC}/container | ||
CONTAINER_FILE=esmvaltool.sif | ||
DOCKER_SOURCE=docker://esmvalgroup/esmvaltool:${ENV_NAME} | ||
|
||
[file:${CONTAINER_DIR}] | ||
mode=mkdir |
File renamed without changes.
Empty file.
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
4 changes: 2 additions & 2 deletions
4
esmvaltool/utils/recipe_test_workflow/recipe_test_workflow/opt/rose-suite-jasmin.conf
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
2 changes: 1 addition & 1 deletion
2
esmvaltool/utils/recipe_test_workflow/recipe_test_workflow/opt/rose-suite-metoffice.conf
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
23 changes: 21 additions & 2 deletions
23
esmvaltool/utils/recipe_test_workflow/recipe_test_workflow/site/jasmin.cylc
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 |
---|---|---|
@@ -1,17 +1,36 @@ | ||
#!jinja2 | ||
[runtime] | ||
[[root]] | ||
[[[environment]]] | ||
# Warning: fragile assumption of location of esmvaltool code, see #3437 | ||
ESMVALTOOL_DIR = /opt/conda/envs/esmvaltool/lib/python3.11/site-packages | ||
# Pick up local installation of imagehash. Slightly fragile: see #3436 | ||
PYTHONPATH_PREPEND = ${HOME}/.local/lib/python3.11/site-packages | ||
|
||
[[COMPUTE]] | ||
platform = lotus | ||
[[[directives]]] | ||
--wckey = RTW | ||
--ntasks = 1 | ||
|
||
[[process<fast>]] | ||
[[get_esmval]] | ||
inherit = None, COMPUTE | ||
execution time limit = PT30M | ||
[[[directives]]] | ||
--mem = 2G | ||
|
||
[[configure]] | ||
inherit = None, COMPUTE | ||
execution time limit = PT2M | ||
[[[directives]]] | ||
--mem = 2G | ||
|
||
[[process<fast>]] | ||
execution time limit = PT5M | ||
[[[directives]]] | ||
--mem = 2G | ||
|
||
[[process<medium>]] | ||
execution time limit = PT6M | ||
execution time limit = PT10M | ||
[[[directives]]] | ||
--mem = 2G |
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
15 changes: 15 additions & 0 deletions
15
esmvaltool/utils/recipe_test_workflow/recipe_test_workflow/site/metoffice.cylc
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