diff --git a/docs/getting_started/spack.md b/docs/getting_started/spack.md index fff1f1077..13958d5d1 100644 --- a/docs/getting_started/spack.md +++ b/docs/getting_started/spack.md @@ -1,5 +1,3 @@ -[spack_environments]: https://spack.readthedocs.io/en/latest/environments.html - # Set up Spack for building ACCESS models !!! danger @@ -7,9 +5,9 @@ [Spack](https://spack.io/about/) is a build-from-source package manager, specifically designed to simplify the installation of scientific software on supercomputers. -To use _Spack_, please familiarise yourself with the [Basic Usage instructions](https://spack.readthedocs.io/en/latest/basic_usage.html) and [Environments][spack_environments]. +To use _Spack_, please familiarise yourself with the [Basic Usage instructions](https://spack.readthedocs.io/en/latest/basic_usage.html) and [Environments](https://spack.readthedocs.io/en/latest/environments.html). -We also reccommend that you refer to the [Spack 101 Tutorial](https://spack-tutorial.readthedocs.io/en/latest/). +We also recommend that you refer to the [Spack 101 Tutorial](https://spack-tutorial.readthedocs.io/en/latest/). ## Prerequisites @@ -22,7 +20,8 @@ These instructions are tailored specifically for _Gadi_. To use _Spack_ on _Gadi Create a directory on the filesystem where _Spack_ will be installed (e.g. `/g/data/$PROJECT/$USER/`). This directory shall be referred to as ``. ``` -mkdir && cd $_ +mkdir +cd ``` ### Clone the relevant git repositories @@ -48,7 +47,7 @@ To test _Spack_ we will create an [ACCESS-OM2](/models/configurations/access-om# ``` module purge -cs +cd . spack-config/spack-enable.bash git clone https://github.com/ACCESS-NRI/ACCESS-OM2.git spack env create access-om2 ACCESS-OM2/spack.yaml