Skip to content
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

Unpin or update many packages (mostly Python) in configs/common/packages.yaml, fix S4 site config #1384

Merged
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
9d0ab96
Unpin or update several packages in configs/common/packages.yaml
climbfuji Nov 14, 2024
4b59184
Update .gitmodules and submodule pointer for spack for code review an…
climbfuji Nov 17, 2024
4898371
Pin py-netcdf to version 1.7.1 with variant mpi enabled
climbfuji Nov 17, 2024
819a2f1
Merge branch 'feature/spst-upd-20241031-follow-up-mpiifx-mpiifort-sit…
climbfuji Nov 18, 2024
db66b49
Use different versions of cdo for older Intel classic compilers
climbfuji Nov 18, 2024
5a442d7
Also use [email protected] with apple-clang@14
climbfuji Nov 18, 2024
f63c7f0
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Nov 20, 2024
f9575af
Update submodule pointer for spack
climbfuji Nov 21, 2024
5cbd9f4
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Dec 2, 2024
8ee0c5b
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Dec 5, 2024
02ccc78
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Dec 6, 2024
6cc18d5
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Dec 6, 2024
46ad103
Merge branch 'develop' into feature/unpin_update_common_packages
climbfuji Dec 9, 2024
71aee0b
Merge branch 'develop' into feature/unpin_update_common_packages
climbfuji Dec 10, 2024
ee2d6a4
Merge branch 'develop' into feature/unpin_update_common_packages
climbfuji Dec 11, 2024
fa21d33
Merge branch 'develop' into feature/unpin_update_common_packages
climbfuji Dec 13, 2024
9b2757c
Remove hardcoded version of py-numpy from all tier-1 site configs
climbfuji Dec 13, 2024
2411498
Bug fixes for S4 site config: correct GNU backend for Intel, no exter…
climbfuji Dec 14, 2024
6c61e0f
Remove 'prefer' for cdo in configs/common/packages.yaml, since it cla…
climbfuji Dec 16, 2024
705f80f
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Dec 18, 2024
520a0b6
Remove commented-out package entries from configs/common/packages.yam…
climbfuji Dec 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 32 additions & 20 deletions configs/common/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,16 @@ packages:
cairo:
require: '+pic'
cdo:
require: '@2.3.0 ~openmp'
require:
- any_of: ['@2.3.0 ~openmp']
when: '%intel@2021:'
message: '2.3.0 is the last version to use C++17, use with Intel Classic'
- any_of: ['@2.3.0 ~openmp']
when: '%apple-clang@:14'
message: '2.3.0 is the last version to use C++17, use with Apple Clang 14 and earlier'
- any_of: ['@2.0.5 ~openmp']
when: '%intel@:2020'
message: '2.0.5 is the last version to use C++14, use with Intel Classic 2020 and earlier'
cmake:
version: ['3.27.9']
require: '+ownlibs'
Expand Down Expand Up @@ -143,9 +152,9 @@ packages:
require: '@2.46.3 ~shared ~f2py'
variants: '+pflogger'
# To avoid duplicate packages being built
meson:
require:
- '@1.5.1:'
#meson:
climbfuji marked this conversation as resolved.
Show resolved Hide resolved
# require:
# - '@1.5.1:'
# If making changes here, also check the Discover site configs and the CI workflows
met:
require: '@11.1.1 +python +grib2'
Expand All @@ -156,7 +165,7 @@ packages:
mpich:
require: '~hwloc'
nco:
require: '@5.1.6 ~doc'
require: '@5.2.4 ~doc'
# ncview - when adding information here, also check Orion
# and Discover site configs
nemsio:
Expand Down Expand Up @@ -199,9 +208,9 @@ packages:
require: '~tiff'
python:
require: '@3.11.7'
py-attrs:
# https://github.com/JCSDA/spack-stack/issues/740
require: '@21.4.0'
#py-attrs:
# # https://github.com/JCSDA/spack-stack/issues/740
# require: '@21.4.0'
py-cartopy:
require: '+plotting'
# Avoid full rust dependency: version 43+ requires py-maturin
Expand Down Expand Up @@ -229,36 +238,38 @@ packages:
# https://github.com/JCSDA/spack-stack/issues/1276
py-matplotlib:
require: '@3.7.4'
py-meson-python:
require: '@0.15.0'
#py-meson-python:
# require: '@0.15.0'
# Comment out for now until build problems are solved
# https://github.com/jcsda/spack-stack/issues/522
# see also ewok-env virtual package and container
# README.md
#py-mysql-connector-python:
# require: '@8.0.32'
# Variant ~mpi not working for latest py-netcdf4
# https://github.com/spack/spack/issues/47652
py-netcdf4:
require: '@1.5.8 ~mpi'
require: '@1.7.1 +mpi'
# [email protected] causes many build problems with older Python packages
# also check Nautilus site config when making changes here
# https://github.com/JCSDA/spack-stack/issues/1276
py-numpy:
require:
- '@:1.23.5'
#py-numpy:
# require:
# - '@:1.23.5'
py-pandas:
require: '+excel'
py-pybind11:
require: '@2.11.0'
#py-pybind11:
# require: '@2.11.0'
# To avoid duplicate packages
py-ruamel-yaml:
require: '@0.17.16'
# Pin the py-setuptools version to avoid duplicate Python packages
py-setuptools:
require: '@63.4.3'
require: '@69'
py-setuptools-rust:
require: '+rust_bootstrap'
py-shapely:
require: '@1.8.0'
#py-shapely:
# require: '@1.8.0'
py-torch:
require: '+custom-protobuf ~mkldnn'
# To avoid duplicate packages
Expand Down Expand Up @@ -294,4 +305,5 @@ packages:
wrf-io:
require: '@1.2.0'
zstd:
require: '@1.5.2 +programs'
#require: '@1.5.2 +programs'
climbfuji marked this conversation as resolved.
Show resolved Hide resolved
require: '+programs'
2 changes: 1 addition & 1 deletion configs/sites/tier1/aws-pcluster/packages_intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ packages:
- '@1.2.1 ~mkl'
py-numpy:
require::
- '@:1.23 ^openblas'
- '^openblas'
# *DH
2 changes: 1 addition & 1 deletion configs/sites/tier1/derecho/packages_intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ packages:
- '@1.2.1 ~mkl'
py-numpy:
require::
- '@:1.23 ^openblas'
- '^openblas'
# *DH

