For the complete documentation index, see llms.txt. This page is also available as Markdown.

Running Jobs With Modules

Software modules are provided for commonly used software packages.

Modules Quickstart

As an example, we provide a module for Huggingface's Transformer Reinforcement Learning package. So getting a working TRL environment is as easy as module load trl. We also provide a sample sbatch script that uses the TRL module /opt/examples/libexec/trl-module.sbatch :

Line 12 (module load trl) loads the TRL software, and this is maintained through subsequent sub-shell calls, like the srun bash on line 26.

You can test-run the script with sbatch /opt/examples/libexec/trl-module.sbatch. It runs accross 4 nodes by default, but you can scale it with sbatch --nodes <num-nodes> /path/to/script.sbatch.

Module Management

To explore available modules, run module avail or module spider. Avail gives a simplified output, while spider is more detailed and useful for sorting out module dependencies.

If you need a specific piece of software, contact us and we can provide a module that fits your needs.

Resources

Lmod user guide: https://lmod.readthedocs.io/en/latest/010_user.html

Last updated