Skip to content

Commit 15297ed

Browse files
authored
Merge branch 'develop' into feature/update_derecho_jul2025
2 parents 7410ea5 + 0ba5216 commit 15297ed

24 files changed

+645
-29
lines changed

configs/common/packages.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ packages:
171171
mapl:
172172
require: '@2.53 ~shared ~f2py'
173173
variants: '+pflogger'
174+
# Note: Please check the sites/tier1/nas/packages_gcc.yaml if
175+
# this is changed, as it has a custom variant combination
174176
met:
175177
require:
176178
- '@12.0.1'

configs/sites/tier1/gaea-c6/compilers.yaml

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,30 @@
11
compilers:
2+
- compiler:
3+
4+
paths:
5+
cc: cc
6+
cxx: CC
7+
f77: ftn
8+
fc: ftn
9+
flags: {}
10+
operating_system: sles15
11+
target: x86_64
12+
modules:
13+
- PrgEnv-intel/8.6.0
14+
- intel/2024.2
15+
- craype/2.7.34
16+
- cray-libsci/24.11.0
17+
- libfabric/1.20.1
18+
environment:
19+
prepend_path:
20+
LD_LIBRARY_PATH: '/opt/cray/libfabric/1.20.1/lib64:/opt/cray/pe/libsci/24.07.0/INTEL/2023.2/x86_64/lib:/usr/lib64/gcc/x86_64-suse-linux/12:/opt/intel/oneapi/compiler/2024.2/lib'
21+
set:
22+
# OpenSUSE on Gaea C6 sets CONFIG_SITE so
23+
# Automake-based builds are installed in lib64
24+
# which confuses some packages.
25+
CONFIG_SITE: ''
26+
extra_rpaths:
27+
- /opt/intel/oneapi/compiler/2024.2/lib
228
- compiler:
329
430
paths:
@@ -11,6 +37,7 @@ compilers:
1137
cxxflags: "-gxx-name=/usr/bin/g++-12 -gcc-name=/usr/bin/gcc-12 -static-libstdc++"
1238
fflags: "-gcc-name=/usr/bin/gcc-12"
1339
operating_system: sles15
40+
target: x86_64
1441
modules:
1542
- PrgEnv-intel/8.5.0
1643
- intel-classic/2023.2.0
@@ -34,10 +61,16 @@ compilers:
3461
fc: /usr/bin/gfortran-12
3562
flags: {}
3663
operating_system: sles15
64+
target: x86_64
3765
modules:
38-
- PrgEnv-gnu/8.5.0
66+
- PrgEnv-gnu/8.6.0
3967
- gcc-native/12.3
40-
- craype/2.7.30
41-
- libfabric/1.20.1
68+
- craype/2.7.34
69+
- libfabric/1.20.1
70+
- cray-libsci/24.11.0
71+
- libfabric/1.20.1
4272
environment: {}
43-
extra_rpaths: []
73+
prepend_path:
74+
LD_LIBRARY_PATH: '/opt/cray/libfabric/1.20.1/lib64:/opt/cray/pe/libsci/24.07.0/INTEL/2023.2/x86_64/lib:/usr/lib64/gcc/x86_64-suse-linux/12:/opt/intel/oneapi/compiler/2024.2/lib'
75+
extra_rpaths:
76+
- /opt/intel/oneapi/compiler/2024.2/lib
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
packages:
2+
all:
3+
compiler:: [[email protected]]
4+
providers:
5+
6+
mpi:
7+
buildable: False
8+
cray-mpich:
9+
externals:
10+
11+
prefix: /opt/cray/pe/mpich/8.1.32/ofi/gnu/12.3
12+
modules:
13+
- craype-network-ofi
14+
- cray-mpich/8.1.32
15+
gcc-runtime:
16+
externals:
17+
18+
prefix: /usr
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
packages:
2+
all:
3+
4+
providers:
5+
6+
7+
### MPI, Python, MKL
8+
mpi:
9+
buildable: False
10+
cray-mpich:
11+
buildable: False
12+
externals:
13+
14+
prefix: /opt/cray/pe/mpich/8.1.32/ofi/intel/2022.1
15+
modules:
16+
- cray-mpich/8.1.32
17+
- craype-network-ofi
18+
intel-oneapi-runtime:
19+
buildable: False
20+
externals:
21+
22+
prefix: /opt/intel/oneapi/compiler/2024.2
23+
intel-oneapi-mkl:
24+
buildable: False
25+
externals:
26+
27+
prefix: /opt/intel/oneapi
28+
29+
### Modification of common packages
30+
bison:
31+
require:
32+
- '%gcc'
33+
ectrans:
34+
require::
35+
- '@1.2.0 +mkl ~fftw'
36+
gsibec:
37+
require::
38+
- '@1.2.1 ~mkl'
39+
py-numpy:
40+
require::
41+
- '@1.26'
42+
- '^openblas'

configs/sites/tier1/hercules/packages_oneapi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ packages:
3939
gsibec:
4040
require::
4141
- '@1.2.1 ~mkl'
42+
py-maturin:
43+
require:
44+
- '%gcc'
4245
py-numpy:
4346
require::
4447
- '@1.26'
4548
- '^openblas'
4649
py-scipy:
4750
require:
48-
'%gcc'
49-
zlib-ng:
50-
require:
51-
- '~shared'
51+
- '%gcc'

