-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
47 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,13 @@ ln -s -r -v spack-config/v0.22/gadi/* spack/etc/spack/ | |
!!! success | ||
Your _Spack_ setup is complete! | ||
|
||
### Enable Spack | ||
## Enable Spack | ||
|
||
!!! warning | ||
This step needs to be carried out for any new login or new shell environment. | ||
|
||
``` | ||
cd /g/data/$PROJECT/$USER/spack/0.22 | ||
module purge | ||
. spack-config/spack-enable.bash | ||
``` | ||
|
@@ -64,13 +65,6 @@ module purge | |
To test _Spack_ we will create an `ACCESS-TEST` environment and build the relevant packages. It takes approximately 30 minutes to compile. Then, we will uninstall all the packages and remove the environment. | ||
|
||
|
||
### Prerequisite | ||
``` | ||
cd /g/data/$PROJECT/$USER/spack/0.22 | ||
module purge | ||
. spack-config/spack-enable.bash | ||
``` | ||
|
||
### Create the Spack managed environment | ||
|
||
``` | ||
|
@@ -84,7 +78,7 @@ spack env create test ACCESS-TEST/spack.yaml | |
<terminal-line><span class="indigo bold">\==></span> Activate with: <span class="cyan">spack env activate test</span></terminal-line> | ||
</terminal-window> | ||
|
||
### Start compiling | ||
### Compile packages | ||
|
||
``` | ||
spack env activate -p test | ||
|
@@ -134,20 +128,52 @@ spack install | |
<terminal-line>\==> [email protected] : has external module in ['openmpi/4.1.5']</terminal-line> | ||
<terminal-line>[+] /apps/openmpi/4.1.5 (external openmpi-4.1.5-uvea7q2exkjwz2v7azix3x4zfcddnc23)</terminal-line> | ||
<terminal-line>\==> Installing gmake-4.4.1-doeoclgsn63cvh7zfx3trjmyk7rlcqn4 [4/19]</terminal-line> | ||
<terminal-line>\==> No binary for gmake-4.4.1-doeoclgsn63cvh7zfx3trjmyk7rlcqn4 found: installing from source</terminal-line> | ||
<terminal-line>\==> Fetching https://mirror.spack.io/_source-cache/archive/dd/dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3.tar.gz</terminal-line> | ||
<terminal-line>\==> No patches needed for gmake</terminal-line> | ||
<terminal-line>\==> gmake: Executing phase: 'install'</terminal-line> | ||
<terminal-line>\==> gmake: Successfully installed gmake-4.4.1-doeoclgsn63cvh7zfx3trjmyk7rlcqn4</terminal-line> | ||
<terminal-line> Stage: 3.54s. Install: 2m 15.82s. Post-install: 0.31s. Total: 2m 20.90s</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/gmake-4.4.1-doeoclgsn63cvh7zfx3trjmyk7rlcqn4</terminal-line> | ||
<terminal-line>\==> Installing libaec-1.0.6-x4hw5jqq3zvnrgjicgweicomeaelulqq [5/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/libaec-1.0.6-x4hw5jqq3zvnrgjicgweicomeaelulqq</terminal-line> | ||
<terminal-line>\==> Installing zlib-ng-2.1.6-wa2x7rho3km6qpiki56dpjlpsce4c5n6 [6/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/zlib-ng-2.1.6-wa2x7rho3km6qpiki56dpjlpsce4c5n6</terminal-line> | ||
<terminal-line>\==> Installing snappy-1.1.10-wk4pvrufyvy7v3hxn5nwa3i3fncp3azm [7/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/snappy-1.1.10-wk4pvrufyvy7v3hxn5nwa3i3fncp3azm</terminal-line> | ||
<terminal-line>\==> Installing pkgconf-2.2.0-vrupasu7smpgcbarzpdwap45fcvjbjoa [8/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/pkgconf-2.2.0-vrupasu7smpgcbarzpdwap45fcvjbjoa</terminal-line> | ||
<terminal-line>\==> Installing zstd-1.5.6-kzc7pcve7csxlonb2uaxzgyyuqfx6cz4 [9/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/zstd-1.5.6-kzc7pcve7csxlonb2uaxzgyyuqfx6cz4</terminal-line> | ||
<terminal-line>\==> Installing lz4-1.9.4-7a5olrrnewy7kmlh5x4bstziuheiqkz4 [10/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/lz4-1.9.4-7a5olrrnewy7kmlh5x4bstziuheiqkz4</terminal-line> | ||
<terminal-line>\==> Installing libiconv-1.17-55ipnyeeqcpbfgaqfanu36viaqqni3sx [11/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/libiconv-1.17-55ipnyeeqcpbfgaqfanu36viaqqni3sx</terminal-line> | ||
<terminal-line>\==> Installing hdf5-1.14.3-aumsrgzvbh6grtyyegzuufilnqa7ftm7 [12/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/hdf5-1.14.3-aumsrgzvbh6grtyyegzuufilnqa7ftm7</terminal-line> | ||
<terminal-line>\==> Installing c-blosc-1.21.5-zrjfo567d2n6ctwayae77z3b54mf23yc [13/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/c-blosc-1.21.5-zrjfo567d2n6ctwayae77z3b54mf23yc</terminal-line> | ||
<terminal-line>\==> Installing diffutils-3.10-y7n7vkngczu47neysm3retisvlsmw53l [14/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/diffutils-3.10-y7n7vkngczu47neysm3retisvlsmw53l</terminal-line> | ||
<terminal-line>\==> Installing bzip2-1.0.8-357vng5dpd7w7s7lletycxccjbl45ngt [15/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/bzip2-1.0.8-357vng5dpd7w7s7lletycxccjbl45ngt</terminal-line> | ||
<terminal-line>\==> Installing netcdf-c-4.9.2-vob7om32jopqwss5jilrdtqqogjvcmzb [16/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/netcdf-c-4.9.2-vob7om32jopqwss5jilrdtqqogjvcmzb</terminal-line> | ||
<terminal-line>\==> Installing netcdf-fortran-4.6.1-ntfunrmysxanqqu7sqfmf66zdkd2xemy [17/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/netcdf-fortran-4.6.1-ntfunrmysxanqqu7sqfmf66zdkd2xemy</terminal-line> | ||
<terminal-line>\==> Installing oasis3-mct-git.2023.11.09=2023.11.09-kok5n7hvm374eicnidcedxhgxmmytc2p [18/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/oasis3-mct-git.2023.11.09_2023.11.09-kok5n7hvm374eicnidcedxhgxmmytc2p</terminal-line> | ||
<terminal-line>\==> Installing access-test-git.2024.09.20=2024.09.20-hmy75yl26hexivgsw7zhlvbnjgst3gwc [19/19]</terminal-line> | ||
<terminal-line>...</terminal-line> | ||
<terminal-line>\==> Waiting for access-test-git.2024.09.20=2024.09.20-hmy75yl26hexivgsw7zhlvbnjg\==> Installing access-test-git.2024.09.20=2024.09.20-hmy75yl26hexivgsw7zhlvbnjgst3gwc [19/19]</terminal-line> | ||
<terminal-line>\==> No binary for access-test-git.2024.09.20=2024.09.20-hmy75yl26hexivgsw7zhlvbnjgst3gwc found: installing from source</terminal-line> | ||
<terminal-line>\==> No patches needed for access-test</terminal-line> | ||
<terminal-line>\==> access-test: Executing phase: 'install'</terminal-line> | ||
<terminal-line>\==> access-test: Successfully installed access-test-git.2024.09.20=2024.09.20-hmy75yl26hexivgsw7zhlvbnjgst3gwc</terminal-line> | ||
<terminal-line> Stage: 0.00s. Install: 0.00s. Post-install: 0.37s. Total: 1.77s</terminal-line> | ||
<terminal-line>[+] /g/data/$PROJECT/$USER/spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/access-test-git.2024.09.20_2024.09.20-hmy75yl26hexivgsw7zhlvbnjgst3gwc</terminal-line> | ||
<terminal-line>\==> Updating view at /g/data/$PROJECT/$USER/spack/0.22/environments/test/.spack-env/view</terminal-line> | ||
</terminal-window> | ||
|