Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autoicon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
w2w
autoicon
Commits
d12d5917
Commit
d12d5917
authored
1 year ago
by
Fabian.Jakub
Browse files
Options
Downloads
Patches
Plain Diff
update install of dwd icon tools, now allowing to use hashed compiler versions
parent
8c74fdb9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#19037
failed
1 year ago
Stage: run_tests
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
conf/common/build.yml
+5
-0
5 additions, 0 deletions
conf/common/build.yml
templates/common/build_icon.sh
+7
-1
7 additions, 1 deletion
templates/common/build_icon.sh
with
12 additions
and
1 deletion
conf/common/build.yml
+
5
−
0
View file @
d12d5917
...
...
@@ -31,6 +31,11 @@ icon:
load_cmd
:
build_cmd
version
:
master
# The latest release at the moment of creating this file was 2.6.5-nwp0
dwdicontools
:
build_cmd
:
"
dwd-icon-tools%
%SPACK.COMPILER%"
load_cmd
:
build_cmd
python_environment
:
# Name of the virtual environment in the remote platform experiment folder
folder_name
:
python_environment
...
...
This diff is collapsed.
Click to expand it.
templates/common/build_icon.sh
+
7
−
1
View file @
d12d5917
...
...
@@ -49,7 +49,13 @@ else
fi
# Build dwd-icon-tools
spack
install
dwd-icon-tools %
"%spack.compiler%"
SPACK_BUILD_DWDICONTOOLS
=
"%DWDICONTOOLS.BUILD_CMD%"
SPACK_LOAD_DWDICONTOOLS
=
"%DWDICONTOOLS.LOAD_CMD%"
if
[
"
${
SPACK_LOAD_DWDICONTOOLS
}
"
==
"build_cmd"
]
;
then
SPACK_LOAD_DWDICONTOOLS
=
${
SPACK_BUILD_DWDICONTOOLS
}
;
fi
if
[
!
-z
"
$SPACK_BUILD_DWDICONTOOLS
"
]
;
then
spack
install
--reuse
$SPACK_BUILD_DWDICONTOOLS
spack load
--first
${
SPACK_LOAD_DWDICONTOOLS
}
fi
# Need to get ECCODES DWD definitions:
eccodes_version
=
$(
spack spec
$SPACK_BUILD_ICON
|
grep
eccodes |
grep
-o
"@.*%"
|
grep
-o
"[0-9
\.
]*"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment