Skip to content

Commit bcd2931

Browse files
Merge remote-tracking branch 'upstream/develop' into develop
2 parents 5dfe051 + d9931c8 commit bcd2931

23 files changed

+467
-86
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/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/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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
mirrors:
22
local-source:
33
fetch:
4-
url: file:///mnt/lfs4/HFIP/hfv3gfs/role.epic/spack-stack/source-cache
4+
url: file:///nobackup/gmao_SIteam/spack-stack/source-cache
55
access_pair:
66
- null
77
- null
88
access_token: null
99
profile: null
1010
endpoint_url: null
1111
push:
12-
url: file:///mnt/lfs4/HFIP/hfv3gfs/role.epic/spack-stack/source-cache
12+
url: file:///nobackup/gmao_SIteam/spack-stack/source-cache
1313
access_pair:
1414
- null
1515
- 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)