@@ -23,7 +23,7 @@ Unloading the environment module will restore the shell environment to its previ
2323Environment module files are processed via a ** modules tool** , of which there
2424are several conceptually similar yet slightly different implementations.
2525The oldest module tool still in use today is Environment Modules 3.2, implemented in C and
26- supporting module files written in Tcl. After a gap in developement , Xavier Delaruelle of CEA
26+ supporting module files written in Tcl. After a gap in development , Xavier Delaruelle of CEA
2727developed [ Environment Modules 4 and 5] ( https://sourceforge.net/projects/modules/ ) which is
2828fully implemented on Tcl. An alternative module tool is [ Lmod] ( https://lmod.readthedocs.io ) ,
2929developed by Robert McLay at TACC and implemented in LUA. This tool supports natively LUA
@@ -39,7 +39,7 @@ Lmod also has some powerful features that are lacking in Environment Modules 3.2
3939 On LUMI, Lmod was selected as the module tool. One area where there are significant
4040 differences between Environment Modules 3.2 (and also the newer versions) and Lmod is
4141 in the commands for discovering modules on the system. If you are not familiar with Lmod
42- and its commands for users, it is worthwile to read the
42+ and its commands for users, it is worthwhile to read the
4343 [ LUMI documentation page on Lmod] ( https://docs.lumi-supercomputer.eu/computing/Lmod_modules/ ) .
4444 Some of those commands are also discussed on this page.
4545
@@ -244,7 +244,7 @@ family('MPI')
244244prepend_path (' MODULEPATH' , ' moduleroot/MPI/Compiler_A/version_A/MPI_C/version_C' )
245245```
246246
247- Finally two vesions of the `` version_E.lua `` file are needed, one to prepare the environment for using the
247+ Finally two versions of the `` version_E.lua `` file are needed, one to prepare the environment for using the
248248package with Compiler_A anmd MPI_C and one for using the package with Compiler_B and MPI_C. However, these
249249are just regular modules and no additions are needed to work for the hierarchy.
250250
@@ -375,7 +375,7 @@ e.g., NumPy and SciPy for Python. Installing all those packages as separate modu
375375to make it easy to see if they are installed or not on a system would lead to an
376376overload of modules on the system.
377377
378- Similary , admins of a software stack may chose to bundle several libraries or tools
378+ Similarly , admins of a software stack may chose to bundle several libraries or tools
379379that are often used together in a single module (and single installation directory),
380380e.g., to reduce module clutter but also to reduce the length of the search paths for
381381binaries, libraries or manual pages to speed up loading of applications.
@@ -550,7 +550,7 @@ indicated version.
550550Lmod works by executing the module file. However, the actions of all Lmod-defined
551551functions will depend upon the mode in which Lmod is executing the module function,
552552and the module file can also detect in which mode it is executing.
553- Modes include " load" , " unload" but also " spider" . E.g., when te mode is " load" , the
553+ Modes include " load" , " unload" but also " spider" . E.g., when the mode is " load" , the
554554` ` setenv` ` function will set an environment variable to the indicated value while in
555555" unload" mode that environment variable will be unset, and in " spider" mode the
556556environment variable is left untouched. The working of ` ` prepend_path` ` , a function
@@ -564,7 +564,7 @@ in that PATH-style variable). When the mode is "spider", the function has specia
564564if it is used to change the ` ` MODULEPATH` ` . It will then note the change and add that
565565directory to the list of directories that has to be searched for module files.
566566This makes ` ` module spider` ` a very expensive command as it may have to traverse a lot
567- of directories and has to execute all module files in there. Therefor Lmod will build
567+ of directories and has to execute all module files in there. Therefore Lmod will build
568568a so-called spider cache which can be pre-built in the system for certain directories
569569and otherwise will be build in the user' s home directory (in the ``.lmod.d/.cache``
570570subdirectory). Our experience is that this cache tends to be rather fragile,
@@ -661,7 +661,7 @@ module load MyPythonPackage/1.0
661661Because of the *"one name rule"* this will again trigger an unload followed by a load
662662of the module. The problem is in the unload. One would expect that first unloading
663663``MyPythonPackage`` would remove the 2.7 directory from the ``PYTHON_PATH`` but it
664- will not. Lmod does not remeber that last time it loaded ``MyPythonPackage`` it added
664+ will not. Lmod does not remember that last time it loaded ``MyPythonPackage`` it added
665665the 2.7 directory to ``PythonPath``. Instead it will execute the commands in the
666666modulefile and reverse certain commands. Since ``PYTHON_API_VERSION`` has now the value
667667``3.6``, it will try to remove the directory for version ``3.6`` which is not in the
0 commit comments