@@ -34,7 +34,17 @@ for more information about contributing containers to this registry.
34
34
Really Quick Start
35
35
==================
36
36
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:
38
48
39
49
.. code-block :: console
40
50
@@ -44,25 +54,41 @@ Once you have shpc installed, you can easily install, load, and use modules:
44
54
45
55
46
56
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.
49
66
50
67
51
68
Quick Start
52
69
===========
53
70
54
71
After :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:
57
84
58
85
.. code-block :: console
59
86
60
87
$ shpc install python
61
88
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 ``).
66
92
67
93
.. code-block :: console
68
94
0 commit comments