Skip to content
Snippets Groups Projects
Commit dfd456be authored by Oriol Tintó Prims's avatar Oriol Tintó Prims
Browse files

Using spack to satisfy bzip2 dependency.

parent 83b09a38
No related branches found
No related tags found
1 merge request!4Switching to the advanced configuration method and fixing spack build.
......@@ -42,6 +42,11 @@ if [ ! -f "${definitions_tar_file}" ]; then
defs_url=https://opendata.dwd.de/weather/lib/grib/${definitions_tar_file}
wget "${defs_url}"
if [ ! $(rpm -qa | grep bzip2) ]; then
spack install bzip2
spack load bzip2
fi
# Decompress definitions file
tar -xf "${definitions_tar_file}"
# Create a file containing the environment variable that needs to be set in order to use DWD's definitions:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment