[slurm-users] Environment modules

Ree, Jan-Albert van J.A.v.Ree at marin.nl
Fri Nov 22 19:09:33 UTC 2019

Jan-Albert van Ree  | Linux System Administrator | Digital Services
MARIN | T +31 317 49 35 48 | mailto:J.A.v.Ree at marin.nl | http://www.marin.nl

Just install the default CentOS RPM package environment-modules and play with it. If you're at home in bash you'll pick it up in minutes.

All default modules will be put in /usr/share/Modules/modulefiles or /etc/modulefiles for CentOS but you can add new locations (in a cluster you'd put it on the shared filesystem, so all nodes can have immediate access after installing it there)

For the correct syntax for environment modules , just check out some default modulefiles ; install the CentOS openmpi package and look at the file /etc/modulefiles/mpi/openmpi-x86_64 for some of the possibilities with modulefiles , although there's a lot more possible, such as automatically loading of dependent modules

Hope this helps

From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Mariano.Maluf <mariano.maluf at gmail.com>
Sent: Friday, November 22, 2019 18:37
To: slurm-users at lists.schedmd.com
Subject: [slurm-users] Environment modules

Hi all

I am setting up for the first time a cluster with Slurm in Centos7 with
1 headnode and 12 nodes.

The cluster is operational but I need to install and configure
environment modules.

Could you advise me some documentation about it?

Thanks in advance.


Lic. Mariano Maluf
Universidad Nacional de San Martín
2033-1400 int. 6046

More information about the slurm-users mailing list