Loading custom modules

Majorana comes with several modules for pre-installed modules. If you install custom software, you might want to also create modules for them. Suppose that you have installed ARGoS 3.0.0-beta48 and created a module file in $HOME/modulefiles/argos3. If you let lmod look in the default paths for a module called argos3, it will not find your module file.

Lmod error when looking for custom modules
Lmod error for looking for custom modules

You can tell lmod to include your custom modules by altering the MODULEPATH, for example by running export MODULEPATH=$HOME/modulefiles/:$MODULEPATH. Instead of running this command in every session, you can also add it to your .bashrc (or similar) file. With the updated MODULEPATH, lmod is able to find your custom modules.

Lmod successfully finds custom modules after updating the MODULEPATH
Lmod successfully finds custom modules after updating the MODULEPATH