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

On NRL sites, use OS zlib instead of spack-built zlib-ng #1439

Merged
merged 12 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions configs/common/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ packages:
require: '@2.1.0'
libpng:
require: '@1.6.37 +pic'
# libtirpc +gssapi doesn't build with oneapi@2025
# https://github.com/JCSDA/spack-stack/issues/1441
libtirpc:
require: '~gssapi'
# Newest version of magics needed for oneapi compilers
magics:
require: "@4.15.3:"
Expand Down
23 changes: 23 additions & 0 deletions configs/sites/tier1/atlantis/compilers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,26 @@ compilers:
append_path:
CPATH: /cm/shared/apps/intel/oneapi-2024.2.1/compiler/2024.2/opt/compiler/include/intel64/
extra_rpaths: []
#- compiler:
# spec: oneapi@2025.0.3
# paths:
# cc: /gpfs/neptune/spack-stack/oneapi-2025.0.3/compiler/2025.0/bin/icx
# cxx: /gpfs/neptune/spack-stack/oneapi-2025.0.3/compiler/2025.0/bin/icpx
# f77: /gpfs/neptune/spack-stack/oneapi-2025.0.3/compiler/2025.0/bin/ifx
# fc: /gpfs/neptune/spack-stack/oneapi-2025.0.3/compiler/2025.0/bin/ifx
# flags: {}
# operating_system: rhel8
# target: x86_64
# modules:
# - umf/0.9.1
# - compiler-rt/2025.0.1
# - tbb/2022.0
# - compiler-intel-llvm/2025.0.1
# environment:
# prepend_path:
# PATH: /cm/local/apps/gcc/11.2.0/bin
# CPATH: /cm/local/apps/gcc/11.2.0/include
# LD_LIBRARY_PATH: /cm/shared/apps/slurm/21.08.8/lib64:/cm/shared/apps/slurm/21.08.8/lib64/slurm:/gpfs/neptune/spack-stack/oneapi-2025.0.3/compiler/2025.0
# append_path:
# CPATH: /gpfs/neptune/spack-stack/oneapi-2025.0.3/compiler/2025.0/opt/compiler/include/intel64
# extra_rpaths: []
31 changes: 23 additions & 8 deletions configs/sites/tier1/atlantis/packages.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
packages:
# Modification of common packages
# Use system zlib instead of spack-built zlib-ng
all:
providers:
zlib-api:: [zlib]
zlib-api:
buildable: False
zlib:
buildable: False
externals:
- spec: zlib@1.2.11
prefix: /usr