2 changes: 1 addition & 1 deletion configs/sites/tier1/gaea-c5/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ packages:
- '@1.2.1 ~mkl'
py-numpy:
require::
- '@:1.23 ^openblas'
- '^openblas'
# *DH

### All other external packages listed alphabetically
Expand Down
2 changes: 1 addition & 1 deletion configs/sites/tier1/gaea-c6/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ packages:
- '@1.2.1 ~mkl'
py-numpy:
require::
- '@:1.23 ^openblas'
- '^openblas'
# *DH

### All other external packages listed alphabetically
Expand Down
2 changes: 1 addition & 1 deletion configs/sites/tier1/hera/packages_intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ packages:
- '@1.2.1 ~mkl'
py-numpy:
require::
- '@:1.23 ^openblas'
- '^openblas'
# *DH
zlib-ng:
require:
Expand Down
2 changes: 1 addition & 1 deletion configs/sites/tier1/hercules/packages_intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ packages:
- '@1.2.1 ~mkl'
py-numpy:
require::
- '@:1.23 ^openblas'
- '^openblas'
2 changes: 1 addition & 1 deletion configs/sites/tier1/nautilus/packages_gcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ packages:
- '@1.2.1 +mkl'
py-numpy:
require::
- '@:1.23 ^intel-oneapi-mkl'
- '^intel-oneapi-mkl'
2 changes: 1 addition & 1 deletion configs/sites/tier1/noaa-aws/packages_intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ packages:
- '@1.2.1 ~mkl'
py-numpy:
require::
- '@:1.23 ^openblas'
- '^openblas'
# *DH
2 changes: 1 addition & 1 deletion configs/sites/tier1/noaa-azure/packages_intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ packages:
- '@1.2.1 ~mkl'
py-numpy:
require::
- '@:1.23 ^openblas'
- '^openblas'
# *DH
2 changes: 1 addition & 1 deletion configs/sites/tier1/noaa-gcloud/packages_intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ packages:
- '@1.2.1 ~mkl'
py-numpy:
require::
- '@:1.23 ^openblas'
- '^openblas'
# *DH
2 changes: 1 addition & 1 deletion configs/sites/tier1/orion/packages_intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ packages:
- '@1.2.1 ~mkl'
py-numpy:
require::
- '@:1.23 ^openblas'
- '^openblas'
AlexanderRichert-NOAA marked this conversation as resolved.
Show resolved Hide resolved
20 changes: 17 additions & 3 deletions configs/sites/tier1/s4/compilers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ compilers:
- intel/2023.2
environment:
prepend_path:
PATH: /opt/gcc/13.3/bin
LD_LIBRARY_PATH: /opt/intel/oneapi/2023.2/compiler/2023.2.0/linux/compiler/lib/intel64_lin:/opt/gcc/13.3/lib64:/opt/gcc/13.3/lib
CPATH: /opt/gcc/13.3/include
PATH: /opt/gcc/10.2.0/bin
LD_LIBRARY_PATH: /opt/intel/oneapi/2023.2/compiler/2023.2.0/linux/compiler/lib/intel64_lin:/opt/gcc/10.2.0/lib64:/opt/gcc/10.2.0/lib
CPATH: /opt/gcc/10.2.0/include
extra_rpaths: []
- compiler:
spec: gcc@=13.3.0
Expand All @@ -31,6 +31,20 @@ compilers:
- gcc/13.3
environment: {}
extra_rpaths: []
- compiler:
spec: gcc@=10.2.0
paths:
cc: /opt/gcc/10.2.0/bin/gcc
cxx: /opt/gcc/10.2.0/bin/g++
f77: /opt/gcc/10.2.0/bin/gfortran
fc: /opt/gcc/10.2.0/bin/gfortran
flags: {}
operating_system: rocky8
target: x86_64
modules:
- gcc/10.2
environment: {}
extra_rpaths: []
- compiler:
spec: gcc@=8.5.0
paths:
Expand Down
38 changes: 20 additions & 18 deletions configs/sites/tier1/s4/packages.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
packages:
all:
compiler:: [[email protected],gcc@13.3.0]
compiler:: [[email protected],gcc@10.2.0]
providers:
mpi:: [[email protected]]
# Remove the next three lines to switch to intel-oneapi-mkl
blas:: [openblas]
fftw-api:: [fftw]
lapack:: [openblas]
# spack concretizer gets confused and wants an AVX512 architecture for some packages
require:
- 'arch=linux-rocky8-skylake'

