Skip to content

Commit 7190fb9

Browse files
committed
added spack section + primary docs( for feedback )
1 parent bc5711a commit 7190fb9

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/environment/spack.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
# The Spack: A Package Manager on the UL HPC Platform
1+
# Spack: A Package Manager on the UL HPC Platform
22

33
[<img width='400px' src='https://cdn.rawgit.com/spack/spack/develop/share/spack/logo/spack-logo-text.svg'/>](https://spack.readthedocs.io/en/latest/#)
44

5-
<!-- This should also be useful for other clusters where you want to use
6-
components (e.g. MPI, compilers) from the `module` system. -->
7-
8-
!!! note
9-
This guide is also applicable to other HPC clusters where users need to manage components such as MPI libraries, compilers, and other software through the `module` system.
105

116

127
## Introduction to Spack
@@ -16,6 +11,10 @@ A brief introduction to Spack will be added here.
1611

1712
## Setting up Spack
1813

14+
!!! note
15+
The guide is also applicable to other HPC clusters where users need to manage components such as MPI libraries, compilers, and other software through the `module` system.
16+
17+
1918
### Connection to a compute node
2019

2120

@@ -71,15 +70,17 @@ To make Spack available in your shell session, source its environment setup scri
7170
``` { .sh .copy }
7271
source $HOME/spack/share/spack/setup-env.sh
7372
```
74-
You may want to add this line to the file .`bashrc`for convenience.
73+
For convenience, this line can be added to the .`bashrc` file to make Spack automatically available in every new shell session.
7574

7675
### Define System-Provided Packages
77-
To avoid rebuilding packages already available as modules on your cluster (e.g., compilers, MPI, libraries), create a packages.yaml file under: `$HOME/.spack/packages.yaml`
76+
77+
`packages.yaml` A spack configuration file used to tell Spack what tools and versions already exist on the cluster, so Spack can use those instead of building everything again.Create a packages.yaml file under: `$HOME/.spack/packages.yaml`
7878

7979
``` { .sh .copy }
8080
touch $HOME/.spack/packages.yaml
8181
```
8282

83+
8384
with the following contents:
8485

8586
``` { .sh .copy }

0 commit comments

Comments
 (0)