You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorial_modules.rst
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -634,8 +634,8 @@ This layout is quite simple to deploy, but you can see from the above snippet th
634
634
635
635
Even if ``conflicts`` directives are carefully placed in module files, they:
636
636
637
-
- won't enforce a consistent environment, but will just report an error
638
-
- need constant updates, for instance as soon as a new compiler or MPI library is installed
637
+
- won't enforce a consistent environment, but will just report an error
638
+
- need constant updates, for instance as soon as a new compiler or MPI library is installed
639
639
640
640
`Hierarchical module files <http://lmod.readthedocs.io/en/latest/080_hierarchy.html>`_ try to overcome these shortcomings by showing at start-up only a restricted view of what is available on the system: more specifically, only the software that has been installed with OS provided compilers.
641
641
Among this software, there will be other -- usually more recent -- compilers that, once loaded, will prepend new directories to ``MODULEPATH``, unlocking all the software that was compiled with them.
@@ -648,11 +648,11 @@ Core/Compiler/MPI
648
648
The most widely used hierarchy is the so called ``Core/Compiler/MPI`` where, on top of the compilers, different MPI libraries also unlock software linked to them.
649
649
There are just a few steps needed to adapt the ``modules.yaml`` file we used previously:
650
650
651
-
#. enable the ``lmod`` file generator
652
-
#. change the ``tcl`` tag to ``lmod``
653
-
#. remove the ``tcl`` specific ``conflict`` directive
654
-
#. declare which compilers are considered ``core_compilers``
655
-
#. remove the ``mpi`` related suffixes in projections (as they will be substituted by hierarchies)
651
+
#. enable the ``lmod`` file generator
652
+
#. change the ``tcl`` tag to ``lmod``
653
+
#. remove the ``tcl`` specific ``conflict`` directive
654
+
#. declare which compilers are considered ``core_compilers``
655
+
#. remove the ``mpi`` related suffixes in projections (as they will be substituted by hierarchies)
656
656
657
657
After these modifications your configuration file should look like:
0 commit comments