Skip to content

Commit 6fdb56c

Browse files
committed
Further updates for NAS
1 parent 34e1fab commit 6fdb56c

File tree

3 files changed

+51
-16
lines changed

3 files changed

+51
-16
lines changed

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+
```

configs/sites/tier1/nas/compilers.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,3 @@ compilers:
5555
OMPI_MCA_coll_tuned_use_dynamic_rules: 1
5656
OMPI_MCA_sharedfp: '^lockedfile,individual'
5757
extra_rpaths: []
58-
## Needed for Intel backend
59-
#- compiler:
60-
#spec: gcc@=12.3.0
61-
#paths:
62-
#cc: /nobackup/gmao_SIteam/gcc/gcc-12.3.0-TOSS4/bin/gcc
63-
#cxx: /nobackup/gmao_SIteam/gcc/gcc-12.3.0-TOSS4/bin/g++
64-
#f77: /nobackup/gmao_SIteam/gcc/gcc-12.3.0-TOSS4/bin/gfortran
65-
#fc: /nobackup/gmao_SIteam/gcc/gcc-12.3.0-TOSS4/bin/gfortran
66-
#flags: {}
67-
#operating_system: rhel8
68-
#target: x86_64
69-
#modules:
70-
#- comp-gcc/12.3.0-TOSS4
71-
#environment: {}
72-
#extra_rpaths: []

configs/sites/tier1/nas/packages_gcc.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ packages:
3131
CPATH: /nobackup/gmao_SIteam/MPI/openmpi/4.1.8/gcc-12.3.0/include
3232
FPATH: /nobackup/gmao_SIteam/MPI/openmpi/4.1.8/gcc-12.3.0/include
3333
MANPATH: /nobackup/gmao_SIteam/MPI/openmpi/4.1.8/gcc-12.3.0/share/man
34-
# MAT: I cannot figure out how to get hdf-eos2 to build with GCC 14 on NAS
34+
# MAT: I cannot figure out how to get hdf-eos2 to build with GCC on NAS
35+
# When I try, it dies with an error trying to *patch* the code!
3536
# This turns off the variants of met that need it
3637
met:
3738
variants::

0 commit comments

Comments
 (0)