Skip to content

Commit 507945e

Browse files
Merge branch 'develop' into gaeac6
2 parents 1d50e9c + bcd2931 commit 507945e

26 files changed

+479
-113
lines changed

configs/common/packages.yaml

Lines changed: 9 additions & 2 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'
@@ -305,9 +307,14 @@ packages:
305307
# Note - we can remove upp from stack at some point?
306308
upp:
307309
require: '@10.0.10'
308-
# Need extradeps for grib-utils, enable by default to avoid duplicate packages
310+
# Need extradeps for grib-utils, which ties us to w3ecm@:2.11
309311
w3emc:
310-
require: '@2.10.0 precision=4,d,8 +extradeps'
312+
require:
313+
- '@:2.11.0'
314+
- 'precision=4,d,8 +extradeps'
315+
# https://github.com/NOAA-EMC/NCEPLIBS-w3emc/issues/246
316+
- one_of: ['@2.10.0']
317+
when: "%clang"
311318
w3nco:
312319
require: '@2.4.1'
313320
# See macOS site config for wgrib2 version/variant overrides

configs/containers/specs/jedi-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
py-shapely,
4646
py-xarray,
4747
48-
w3emc@2.10.0,
48+
w3emc,
4949
nco,
5050
5151

configs/sites/tier1/blueback/compilers.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ compilers::
4242
set:
4343
CONFIG_SITE: ''
4444
CRAY_CPU_TARGET: x86-genoa
45+
# Force ifort not ifx
46+
INTEL_COMPILER_TYPE: 'RECOMMENDED'
4547
extra_rpaths: []
4648
- compiler:
4749
spec: oneapi@=2025.0.4

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/jet/compilers.yaml

Lines changed: 0 additions & 31 deletions
This file was deleted.

configs/sites/tier1/jet/packages_gcc.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

configs/sites/tier1/jet/packages_intel.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

configs/sites/tier1/narwhal/compilers.yaml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,4 @@
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.4.0
14-
- intel-classic/2023.2.0
15-
- cray-libsci/23.05.1.4
16-
- libfabric/1.12.1.2.2.1
17-
environment:
18-
prepend_path:
19-
PATH: '/opt/cray/pe/gcc/10.3.0/snos/bin'
20-
CPATH: '/opt/cray/pe/gcc/10.3.0/snos/include'
21-
LD_LIBRARY_PATH: '/opt/cray/libfabric/1.12.1.2.2.1/lib64:/opt/cray/pe/libsci/23.05.1.4/INTEL/2022.2/x86_64/lib:/opt/cray/pe/gcc/10.3.0/snos/lib:/opt/cray/pe/gcc/10.3.0/snos/lib64'
22-
set:
23-
CRAYPE_LINK_TYPE: 'dynamic'
24-
extra_rpaths:
25-
- /opt/cray/pe/libsci/23.05.1.4/INTEL/2022.2/x86_64/lib
262
- compiler:
273
284
paths:
@@ -47,6 +23,8 @@ compilers::
4723
CPATH: '/opt/intel/oneapi_2024.2.0.634/compiler/2024.2/opt/compiler/include/intel64'
4824
set:
4925
CRAYPE_LINK_TYPE: 'dynamic'
26+
# Force ifort not ifx
27+
INTEL_COMPILER_TYPE: 'RECOMMENDED'
5028
extra_rpaths:
5129
- /opt/cray/pe/libsci/23.05.1.4/INTEL/2022.2/x86_64/lib
5230
- compiler:

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: []

0 commit comments

Comments
 (0)