# All other packages listed alphabetically
autoconf:
externals:
- spec: autoconf@2.69
Expand Down Expand Up @@ -41,12 +55,12 @@ packages:
prefix: /usr
git:
externals:
- spec: git@2.39.2+tcltk
prefix: /software8/depot/git-2.39.2
- spec: git@2.43.5+tcltk
prefix: /usr
git-lfs:
externals:
- spec: git-lfs@3.3.0
prefix: /software8/depot/git-2.39.2
- spec: git-lfs@3.4.1
prefix: /usr
gmake:
externals:
- spec: gmake@4.2.1
Expand All @@ -59,10 +73,11 @@ packages:
externals:
- spec: groff@1.22.3
prefix: /usr
libtool:
externals:
- spec: libtool@2.4.6
prefix: /usr
# Do not use external libtool, incomplete install
#libtool:
# externals:
# - spec: libtool@2.4.6
# prefix: /usr
m4:
externals:
- spec: m4@1.4.18
Expand Down
30 changes: 29 additions & 1 deletion configs/sites/tier1/atlantis/packages_oneapi.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
packages:
all:
compiler:: [oneapi@2024.2.1,gcc@11.2.0]
#compiler:: [oneapi@2025.0.3, gcc@11.2.0]
providers:
mpi:: [intel-oneapi-mpi@2021.13]
#mpi:: [intel-oneapi-mpi@2021.14]
mpi:
buildable: False
intel-oneapi-mpi:
Expand All @@ -12,15 +14,41 @@ packages:
modules:
- mpi/2021.13
- slurm
#- spec: intel-oneapi-mpi@2021.14%oneapi@2025.0.3
# prefix: /gpfs/neptune/spack-stack/oneapi-2025.0.3
# modules:
# - mpi/2021.14
# - slurm
intel-oneapi-mkl:
externals:
- spec: intel-oneapi-mkl@2024.2
prefix: /cm/shared/apps/intel/oneapi-2024.2.1
modules:
- mkl/2024.2
prefix: /cm/shared/apps/intel/oneapi-2024.2.1
#- spec: intel-oneapi-mkl@2025.0
# prefix: /gpfs/neptune/spack-stack/oneapi-2025.0.3
# modules:
# - mkl/2025.0
intel-oneapi-tbb:
externals:
- spec: intel-oneapi-tbb@2021.13
prefix: /cm/shared/apps/intel/oneapi-2024.2.1
modules:
- tbb/2021.13
#- spec: intel-oneapi-tbb@2022.0
# prefix: /gpfs/neptune/spack-stack/oneapi-2025.0.3
# modules:
# - tbb/2022.0
intel-oneapi-runtime:
externals:
- spec: intel-oneapi-runtime@2024.2.1%oneapi@2024.2.1
prefix: /cm/shared/apps/intel/oneapi-2024.2.1
modules:
- intel-oneapi-2024.2.1
- tbb/2021.13
- compiler-rt/2024.2.1
#- spec: intel-oneapi-runtime@2025.0.0%oneapi@2025.0.0
# prefix: /gpfs/neptune/spack-stack/oneapi-2025.0.3
# modules:
# - tbb/2022.0
# - compiler-rt/2025.0.1
18 changes: 18 additions & 0 deletions configs/sites/tier1/blueback/packages.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
packages:
# Modification of common packages
# Use system zlib instead of spack-built zlib-ng
all:
providers:
zlib-api:: [zlib]
zlib-api:
buildable: False
zlib:
buildable: False
externals:
# For TDS tusk
- spec: zlib@1.2.11
prefix: /usr
# For TDS cole
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The blueback site config will be split into separate site configs for TDS cole, tusk in a follow-up PR.

#- spec: zlib@1.2.13
# prefix: /usr

# All other packages listed alphabetically
autoconf:
externals:
- spec: autoconf@2.69
Expand Down
14 changes: 14 additions & 0 deletions configs/sites/tier1/narwhal/packages.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
packages:
# Modification of common packages
# Use system zlib instead of spack-built zlib-ng
all:
providers:
zlib-api:: [zlib]
zlib-api:
buildable: False
zlib:
buildable: False
externals:
- spec: zlib@1.2.11
prefix: /usr

# All other packages listed alphabetically
autoconf:
externals:
- spec: autoconf@2.69
Expand Down
6 changes: 3 additions & 3 deletions configs/sites/tier1/narwhal/packages_gcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ packages:
all:
compiler:: [gcc@10.3.0]
providers:
mpi:: [cray-mpich@8.1.21]
mpi:: [cray-mpich@8.1.26]
mpi:
buildable: False
cray-mpich:
externals:
- spec: cray-mpich@8.1.21%gcc@10.3.0 ~wrappers
- spec: cray-mpich@8.1.26%gcc@10.3.0 ~wrappers
modules:
- cray-mpich-ucx/8.1.21
- cray-mpich-ucx/8.1.26
- craype-network-ucx
6 changes: 3 additions & 3 deletions configs/sites/tier1/narwhal/packages_intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ packages:
all:
compiler:: [intel@2021.10.0,gcc@10.3.0]
providers:
mpi:: [cray-mpich@8.1.21]
mpi:: [cray-mpich@8.1.26]
mpi:
buildable: False
cray-mpich:
externals:
- spec: cray-mpich@8.1.21%intel@2021.10.0 ~wrappers
- spec: cray-mpich@8.1.26%intel@2021.10.0 ~wrappers
modules:
- cray-mpich-ucx/8.1.21
- cray-mpich-ucx/8.1.26
- craype-network-ucx
intel-oneapi-mkl:
externals:
Expand Down
6 changes: 3 additions & 3 deletions configs/sites/tier1/narwhal/packages_oneapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ packages:
all:
compiler:: [oneapi@2024.2.0,gcc@10.3.0]
providers:
mpi:: [cray-mpich@8.1.21]
mpi:: [cray-mpich@8.1.26]
mpi:
buildable: False
cray-mpich:
externals:
- spec: cray-mpich@8.1.21%oneapi@2024.2.0 ~wrappers
- spec: cray-mpich@8.1.26%oneapi@2024.2.0 ~wrappers
modules:
- cray-mpich-ucx/8.1.21
- cray-mpich-ucx/8.1.26
- craype-network-ucx
intel-oneapi-mkl:
externals:
Expand Down
14 changes: 14 additions & 0 deletions configs/sites/tier1/nautilus/packages.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
packages:
# Modification of common packages
# Use system zlib instead of spack-built zlib-ng
all:
providers:
zlib-api:: [zlib]
zlib-api:
buildable: False
zlib:
buildable: False
externals:
- spec: zlib@1.2.11
prefix: /usr

