clusterinthecloud / support

If you need help with Cluster in the Cloud, this is the right place
2 stars 0 forks source link

Compute node image missing the "environment-modules" package, so "module ..." fails when used in job scripts #28

Open chryswoods opened 3 years ago

chryswoods commented 3 years ago

The default compute node image seems to be missing the "environment-modules" package. This means that there is no /usr/share/Modules directory on the compute nodes, so the "module" command fails. This is needed if using the installed openmpi module. This could be installed via compute_image_extra.sh, but I think it would be better if modules was installed by default across all nodes.

If adding via compute_image_extra.sh, use

sudo yum install -y environment-modules