@@ -34,7 +34,17 @@ for more information about contributing containers to this registry.
3434Really Quick Start
3535==================
3636
37- Once you have shpc installed, you can easily install, load, and use modules:
37+ Once you have shpc installed, make sure you tell shpc what your module software is
38+ (note that you only need to run this command if you aren't using Lmod, which is the
39+ default).
40+
41+ .. code-block :: console
42+
43+ $ shpc config set module_sys:tcl
44+ $ shpc config set module_sys:lmod # default
45+
46+
47+ You can then easily install, load, and use modules:
3848
3949.. code-block :: console
4050
@@ -44,25 +54,41 @@ Once you have shpc installed, you can easily install, load, and use modules:
4454
4555
4656 The above assumes that you've installed the software, and have already
47- added the modules folder to be seen by your module software. This step is shown in detail
48- in the next section.
57+ added the modules folder to be seen by your module software. If your module
58+ software doesn't see the module, remember that you need to have done:
59+
60+ .. code-block :: console
61+
62+ $ module use ./modules
63+
64+
65+ We walk through these steps in more detail in the next section.
4966
5067
5168Quick Start
5269===========
5370
5471After :ref: `getting_started-installation `, and let's say shpc is installed
55- at ``~/singularity-hpc `` you can edit your settings in ``settings.yaml `` and
56- then install a container:
72+ at ``~/singularity-hpc `` you can edit your settings in ``settings.yaml ``.
73+ Importantly, make sure your shpc install is configured to use the right module
74+ software, which is typicall lmod or tcl. Here is how to change from the default
75+ "lmod" to "tcl" and then back:
76+
77+ .. code-block :: console
78+
79+ $ shpc config set module_sys:tcl
80+ $ shpc config set module_sys:lmod # this is the default, which we change back to!
81+
82+
83+ Once you have the correct module software indicated, try installing a container:
5784
5885.. code-block :: console
5986
6087 $ shpc install python
6188
62- Add the modules folder to your lmod (you can run this in a bash profile or
63- manually, and note that if you want to use Environment Modules, you need to add
64- ``--module-sys tcl ``).
65-
89+ Make sure that the local ./modules folder can be seen by your module software
90+ (you can run this in a bash profile or manually, and note that if you want to
91+ use Environment Modules, you need to add ``--module-sys tcl ``).
6692
6793.. code-block :: console
6894
0 commit comments