|
27 | 27 |
|
28 | 28 | ```bash
|
29 | 29 | cd Cactus
|
30 |
| - gmake SpacetimeX-oneapi options=repos/SpacetimeX/Docs/compile-notes/frontera/configs/config-frontera-oneapi.cfg |
| 30 | + gmake SpacetimeX-oneapi options=repos/SpacetimeX/Docs/compile-notes/frontera/configs/config-frontera-oneapi-impi.cfg |
31 | 31 | cp repos/SpacetimeX/Docs/thornlist/spacetimex.th configs/SpacetimeX-oneapi/ThornList
|
32 | 32 | gmake -j24 SpacetimeX-oneapi
|
33 | 33 | ```
|
|
72 | 72 |
|
73 | 73 | * Create a dir where you want put `view` in (say `/work2/.../username/frontera/SpackView/oneapi`)
|
74 | 74 |
|
75 |
| -* Replace the last line of `oneapi-23.1.0/spack.yaml` with your own dir (say `/work2/.../username/frontera/SpackView/oneapi/view`) |
| 75 | +* Replace the last line of `oneapi23.1.0-impi21.9.0/spack.yaml` with your own dir (say `/work2/.../username/frontera/SpackView/oneapi/view`) |
76 | 76 |
|
77 |
| -* Replace the dir `/work2/08708/liwei/frontera/SpackView/oneapi/view` (with say `/work2/.../username/frontera/SpackView/oneapi/view`) in `configs/config-frontera-oneapi.cfg` |
| 77 | +* Replace the dir `/work2/08708/liwei/frontera/SpackView/oneapi23.1.0-impi21.9.0/view` (with say `/work2/.../username/frontera/SpackView/oneapi/view`) in `configs/config-frontera-oneapi-impi.cfg` |
78 | 78 |
|
79 | 79 | * Install other required packages
|
80 | 80 |
|
81 | 81 | ```bash
|
82 |
| - env TMPDIR=$WORK/tmp spack --env-dir ./oneapi-23.1.0 compiler find |
83 |
| - env TMPDIR=$WORK/tmp spack --env-dir ./oneapi-23.1.0 concretize --force |
84 |
| - env TMPDIR=$WORK/tmp spack --env-dir ./oneapi-23.1.0 install --fail-fast |
| 82 | + env TMPDIR=$WORK/tmp spack --env-dir ./oneapi23.1.0-impi21.9.0 compiler find |
| 83 | + env TMPDIR=$WORK/tmp spack --env-dir ./oneapi23.1.0-impi21.9.0 concretize --force |
| 84 | + env TMPDIR=$WORK/tmp spack --env-dir ./oneapi23.1.0-impi21.9.0 install --fail-fast |
85 | 85 | ```
|
86 | 86 |
|
87 | 87 | * Install SpacetimeX
|
88 | 88 |
|
89 | 89 | ```bash
|
90 | 90 | cd Cactus
|
91 |
| - gmake SpacetimeX-oneapi options=repos/SpacetimeX/Docs/compile-notes/frontera/configs/config-frontera-oneapi.cfg |
| 91 | + gmake SpacetimeX-oneapi options=config-frontera-oneapi-impi.cfg |
92 | 92 | cp repos/SpacetimeX/Docs/thornlist/spacetimex.th configs/SpacetimeX-oneapi/ThornList
|
93 | 93 | gmake -j24 SpacetimeX-oneapi
|
94 | 94 | ```
|
|
117 | 117 | spack compiler add ... # ... is the last line of previous command
|
118 | 118 | ```
|
119 | 119 |
|
120 |
| -* Create a dir where you want put `view` in (say `/work2/.../username/frontera/SpackView/gcc11.2.0-cuda11.8.0-impi19.0.9`) |
| 120 | +* Create a dir where you want put `view` in (say `/work2/.../username/frontera/SpackView/cuda`) |
121 | 121 |
|
122 |
| -* Replace the last line of `gcc11.2.0-cuda11.8.0-impi19.0.9/spack_yaml` with your dir (say `/work2/.../username/frontera/SpackView/gcc11.2.0-cuda11.8.0-impi19.0.9/view`) |
| 122 | +* Replace the last line of `gcc11.2.0-cuda11.8.0-impi19.0.9/spack_yaml` with your dir (say `/work2/.../username/frontera/SpackView/cuda/view`) |
123 | 123 |
|
124 |
| -* Replace the dir `/work2/08708/liwei/frontera/SpackView/gcc11.2.0-cuda11.8.0-impi19.0.9/view` (with say `/work2/.../username/frontera/SpackView/gcc11.2.0-cuda11.8.0-impi19.0.9/view`) |
125 |
| -in `config-frontera-gcc11.2.0-cuda11.8.0-impi19.0.9.cfg` |
| 124 | +* Replace the dir `/work2/08708/liwei/frontera/SpackView/gcc11.2.0-cuda11.8.0-impi19.0.9/view` (with say `/work2/.../username/frontera/SpackView/cuda/view`) |
| 125 | +in `config-frontera-gcc-cuda-impi.cfg` |
126 | 126 |
|
127 | 127 | * Install other required packages
|
128 | 128 |
|
|
0 commit comments