Automatic Modulefile Generation in Environment Modules and Lmod Systems with mkmod

Kent F. Milfeld · Proceedings of the Practice and Experience in Advanced Research Computing on Rise of the Machines (learning) · 2019

After installation of an HPC application there is the chore of creating a modulefile for the modules system (MS), so that a user can easily load an environment for executing the application. The mkmod utility was designed to make modulefile generation simple. It features an auto-detection approach and a simple, intuitive input interface for creating the content of the modulefile, without knowing any details about the underlying language (Lua or Tcl). By also automatically integrating user modulefiles into the local MS, mkmod reduces the primary barriers that keep users from employing modules for their installed applications.

Read the paper · More papers on PaperTik