-
Notifications
You must be signed in to change notification settings - Fork 47
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
Update Hera files for spack-stack-1.9.0 #1507
Merged
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
a8d67b5
Update Hera files for spack-stack-1.9.0
RatkoVasic-NOAA 10d8fae
Install cdo version 2.3.0
RatkoVasic-NOAA 45fbf21
Do not use sys installed cdo
RatkoVasic-NOAA da5b00b
Merge branch 'JCSDA:release/1.9.0' into release/1.9.0
RatkoVasic-NOAA c9cf755
Merge branch 'JCSDA:release/1.9.0' into release/1.9.0
RatkoVasic-NOAA c032295
Removed QT from using system installed version on Orion
RatkoVasic-NOAA 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 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 |
---|---|---|
|
@@ -17,15 +17,32 @@ compilers: | |
CPATH: '/apps/gnu/gcc-9.2.0/include' | ||
extra_rpaths: [] | ||
- compiler: | ||
spec: gcc@9.2.0 | ||
spec: gcc@13.2.0 | ||
paths: | ||
cc: /apps/gnu/gcc-9.2.0/bin/gcc | ||
cxx: /apps/gnu/gcc-9.2.0/bin/g++ | ||
f77: /apps/gnu/gcc-9.2.0/bin/gfortran | ||
fc: /apps/gnu/gcc-9.2.0/bin/gfortran | ||
cc: /apps/gnu/gcc-13.2.0/bin/gcc | ||
cxx: /apps/gnu/gcc-13.2.0/bin/g++ | ||
f77: /apps/gnu/gcc-13.2.0/bin/gfortran | ||
fc: /apps/gnu/gcc-13.2.0/bin/gfortran | ||
flags: {} | ||
operating_system: rocky8 | ||
modules: | ||
- gnu/9.2.0 | ||
- gnu/13.2.0 | ||
environment: {} | ||
extra_rpaths: [] | ||
- compiler: | ||
spec: [email protected] | ||
paths: | ||
cc: /apps/oneapi/compiler/2024.2/bin/icx | ||
cxx: /apps/oneapi/compiler/2024.2/bin/icpx | ||
f77: /apps/oneapi/compiler/2024.2/bin/ifort | ||
fc: /apps/oneapi/compiler/2024.2/bin/ifort | ||
flags: {} | ||
operating_system: rocky8 | ||
modules: | ||
- intel/2024.2.1 | ||
environment: | ||
prepend_path: | ||
PATH: '/apps/gnu/gcc-13.2.0/bin' | ||
LD_LIBRARY_PATH: '/apps/gnu/gcc-13.2.0/lib64' | ||
CPATH: '/apps/gnu/gcc-13.2.0/include' | ||
extra_rpaths: [] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,10 @@ packages: | |
externals: | ||
- spec: [email protected] | ||
prefix: /usr | ||
cdo: | ||
externals: | ||
- spec: [email protected] | ||
prefix: /apps/cdo/2.3.0/gnu_13.2.0 | ||
cpio: | ||
externals: | ||
- spec: [email protected] | ||
|
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,6 +1,6 @@ | ||
packages: | ||
all: | ||
compiler:: [gcc@9.2.0] | ||
compiler:: [gcc@13.2.0] | ||
providers: | ||
mpi:: [[email protected]] | ||
mpi: | ||
|
@@ -9,5 +9,5 @@ packages: | |
externals: | ||
- spec: [email protected]~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~internal-libevent~internal-pmix~java+legacylaunchers~lustre~memchecker~openshmem~orterunprefix+pmi+romio+rsh~singularity+static+vt+wrapper-rpath fabrics=ucx schedulers=slurm | ||
modules: | ||
- gnu/9.2.0 | ||
- openmpi/4.1.6_gnu9.2.0 | ||
- gnu/13.2.0 | ||
- openmpi/4.1.6 |
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,40 @@ | ||
packages: | ||
all: | ||
compiler:: [[email protected]] | ||
providers: | ||
mpi:: [[email protected]] | ||
# Remove the next three lines to switch to intel-oneapi-mkl | ||
blas:: [openblas] | ||
fftw-api:: [fftw] | ||
lapack:: [openblas] | ||
mpi: | ||
buildable: False | ||
intel-oneapi-mpi: | ||
buildable: False | ||
externals: | ||
- spec: [email protected]%[email protected] | ||
modules: | ||
- intel/2024.2.1 | ||
- impi/2024.2.1 | ||
prefix: /apps/oneapi | ||
intel-oneapi-mkl: | ||
# Remove buildable: False and uncomment externals section below to use intel-oneapi-mkl | ||
buildable: False | ||
#externals: | ||
#- spec: [email protected]%[email protected] | ||
# prefix: /apps/oneapi | ||
# DH* Remove this section to switch to intel-oneapi-mkl | ||
ectrans: | ||
require:: | ||
- '@1.2.0 ~mkl +fftw' | ||
gsibec: | ||
require:: | ||
- '@1.2.1 ~mkl' | ||
py-numpy: | ||
require:: | ||
- '@1.26' | ||
- '^openblas' | ||
# *DH | ||
zlib-ng: | ||
require: | ||
- '~shared' |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build failure for
cdo
is odd:given that
spack
sets:and
and similar configurations (e.g. hercules, orion, ursa) don't exhibit this failure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is expected. The GNU backend for oneapi is gcc 9.1 or 9.2 I believe on Hera, and that only supports C++17. See
configs/common/packages.yaml
sectioncdo
. You can force an older version ofcdo
being built on Hera in Hera's packages.yaml (i.e. for all compilers used on Hera).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
configs/sites/tier1/hera/compilers.yaml
for the PR specsgcc/13.2.0
and pathing for that version:Wouldn't that be enough to find an appropriate backend?
One could also add
to
configs/sites/tier1/hera/packages.yaml
, or is that not a preferable alternative?The system-provided module that's referenced here was built with
gcc/13.2.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. I would just try an older version of cdo and be done with it.