# All other packages listed alphabetically
autoconf:
externals:
- spec: autoconf@2.69
Expand Down
18 changes: 17 additions & 1 deletion configs/sites/tier2/bounty/compilers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,20 @@ compilers:
environment:
append_path:
LD_LIBRARY_PATH: /home/dom/prod/llvm-19.1.4/lib
extra_rpaths: [/home/dom/prod/llvm-19.1.4/lib]
extra_rpaths: [/home/dom/prod/llvm-19.1.4/lib]
- compiler:
spec: aocc@=5.0.0
paths:
cc: /home/dom/prod/aocc-5.0.0/bin/clang
cxx: /home/dom/prod/aocc-5.0.0/bin/clang++
f77: /home/dom/prod/aocc-5.0.0/bin/flang
fc: /home/dom/prod/aocc-5.0.0/bin/flang
flags: {}
operating_system: almalinux9
target: x86_64
modules: []
environment: {}
#append_path:
# For libquadmath etc
# NEEDED? LD_LIBRARY_PATH: /usr/lib/gcc/x86_64-redhat-linux/11
extra_rpaths: []
6 changes: 6 additions & 0 deletions configs/templates/neptune-dev/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ spack:
- matrix:
- [$packages]
- [$compilers]
exclude:
# Skip neptune-python-env with Intel Classic due to problems
# with new versions of py-numpy, py-scipy, ...
- neptune-python-env%intel
# Same for LLVM compilers
- neptune-python-env%clang
12 changes: 6 additions & 6 deletions doc/source/PreConfiguredSites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ The following is required for building new spack environments with Intel on this
module unload cray-mpich
module unload craype-network-ofi
# Warning. Do not load craype-network-ucx
# or cray-mpich-ucx/8.1.21!
# or cray-mpich-ucx/8.1.26!
# There is a bug in the modulefile that prevents
# spack from setting the environment for its
# build steps when the module is already
# loaded. Instead, let spack load it when the
# package requires it.
#module load craype-network-ucx
#module load cray-mpich-ucx/8.1.21
#module load cray-mpich-ucx/8.1.26
module load libfabric/1.12.1.2.2.1
module unload cray-libsci
module load cray-libsci/23.05.1.4
Expand All @@ -184,14 +184,14 @@ The following is required for building new spack environments with Intel oneAPI
module unload cray-mpich
module unload craype-network-ofi
# Warning. Do not load craype-network-ucx
# or cray-mpich-ucx/8.1.21!
# or cray-mpich-ucx/8.1.26!
# There is a bug in the modulefile that prevents
# spack from setting the environment for its
# build steps when the module is already
# loaded. Instead, let spack load it when the
# package requires it.
#module load craype-network-ucx
#module load cray-mpich-ucx/8.1.21
#module load cray-mpich-ucx/8.1.26
module load libfabric/1.12.1.2.2.1
module unload cray-libsci
module load cray-libsci/23.05.1.4
Expand All @@ -208,14 +208,14 @@ The following is required for building new spack environments with GNU on this p
module unload cray-mpich
module unload craype-network-ofi
# Warning. Do not load craype-network-ucx
# or cray-mpich-ucx/8.1.21!
# or cray-mpich-ucx/8.1.26!
# There is a bug in the modulefile that prevents
# spack from setting the environment for its
# build steps when the module is already
# loaded. Instead, let spack load it when the
# package requires it.
#module load craype-network-ucx
#module load cray-mpich-ucx/8.1.21
#module load cray-mpich-ucx/8.1.26
module load libfabric/1.12.1.2.2.1
module unload cray-libsci
module load cray-libsci/23.05.1.4
Expand Down
2 changes: 1 addition & 1 deletion spack
Loading