### MPI, Python, MKL
mpi:
Expand Down Expand Up @@ -34,7 +37,7 @@ packages:
- '@1.2.1 ~mkl'
py-numpy:
require::
- '@:1.23 ^openblas'
- '^openblas'

### All other external packages listed alphabetically
autoconf:
Expand Down Expand Up @@ -77,10 +80,11 @@ packages:
externals:
- spec: [email protected]
prefix: /usr
curl:
externals:
- spec: [email protected]+gssapi+ldap+nghttp2
prefix: /usr
# OS curl/openssl cause problems
#curl:
# externals:
# - spec: [email protected]+gssapi+ldap+nghttp2
# prefix: /usr
diffutils:
externals:
- spec: [email protected]
Expand Down Expand Up @@ -145,10 +149,11 @@ packages:
externals:
- spec: [email protected]
prefix: /usr
openssl:
externals:
- spec: [email protected]
prefix: /usr
# OS curl/openssl cause problems
#openssl:
# externals:
# - spec: [email protected]
# prefix: /usr
perl:
externals:
- spec: [email protected]~cpanm+opcode+open+shared+threads
Expand All @@ -157,14 +162,11 @@ packages:
externals:
- spec: [email protected]
prefix: /usr
# TODO - installing via spack-stack works, for example for
# spack-stack-1.8.0, but would be good if we didn't have to.
# https://github.com/JCSDA/spack-stack/issues/1329
#qt:
# buildable: False
# externals:
# - spec: [email protected]
# prefix: /usr
qt:
buildable: False
externals:
- spec: [email protected]
prefix: /usr
rsync:
externals:
- spec: [email protected]
Expand Down
Loading