Jan-Albert van Ree  | Linux System Administrator | Digital Services
MARIN | T +31 317 49 35 48 | mailto:j.a.v....@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
--
Jan-Albert


________________________________________
From: slurm-users <slurm-users-boun...@lists.schedmd.com> on behalf of 
Mariano.Maluf <mariano.ma...@gmail.com>
Sent: Friday, November 22, 2019 18:37
To: slurm-users@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.

Regards,
Mariano.

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


Reply via email to