You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/environment/spack.md
+10-17Lines changed: 10 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@
7
7
[Spack](https://spack.io/about/) is an open-source package manager designed for installing, building, and managing scientific software across a wide range of system including from personal computers to super computers. It supports multiple versions, compilers, and configurations of software packages, all coexisting in a single system without conflict. Spack provides with [over 8,500 ](https://packages.spack.io/)official software packages available since the `v1.0.0` release.Additionally users can also create [custom packages](https://spack-tutorial.readthedocs.io/en/latest/tutorial_packaging.html) via `package.py` files for software not yet available in the Spack pre-defined [packages](https://spack.readthedocs.io/en/latest/package_fundamentals.html).
8
8
9
9
10
-
Similar to [EasyBuild](https://docs.easybuild.io/), [Spack](https://spack.io/about/) is also available on the UL HPC platform for managing and installing scientific software in more flexible and customizable way.
11
-
At present, the UL HPC environment includes a pre-installed version of Spack,namely `devel/Spack/0.21.2` which can be accessed via the module system.
10
+
<!--Similar to [EasyBuild](https://docs.easybuild.io/), [Spack](https://spack.io/about/) is also available on the UL HPC platform for managing and installing scientific software in more flexible and customizable way.
11
+
At present, the UL HPC environment includes a pre-installed version of Spack,namely `devel/Spack/0.21.2` which can be accessed via the module system.-->
12
12
13
13
??? question "Why use automatic building tools like [Easybuild](https://docs.easybuild.io) or [Spack](https://spack.io/) on HPC environments?"
14
14
@@ -34,18 +34,9 @@ At present, the UL HPC environment includes a pre-installed version of Spack,nam
34
34
35
35
## Setting up Spack.
36
36
37
-
For all tests and compilation with Spack, it is essential to run on a **compute node**, not in the login/access node.
38
-
39
-
??? note "Connection to a compute node"
40
-
41
-
Here's an example of how to allocate an [interactive session](../jobs/interactive.md) in **Aion cluster**.
42
-
43
-
```{.sh .copy}
44
-
si -N 1 -n 16 -c 1 -t 0-02:00:00
45
-
```
46
-
47
-
This command requests a [job](../jobs/submit.md) with 1 node, 16 MPI processes (-n 16), and 1 CPU core per process (-c 1).The -n 16 option allows running up to 16 parallel processes, which can accelerate builds spack.However, these values are only examples and are not mandatory. Users may adjust the resource allocation according to their requirements or omit certain options entirely for simpler use cases.
37
+
!!! warning "Connect to a compute node"
48
38
39
+
For all tests and compilation with Spack, it is essential to run on a [**compute node**](../systems/iris/compute.md), not in the [**login/access**](../connect/access.md). For detailed information on resource allocation and job submission, visit the [**Slurm Job Management System**](../slurm/index.md).
Cloning the Spack repository creates a directory named spack, and by default, it uses the develop branch. However for improved stability switching to the latest official [release](https://github.com/spack/spack/releases) is recommended. The current release tags at that time `v1.0.0`. and to checkout the most recnet release `v1.0.0` :
53
+
Cloning the Spack repository creates a directory named spack, and by default, it uses the develop branch. However for improved stability switching to the latest official [release](https://github.com/spack/spack/releases) is recommended. The current release tags at that time `v1.0.0`. and to checkout the most recent release `v1.0.0` :
63
54
64
55
```{ .sh .copy }
65
56
cd spack
@@ -242,12 +233,14 @@ Then, add the following contents, which instructs Spack to use system-provided v
242
233
```
243
234
244
235
245
-
## Software installtion with Spack
236
+
## Installing softwares with Spack
246
237
!!! Note
247
238
This section will include examples and detailed instructions on how to install software using Spack. Relevant official documentation will also be linked to guide users through advanced usage and best practices.
248
239
240
+
### Spack Binary Cache
241
+
249
242
250
-
### Useful Spack Commands.
243
+
<!--### Useful Spack Commands.
251
244
252
245
253
246
The following tables summarizes the basic commands for managing software packages with Spack, from searching and installation to managing the software environment.
@@ -283,7 +276,7 @@ Below is a list of commonly used Spack environment commands:
283
276
284
277
285
278
??? info "Further Reference"
286
-
For more technical details, see the official Spack documentation:<ahref="https://spack.readthedocs.io/en/latest/environments.html"target="_blank"><strong>Spack Environments</strong></a>
279
+
For more technical details, see the official Spack documentation:<a href="https://spack.readthedocs.io/en/latest/environments.html" target="_blank"><strong>Spack Environments</strong></a>-->
0 commit comments