Skip to content
Merged
1 change: 1 addition & 0 deletions configs/common/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ packages:
- '@=8.8.0 snapshot=none'
- '@=8.9.0 snapshot=none'
- '@=8.9.1 snapshot=none'
- '@=9.0.0b10 snapshot=b10'
- any_of:
- 'fflags="-fp-model precise" cxxflags="-fp-model precise"'
when: '%intel'
Expand Down
30 changes: 0 additions & 30 deletions configs/sites/tier1/atlantis/packages_clang-21.1.0.yaml

This file was deleted.

34 changes: 34 additions & 0 deletions configs/sites/tier1/atlantis/packages_clang-22.1.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
packages:
all:
require:
- any_of: ['%llvm@=22.1.0']
when: '%llvm'
mpi:
buildable: False
require:
- "openmpi@4.1.8"
llvm:
externals:
- spec: llvm@22.1.0 +flang ~libomptarget
prefix: /gpfs/neptune/spack-stack/llvm-22.1.0
modules:
- llvm/22.1.0
extra_attributes:
compilers:
c: /gpfs/neptune/spack-stack/llvm-22.1.0/bin/clang
cxx: /gpfs/neptune/spack-stack/llvm-22.1.0/bin/clang++
fortran: /gpfs/neptune/spack-stack/llvm-22.1.0/bin/flang-new
extra_rpaths:
- /gpfs/neptune/spack-stack/llvm-22.1.0/lib
- /gpfs/neptune/spack-stack/llvm-22.1.0/lib/x86_64-unknown-linux-gnu
hwloc:
buildable: False
externals:
- spec: hwloc@2.13.0
prefix: /gpfs/neptune/spack-stack/llvm-22.1.0
openmpi:
externals:
- spec: openmpi@4.1.8 ~internal-hwloc +two_level_namespace
prefix: /gpfs/neptune/spack-stack/openmpi-4.1.8/llvm-22.1.0
modules:
- openmpi/4.1.8
21 changes: 0 additions & 21 deletions configs/sites/tier2/bounty/packages_clang-21.1.1.yaml

This file was deleted.

21 changes: 21 additions & 0 deletions configs/sites/tier2/bounty/packages_clang-22.1.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
packages:
all:
require:
- any_of: ['%llvm@=22.1.0']
when: '%llvm'
mpi:
require:
- "openmpi@=5.0.8"
llvm:
buildable: False
externals:
- spec: llvm@22.1.0 +flang ~libomptarget
prefix: /home/dom/prod/llvm-22.1.0
extra_attributes:
compilers:
c: /home/dom/prod/llvm-22.1.0/bin/clang
cxx: /home/dom/prod/llvm-22.1.0/bin/clang++
fortran: /home/dom/prod/llvm-22.1.0/bin/flang-new
extra_rpaths:
- /home/dom/prod/llvm-22.1.0/lib
- /home/dom/prod/llvm-22.1.0/lib/x86_64-unknown-linux-gnu
12 changes: 6 additions & 6 deletions configs/templates/neptune-dev-llvm/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ spack:
include: []

specs:
- neptune-env ~debug +openmp +espc +ncview ^esmf@=8.9.1
- neptune-env +debug +openmp +espc +ncview ^esmf@=8.9.1
- neptune-env ~debug ~openmp +espc +ncview ^esmf@=8.9.1
- neptune-env +debug ~openmp +espc +ncview ^esmf@=8.9.1
- neptune-env ~debug +openmp +espc +ncview ^esmf@=9.0.0b10
- neptune-env +debug +openmp +espc +ncview ^esmf@=9.0.0b10
- neptune-env ~debug ~openmp +espc +ncview ^esmf@=9.0.0b10
- neptune-env +debug ~openmp +espc +ncview ^esmf@=9.0.0b10
# Until we can build the entire set of dependencies for
# neptune-python-env and jedi-neptune-env, we need to
# add the required packages for the NEPTUNE standalone
# model manually
#- neptune-python-env ^neptune-env ~debug +openmp +espc +ncview ^esmf@=8.9.1
#- jedi-neptune-env +adp ^neptune-env ~debug +openmp +espc +ncview ^esmf@=8.9.1
#- neptune-python-env ^neptune-env ~debug +openmp +espc +ncview ^esmf@=9.0.0b10
#- jedi-neptune-env +adp ^neptune-env ~debug +openmp +espc +ncview ^esmf@=9.0.0b10
- py-numpy
- crtm@3.1.3

Expand Down
12 changes: 6 additions & 6 deletions configs/templates/neptune-dev/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ spack:
include: []

