From 7f814971a5b594a0a99699b261fc8824ab92e560 Mon Sep 17 00:00:00 2001 From: George Hartzell Date: Fri, 6 Jul 2018 10:06:53 -0700 Subject: Clear up a bit of modules/dotkit confusion (#8650) `use` is an overloaded word between dotkit, modules and spack. Add additional words to make the distinction clear in the docs. --- lib/spack/docs/module_file_support.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/spack/docs/module_file_support.rst b/lib/spack/docs/module_file_support.rst index d7ef18f290..471ef3aca5 100644 --- a/lib/spack/docs/module_file_support.rst +++ b/lib/spack/docs/module_file_support.rst @@ -113,8 +113,10 @@ Modules Dotkit ========================= ========================== And you can use the same shortened names you use everywhere else in -Spack. For example, this will add the ``mpich`` package built with -``gcc`` to your path: +Spack. + +For example, if you are using dotkit, this will add the ``mpich`` +package built with ``gcc`` to your path: .. code-block:: console @@ -122,16 +124,16 @@ Spack. For example, this will add the ``mpich`` package built with # ... wait for install ... - $ spack use mpich %gcc@4.4.7 + $ spack use mpich %gcc@4.4.7 # dotkit Prepending: mpich@3.0.4%gcc@4.4.7 (ok) $ which mpicc ~/spack/opt/linux-debian7-x86_64/gcc@4.4.7/mpich@3.0.4/bin/mpicc -Or, similarly with modules, you could type: +Or, similarly if you are using modules, you could type: .. code-block:: console - $ spack load mpich %gcc@4.4.7 + $ spack load mpich %gcc@4.4.7 # modules These commands will add appropriate directories to your ``PATH``, ``MANPATH``, ``CPATH``, and ``LD_LIBRARY_PATH``. When you no longer -- cgit v1.2.3-70-g09d2