Skip to content

Commit 77d0454

Browse files
committed
Fix more block quotes
1 parent 3ecb9ab commit 77d0454

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

tutorial_modules.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -634,8 +634,8 @@ This layout is quite simple to deploy, but you can see from the above snippet th
634634

635635
Even if ``conflicts`` directives are carefully placed in module files, they:
636636

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
639639

640640
`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.
641641
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
648648
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.
649649
There are just a few steps needed to adapt the ``modules.yaml`` file we used previously:
650650

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)
656656

657657
After these modifications your configuration file should look like:
658658

tutorial_stacks.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Setup the compiler
3939
The first step to build our stack is to setup the compiler we want to use later.
4040
This is currently an iterative process that can be done in two ways:
4141

42-
1. Install the compiler first, then register it in the environment
43-
2. Use a second environment just for the compiler
42+
1. Install the compiler first, then register it in the environment
43+
2. Use a second environment just for the compiler
4444

4545
Below, we'll use the first approach.
4646
For people interested, an example of the latter approach can be found `at this link <https://github.com/haampie/spack-intermediate-gcc-example/>`_.

0 commit comments

Comments
 (0)