Skip to content

Commit 7c2da4b

Browse files
authored
Update Atlantis and Nautilus: add [email protected] stack (#1707)
Update gcc@11 stacks on Atlantis and Nautilus to [email protected]. No changes are made for the gcc backend for Intel oneAPI. For both systems, the existing OpenMPI installations are used (provided by the system administrators).
1 parent c6bcb7a commit 7c2da4b

File tree

9 files changed

+67
-28
lines changed

9 files changed

+67
-28
lines changed

configs/common/packages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ packages:
274274
require: '@69'
275275
py-setuptools-rust:
276276
require: '+rust_bootstrap'
277-
# When making changes here, also check the tier2/blackpearl/packages.yaml
277+
# When making changes here, also check the packages.yaml for atlantis, nautilus, blackpearl
278278
py-torch:
279279
require:
280280
- '+custom-protobuf ~mkldnn'

configs/sites/tier1/atlantis/compilers.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,25 @@ compilers:
3131
modules:
3232
- gcc/11.2.0
3333
environment: {}
34-
extra_rpaths: []
34+
# For compiling parallel-netcdf; Bright must have removed some symbolic links required for OpenMPI 4.1.5a1 ...
35+
extra_rpaths: [/gpfs/neptune/spack-stack/openmpi-4.1.5-fix-lib]
36+
- compiler:
37+
38+
paths:
39+
cc: /gpfs/neptune/spack-stack/gcc-13.4.0/bin/gcc
40+
cxx: /gpfs/neptune/spack-stack/gcc-13.4.0/bin/g++
41+
f77: /gpfs/neptune/spack-stack/gcc-13.4.0/bin/gfortran
42+
fc: /gpfs/neptune/spack-stack/gcc-13.4.0/bin/gfortran
43+
flags: {}
44+
operating_system: rhel8
45+
target: x86_64
46+
modules:
47+
- gcc/13.4.0
48+
environment:
49+
prepend_path:
50+
MODULEPATH: /gpfs/neptune/spack-stack/openmpi-5.0.6/gcc-13.4.0/modulefiles:/gpfs/neptune/spack-stack/gcc-13.4.0/modulefiles
51+
# For compiling parallel-netcdf; Bright must have removed some symbolic links required for OpenMPI 4.1.5a1 ...
52+
extra_rpaths: [/gpfs/neptune/spack-stack/openmpi-4.1.5-fix-lib]
3553
- compiler:
3654
3755
paths:

configs/sites/tier1/atlantis/packages.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ packages:
1111
externals:
1212
1313
prefix: /usr
14+
# Pin py-torch to 2.5.1 to avoid build errors with 2.6.0
15+
py-torch:
16+
require:
17+
- '@2.5.1'
1418

1519
# All other packages listed alphabetically
1620
autoconf:

configs/sites/tier1/atlantis/packages_gcc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
packages:
22
all:
3-
compiler:: [gcc@11.2.0]
3+
compiler:: [gcc@13.4.0]
44
providers:
55
66
mpi:
77
buildable: False
88
openmpi:
99
buildable: False
1010
externals:
11-
- spec: [email protected]%gcc@=11.2.0~cuda~cxx~cxx_exceptions~java~memchecker+pmi~static~wrapper-rpath fabrics=ucx schedulers=slurm
11+
- spec: [email protected] ~cuda~cxx~cxx_exceptions~java~memchecker+pmi~static~wrapper-rpath fabrics=ucx schedulers=slurm %gcc@=13.4.0
1212
# Note: slurm must be loaded before openmpi on Atlantis
1313
modules:
1414
- slurm

configs/sites/tier1/nautilus/compilers.yaml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,6 @@ compilers::
1515
- amd/aocl/aocc/4.0
1616
environment: {}
1717
extra_rpaths: []
18-
- compiler:
19-
20-
paths:
21-
cc: /p/app/compilers/intel/oneapi/compiler/2022.0.2/linux/bin/intel64/icc
22-
cxx: /p/app/compilers/intel/oneapi/compiler/2022.0.2/linux/bin/intel64/icpc
23-
f77: /p/app/compilers/intel/oneapi/compiler/2022.0.2/linux/bin/intel64/ifort
24-
fc: /p/app/compilers/intel/oneapi/compiler/2022.0.2/linux/bin/intel64/ifort
25-
flags: {}
26-
operating_system: rhel8
27-
target: x86_64
28-
modules:
29-
- slurm
30-
- intel/compiler/2022.0.2
31-
environment:
32-
prepend_path:
33-
PATH: '/opt/rh/gcc-toolset-11/root/usr/bin'
34-
CPATH: '/opt/rh/gcc-toolset-11/root/usr/include'
35-
LD_LIBRARY_PATH: '/opt/scyld/slurm/lib64:/opt/scyld/slurm/lib64/slurm:/p/app/compilers/intel/oneapi/compiler/2022.0.2/linux/compiler/lib/intel64_lin:/opt/rh/gcc-toolset-11/root/usr/lib64:/opt/rh/gcc-toolset-11/root/usr/lib'
36-
extra_rpaths: []
3718
- compiler:
3819
3920
paths:
@@ -99,3 +80,20 @@ compilers::
9980
- scl/gcc-toolset-11
10081
environment: {}
10182
extra_rpaths: []
83+
- compiler:
84+
85+
paths:
86+
cc: /p/app/projects/NEPTUNE/spack-stack/gcc-13.4.0/bin/gcc
87+
cxx: /p/app/projects/NEPTUNE/spack-stack/gcc-13.4.0/bin/g++
88+
f77: /p/app/projects/NEPTUNE/spack-stack/gcc-13.4.0/bin/gfortran
89+
fc: /p/app/projects/NEPTUNE/spack-stack/gcc-13.4.0/bin/gfortran
90+
flags: {}
91+
operating_system: rhel8
92+
target: x86_64
93+
modules:
94+
- slurm
95+
- gcc/13.4.0
96+
environment:
97+
prepend_path:
98+
MODULEPATH: '/p/app/projects/NEPTUNE/spack-stack/gcc-13.4.0/modulefiles'
99+
extra_rpaths: []

configs/sites/tier1/nautilus/packages.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ packages:
1212
1313
prefix: /usr
1414

15+
# Pin py-torch to 2.5.1 to avoid build errors with 2.6.0
16+
py-torch:
17+
require:
18+
- '@2.5.1'
19+
1520
# All other packages listed alphabetically
1621
autoconf:
1722
externals:

configs/sites/tier1/nautilus/packages_gcc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
packages:
22
all:
3-
compiler:: [gcc@11.2.1]
3+
compiler:: [gcc@13.4.0]
44
providers:
55
66
mpi:
77
buildable: False
88
openmpi:
99
externals:
10-
- spec: [email protected]~cuda~java~memchecker~static~wrapper-rpath fabrics=ucx schedulers=slurm %gcc@11.2.1
10+
- spec: [email protected]~cuda~java~memchecker~static~wrapper-rpath fabrics=ucx schedulers=slurm %gcc@13.4.0
1111
prefix: /p/app/penguin/openmpi/5.0.1/gcc-8.5.0
1212
modules:
1313
- penguin/openmpi/5.0.1/gcc-8.5.0

doc/source/PreConfiguredSites.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,19 @@ The following is required for building new spack environments with any supported
153153
NAVY HPCMP Nautilus
154154
------------------------------
155155

156-
The following is required for building new spack environments with any supported compiler on this platform.
156+
The following is required for building new spack environments with any supported compiler on this platform. For ``[email protected]``, see the additional instructions below.
157157

158158
.. code-block:: console
159159
160160
umask 0022
161161
module purge
162162
163+
For ``[email protected]``, further run:
164+
165+
.. code-block:: console
166+
167+
module use /p/app/projects/NEPTUNE/spack-stack/gcc-13.4.0/modulefiles
168+
163169
164170
.. _Preconfigured_Sites_Blueback:
165171

util/nrl/batch_install.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ SPACK_STACK_BATCH_HOST=${SPACK_STACK_BATCH_HOST//[0-9]/}
105105

106106
case ${SPACK_STACK_BATCH_HOST} in
107107
atlantis)
108-
SPACK_STACK_BATCH_COMPILERS=("oneapi@=2024.2.1" "oneapi@=2025.0.3" "gcc@=11.2.0" "clang@=20.1.5")
108+
SPACK_STACK_BATCH_COMPILERS=("oneapi@=2024.2.1" "oneapi@=2025.0.3" "gcc@=13.4.0" "clang@=20.1.5")
109109
SPACK_STACK_BATCH_TEMPLATES=("neptune-dev" "unified-dev" "cylc-dev")
110110
SPACK_STACK_MODULE_CHOICE="lmod"
111111
SPACK_STACK_BOOTSTRAP_MIRROR="/neptune_diagnostics/spack-stack/bootstrap-mirror"
@@ -133,7 +133,7 @@ case ${SPACK_STACK_BATCH_HOST} in
133133
SPACK_STACK_CARGO_MIRROR="/p/cwfs/projects/NEPTUNE/spack-stack/cargo-mirror"
134134
;;
135135
nautilus)
136-
SPACK_STACK_BATCH_COMPILERS=("oneapi@=2024.2.1" "oneapi@=2025.1.1" "gcc@=11.2.1")
136+
SPACK_STACK_BATCH_COMPILERS=("oneapi@=2024.2.1" "oneapi@=2025.1.1" "gcc@=13.4.0")
137137
SPACK_STACK_BATCH_TEMPLATES=("neptune-dev" "unified-dev" "cylc-dev")
138138
SPACK_STACK_MODULE_CHOICE="tcl"
139139
SPACK_STACK_BOOTSTRAP_MIRROR="/p/cwfs/projects/NEPTUNE/spack-stack/bootstrap-mirror"
@@ -389,6 +389,9 @@ for compiler in "${SPACK_STACK_BATCH_COMPILERS[@]}"; do
389389
module use /gpfs/neptune/spack-stack/llvm-20.1.5/modulefiles
390390
module use /gpfs/neptune/spack-stack/openmpi-5.0.6/llvm-20.1.5/modulefiles
391391
;;
392+
gcc@=13.4.0)
393+
module use /gpfs/neptune/spack-stack/gcc-13.4.0/modulefiles
394+
;;
392395
esac
393396
;;
394397
blueback)
@@ -412,6 +415,11 @@ for compiler in "${SPACK_STACK_BATCH_COMPILERS[@]}"; do
412415
nautilus)
413416
umask 0022
414417
module purge
418+
case ${compiler} in
419+
gcc@=13.4.0)
420+
module use /p/app/projects/NEPTUNE/spack-stack/gcc-13.4.0/modulefiles
421+
;;
422+
esac
415423
;;
416424
tusk)
417425
umask 0022

0 commit comments

Comments
 (0)