Fix bugs in Modules Tutorial (#9821)
Found a couple bugs while trying to copy and paste the exact tutorial content.
This commit is contained in:
parent
16aa37bdfe
commit
b771b4015a
@ -182,7 +182,7 @@ our module path.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ . share/spack/setup_env.sh
|
$ . share/spack/setup-env.sh
|
||||||
|
|
||||||
.. FIXME: this needs bootstrap support for ``lmod``
|
.. FIXME: this needs bootstrap support for ``lmod``
|
||||||
|
|
||||||
@ -1130,8 +1130,8 @@ and update ``MODULEPATH`` to point to the ``Core``:
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ module purge
|
$ module purge
|
||||||
$ module unuse /home/spack1/spack/share/spack/modules/linux-ubuntu16.04-x86_64
|
$ module unuse $HOME/spack/share/spack/modules/linux-ubuntu16.04-x86_64
|
||||||
$ module use /home/spack1/spack/share/spack/lmod/linux-ubuntu16.04-x86_64/Core
|
$ module use $HOME/spack/share/spack/lmod/linux-ubuntu16.04-x86_64/Core
|
||||||
|
|
||||||
asking for the available modules will return:
|
asking for the available modules will return:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user