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
9f7c7b47
Commit
9f7c7b47
authored
1 year ago
by
Oriol Tintó
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug in build_icon.sh when setting up the eccodes env file.
Removing debug spack spec.
parent
a41ea29a
No related branches found
No related tags found
No related merge requests found
Pipeline
#19185
passed
1 year ago
Stage: run_tests
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/common/build_icon.sh
+2
-2
2 additions, 2 deletions
templates/common/build_icon.sh
with
2 additions
and
2 deletions
templates/common/build_icon.sh
+
2
−
2
View file @
9f7c7b47
...
...
@@ -39,7 +39,7 @@ if [ ! -z "$SPACK_BUILD_ICON" ]; then
else
spack repo add
${
WORKDIR
}
/production_project/spack_repo
fi
spack spec
$SPACK_BUILD_ICON
spack
install
--reuse
$SPACK_BUILD_ICON
#TODO: had some problems with spack load when more than one version is available, adding --first to overcome that
# although in principle we should not install the model if its already installed.
...
...
@@ -71,6 +71,6 @@ if [ ! -f "${definitions_tar_file}" ]; then
echo
"export ECCODES_DEFINITION_PATH=
${
WORKDIR
}
/definitions.edzw-
${
eccodes_version
}
-1"
>
eccodes_defs.env
ECCODES_PATH
=
$(
spack find
-p
eccodes%
${
COMPILER
}
|
grep
-i
$USER
|
cut
-d
" "
-f
3
)
echo
"export LD_LIBRARY_PATH=
${
ECCODES_PATH
}
/lib:
\$
{LD_LIBRARY_PATH}"
>>
eccodes_defs.env
echo
"export LD_LIBRARY_PATH=
${
ECCODES_PATH
}
/lib:
\$
{LD_LIBRARY_PATH
:-
}"
>>
eccodes_defs.env
fi
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