HenrikBengtsson / CBI-software

A Scientific Software Stack for HPC (CentOS oriented)
https://wynton.ucsf.edu/hpc/software/software-repositories.html
5 stars 2 forks source link

Non-supported should signal an error if loaded #8

Closed HenrikBengtsson closed 4 years ago

HenrikBengtsson commented 4 years ago

Issue

Some modules are not supported on some hosts, e.g. scl-devtoolset/4 is not available on Wynton HPC compute nodes. However, they are available because they're on the MODULEPATH. For instance, calling:

module load scl-devtoolset/4

will silently work.

Action

Have modules not supported signal an error (exit code 1).

HenrikBengtsson commented 4 years ago

https://lmod.readthedocs.io/en/latest/050_lua_modulefiles.html