Environment modules is a tool that enables convenient modification of your environment. The most common use of this is to set the version of various software according to your need.
SCRP has the following prefined modules. Each module corresponds to a particular version of a software:
|Module||Default Version||Other Versions|
|r||4.1||4.2, mro-4.0, mro-3.5|
This list can be obtained by typing in a terminal:
To load a module, type:
module load [module/version]
For example, to set MATLAB to version 2020a, you would type:
module load matlab/2020a
You can activate multiple modules as long as they do not conflict with each other. To see what modules are currently loaded, type:
Unload a module by typing:
module unload [module/version]
Unload all modules by typing:
Create Custom Modules
You can create your own modules by following the following steps:
- Create a directory to contain your modules:
- Add this directory to the
- Create module files inside the directory.
There are many examples you can find online.
You can also reference the predefined modules files located under