diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-04-20 14:49:07 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-07-24 11:27:17 -0700 |
commit | 7cbe1aedb7c0ecc32d2cee3e965ec71570ee09d9 (patch) | |
tree | 9f009c347624f32f2f506d1664b903374a9cbce1 /share | |
parent | 576f0c98d2a32bb55765210ffbc9ddebb0864b70 (diff) | |
download | spack-7cbe1aedb7c0ecc32d2cee3e965ec71570ee09d9.tar.gz spack-7cbe1aedb7c0ecc32d2cee3e965ec71570ee09d9.tar.bz2 spack-7cbe1aedb7c0ecc32d2cee3e965ec71570ee09d9.tar.xz spack-7cbe1aedb7c0ecc32d2cee3e965ec71570ee09d9.zip |
module file tutorial: rebuilt docker image and updated the script
Diffstat (limited to 'share')
-rw-r--r-- | share/spack/docs/docker/module-file-tutorial/Dockerfile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/share/spack/docs/docker/module-file-tutorial/Dockerfile b/share/spack/docs/docker/module-file-tutorial/Dockerfile index a012492a98..8dfd51bf31 100644 --- a/share/spack/docs/docker/module-file-tutorial/Dockerfile +++ b/share/spack/docs/docker/module-file-tutorial/Dockerfile @@ -36,8 +36,7 @@ RUN spack install lmod && spack clean -a # Build a compiler RUN spack install gcc@7.2.0 && spack clean -a RUN /bin/bash -l -c ' \ - spack load gcc@7.2.0 \ - && spack compiler add' + spack compiler add $(spack location -i gcc@7.2.0)/bin' # Build the software on top of the compiler RUN spack install netlib-scalapack ^openmpi ^openblas %gcc@7.2.0 \ |