specs:
- neptune-env ~debug +openmp +espc +ncview ^esmf@=8.9.1
- neptune-env +debug +openmp +espc +ncview ^esmf@=8.9.1
- neptune-env ~debug ~openmp +espc +ncview ^esmf@=8.9.1
- neptune-env +debug ~openmp +espc +ncview ^esmf@=8.9.1
- neptune-python-env +gittools ^neptune-env ~debug +openmp +espc +ncview ^esmf@=8.9.1
- jedi-neptune-env +adp +jedi ^neptune-env ~debug +openmp +espc +ncview ^esmf@=8.9.1
- neptune-env ~debug +openmp +espc +ncview ^esmf@=9.0.0b10
- neptune-env +debug +openmp +espc +ncview ^esmf@=9.0.0b10
- neptune-env ~debug ~openmp +espc +ncview ^esmf@=9.0.0b10
- neptune-env +debug ~openmp +espc +ncview ^esmf@=9.0.0b10
- neptune-python-env +gittools ^neptune-env ~debug +openmp +espc +ncview ^esmf@=9.0.0b10
- jedi-neptune-env +adp +jedi ^neptune-env ~debug +openmp +espc +ncview ^esmf@=9.0.0b10
- crtm@3.1.3

packages:
Expand Down
2 changes: 1 addition & 1 deletion configs/templates/neptune-ops/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spack:
include: []

specs:
- neptune-env ~debug +openmp +espc ~ncview ^esmf@=8.9.1
- neptune-env ~debug +openmp +espc ~ncview ^esmf@=9.0.0b10

packages:
# Turn off python variant for esmf
Expand Down
2 changes: 1 addition & 1 deletion repos/builtin
4 changes: 3 additions & 1 deletion spack-ext/lib/jcsda-emc/spack-stack/stack/compiler_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from spack.provider_index import ProviderIndex

from spack.extensions.stack.common import ALIASES
from spack.extensions.stack.common import RED, RESET
from spack.extensions.stack.common import GREEN, RED, RESET
from spack.extensions.stack.common import get_preferred_compiler


Expand Down Expand Up @@ -153,3 +153,5 @@ def check_preferred_compiler():
raise Exception(f"{RED}Detected {errors} compiler mismatch!{RESET}")
elif errors:
raise Exception(f"{RED}Detected {errors} compiler mismatches!{RESET}")
else:
logging.info(f"{GREEN}No compiler mismatches found.{RESET}")
10 changes: 5 additions & 5 deletions util/nrl/batch_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ fi

case ${SPACK_STACK_BATCH_HOST} in
atlantis)
SPACK_STACK_BATCH_COMPILERS=("oneapi@=2024.2.1" "oneapi@=2025.3.0" "gcc@=13.4.0" "clang@=21.1.0")
SPACK_STACK_BATCH_COMPILERS=("oneapi@=2024.2.1" "oneapi@=2025.3.0" "gcc@=13.4.0" "clang@=22.1.0")
SPACK_STACK_BATCH_TEMPLATES=("neptune-dev" "neptune-dev-llvm" "unified-dev" "cylc-dev")
SPACK_STACK_MODULE_CHOICE="lmod"
SPACK_STACK_BOOTSTRAP_MIRROR="/neptune_diagnostics/spack-stack/bootstrap-mirror"
Expand Down Expand Up @@ -166,7 +166,7 @@ case ${SPACK_STACK_BATCH_HOST} in
SPACK_STACK_CARGO_MIRROR="/home/dom/prod/spack-cargo-mirror"
;;
bounty)
SPACK_STACK_BATCH_COMPILERS=("oneapi@=2025.3.0" "gcc@=13.3.1" "clang@=21.1.1")
SPACK_STACK_BATCH_COMPILERS=("oneapi@=2025.3.0" "gcc@=13.3.1" "clang@=22.1.1")
SPACK_STACK_BATCH_TEMPLATES=("neptune-dev" "neptune-dev-llvm" "unified-dev" "cylc-dev")
SPACK_STACK_MODULE_CHOICE="tcl"
SPACK_STACK_BOOTSTRAP_MIRROR="/home/dom/prod/spack-bootstrap-mirror"
Expand Down Expand Up @@ -412,9 +412,9 @@ for compiler in "${SPACK_STACK_BATCH_COMPILERS[@]}"; do
umask 0022
module purge
case ${compiler} in
clang@=21.1.0)
module use /gpfs/neptune/spack-stack/llvm-21.1.0/modulefiles
module use /gpfs/neptune/spack-stack/openmpi-4.1.8/llvm-21.1.0/modulefiles
clang@=22.1.0)
module use /gpfs/neptune/spack-stack/llvm-22.1.0/modulefiles
module use /gpfs/neptune/spack-stack/openmpi-4.1.8/llvm-22.1.0/modulefiles
;;
gcc@=13.4.0)
module use /gpfs/neptune/spack-stack/gcc-13.4.0/modulefiles
Expand Down