Bureaucrats, cc_docs_admin, cc_staff, rsnt_translations
2,807
edits
No edit summary |
No edit summary |
||
Line 73: | Line 73: | ||
'''We advise against loading modules automatically in your .bashrc.''' Instead we recommend that you load modules only when required, for example in your job scripts. To facilitate the repeated loading of a large number of modules we recommend you use a module collection. | '''We advise against loading modules automatically in your .bashrc.''' Instead we recommend that you load modules only when required, for example in your job scripts. To facilitate the repeated loading of a large number of modules we recommend you use a module collection. | ||
= Module collections (Lmod only) = | = Module collections (Lmod only) = | ||
Lmod allows you to create a collection of modules. To do so, first load the desired modules. For example: | Lmod allows you to create a collection of modules. To do so, first load the desired modules. For example: | ||
{{Command|module load gcc/ | {{Command|module load gcc/9.3 openmpi/4.0.3 mkl}} | ||
Then use the <code>save</code> sub-command to save this collection: | Then use the <code>save</code> sub-command to save this collection: |