Skip to content
Snippets Groups Projects
Commit 7f814971 authored by George Hartzell's avatar George Hartzell Committed by Adam J. Stewart
Browse files

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.
parent cf140b5f
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment