Skip to content

Commit

Permalink
Update spack-mirroring.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lelandaisb authored Oct 2, 2023
1 parent 8c82fff commit 763d4fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/spack-mirroring.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ Activate the Spack environment used to build the image and create the mirror.

*Step 3*

Go to the `/spack/var/spack`, tar the cache directory of the previously created mirror in your local file system through the mounting point, `/mgx-mirror`in this example.
Go to the `/spack/var/spack`, tar the cache directory of the previously created mirror (with h option to follow symlinks) in your local file system through the mounting point, `/mgx-mirror`in this example.

cd /spack/var/spack
tar cvfz /mgx-mirror/cache.tar.gz cache
tar hcvfz /mgx-mirror/cache.tar.gz cache

Then, you can exit from the container and go the previously mounted directory on your computer, `/tmp/mgx-mirror`in this example.
Do not forget to download the last release of [spack LIHPC-CG recipes](https://github.com/LIHPC-Computational-Geometry/spack_recipes/releases) in the same directory.
Expand Down

0 comments on commit 763d4fe

Please sign in to comment.