configs/sites/tier1/nas/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# How to build spack-stack at NAS
2+
3+
## Generic
4+
5+
```
6+
git clone --recursive https://github.com/JCSDA/spack-stack.git -b release/1.9.0 spack-stack-1.9.1
7+
```
8+
9+
## oneapi
10+
11+
```
12+
cd spack-stack-1.9.1
13+
. setup.sh
14+
spack stack create env --name ue-oneapi-2024.2.0 --template unified-dev --site nas --compiler oneapi
15+
cd envs/ue-oneapi-2024.2.0
16+
spack env activate .
17+
spack concretize 2>&1 | tee log.concretize
18+
spack install --verbose --fail-fast --show-log-on-error --no-check-signature 2>&1 | tee log.install
19+
```
20+
21+
NOTE: You might need to run the `spack install` command multiple times because sometimes
22+
it just fails. But then you run it more and more and it will eventually succeed.
23+
24+
```
25+
spack module tcl refresh -y
26+
spack stack setup-meta-modules
27+
spack env deactivate
28+
```
29+
30+
## gcc
31+
32+
```
33+
cd spack-stack-1.9.1
34+
. setup.sh
35+
spack stack create env --name ue-gcc-12.3.0 --template unified-dev --site nas --compiler gcc
36+
cd envs/ue-gcc-12.3.0
37+
spack env activate .
38+
spack concretize 2>&1 | tee log.concretize
39+
spack install --verbose --fail-fast --show-log-on-error --no-check-signature 2>&1 | tee log.install
40+
```
41+
42+
NOTE: You might need to run the `spack install` command multiple times because sometimes
43+
it just fails. But then you run it more and more and it will eventually succeed.
44+
45+
```
46+
spack module tcl refresh -y
47+
spack stack setup-meta-modules
48+
spack env deactivate
49+
```
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
compilers:
2+
- compiler:
3+
spec: oneapi@=2024.2.0
4+
paths:
5+
cc: /nobackup/gmao_SIteam/intel/oneapi/compiler/2024.2/bin/icx
6+
cxx: /nobackup/gmao_SIteam/intel/oneapi/compiler/2024.2/bin/icpx
7+
f77: /nobackup/gmao_SIteam/intel/oneapi/compiler/2024.2/bin/ifort
8+
fc: /nobackup/gmao_SIteam/intel/oneapi/compiler/2024.2/bin/ifort
9+
flags: {}
10+
operating_system: rhel8
11+
target: x86_64
12+
modules:
13+
- comp-intel/2024.2.0-ifort
14+
environment:
15+
prepend_path:
16+
PATH: '/nobackup/gmao_SIteam/gcc/gcc-12.3.0-TOSS4/bin'
17+
CPATH: '/nobackup/gmao_SIteam/gcc/gcc-12.3.0-TOSS4/include'
18+
LD_LIBRARY_PATH: '/nobackup/gmao_SIteam/intel/oneapi/compiler/2024.2/lib/:/nobackup/gmao_SIteam/gcc/gcc-12.3.0-TOSS4/lib64'
19+
set:
20+
MPI_COLL_REPRODUCIBLE: 'yes'
21+
MPI_MEMMAP_OFF: 'yes'
22+
MPI_XPMEM_ENABLED: 'yes'
23+
MPI_LAUNCH_TIMEOUT: '40'
24+
MPI_COMM_MAX: '1024'
25+
MPI_GROUP_MAX: '1024'
26+
MPI_BUFS_PER_PROC: '256'
27+
unset:
28+
- MPI_NUM_MEMORY_REGIONS
29+
- SUPPRESS_XPMEM_TRIM_THRESH
30+
- PMI_RANK
31+
extra_rpaths: []
32+
- compiler:
33+
spec: gcc@=12.3.0
34+
paths:
35+
cc: /nobackup/gmao_SIteam/gcc/gcc-12.3.0-TOSS4/bin/gcc
36+
cxx: /nobackup/gmao_SIteam/gcc/gcc-12.3.0-TOSS4/bin/g++
37+
f77: /nobackup/gmao_SIteam/gcc/gcc-12.3.0-TOSS4/bin/gfortran
38+
fc: /nobackup/gmao_SIteam/gcc/gcc-12.3.0-TOSS4/bin/gfortran
39+
flags: {}
40+
operating_system: rhel8
41+
target: x86_64
42+
modules:
43+
- comp-gcc/12.3.0-TOSS4
44+
environment:
45+
set:
46+
OMPI_MCA_mpi_preconnect_all: 1
47+
OMPI_MCA_coll_tuned_bcast_algorithm: 7
48+
OMPI_MCA_coll_tuned_scatter_algorithm: 2
49+
OMPI_MCA_coll_tuned_reduce_scatter_algorithm: 3
50+
OMPI_MCA_coll_tuned_allreduce_algorithm: 3
51+
OMPI_MCA_coll_tuned_allgather_algorithm: 4
52+
OMPI_MCA_coll_tuned_allgatherv_algorithm: 3
53+
OMPI_MCA_coll_tuned_gather_algorithm: 1
54+
OMPI_MCA_coll_tuned_barrier_algorithm: 0
55+
OMPI_MCA_coll_tuned_use_dynamic_rules: 1
56+
OMPI_MCA_sharedfp: '^lockedfile,individual'
57+
extra_rpaths: []
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
config:
2+
build_jobs: 6
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
mirrors:
2+
local-source:
3+
fetch:
4+
url: file:///nobackup/gmao_SIteam/spack-stack/source-cache
5+
access_pair:
6+
- null
7+
- null
8+
access_token: null
9+
profile: null
10+
endpoint_url: null
11+
push:
12+
url: file:///nobackup/gmao_SIteam/spack-stack/source-cache
13+
access_pair:
14+
- null
15+
- null
16+
access_token: null
17+
profile: null
18+
endpoint_url: null
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
modules:
2+
default:
3+
enable::
4+
- tcl
5+
tcl:
6+
include:
7+
# List of packages for which we need modules that are blacklisted by default
8+
- python

0 commit comments

Comments
 (0)