Re: Adding Lmod modules?


Derek Simmel
 

At PSC, we typically put our own local modules into another location (say /opt/modulefiles), and then adjust the MODULEPATH environment variable to include all directories of modules, e.g.,

$ echo $MODULEPATH
/opt/ohpc/pub/modulefiles:/opt/modulefiles

$ module avail

-------------------------- /opt/ohpc/pub/modulefiles ---------------------------
EasyBuild/3.3.1 hwloc/1.11.7 pmix/1.2.3
autotools llvm4/4.0.1 prun/1.1
gnu7/7.1.0 papi/5.5.1 valgrind/3.13.0

------------------------------- /opt/modulefiles -------------------------------
cuda/9.1

- Derek

On Mar 28, 2018, at 10:07 PM, Mark Moorcroft <plaktau@...> wrote:


Is there an accepted practice/location for adding additional modules? Is it considered bad form to add them in /opt/ohpc, or is that exactly where you should be putting them?
---
Derek Simmel
Pittsburgh Supercomputing Center
dsimmel@...
+1 (412) 268-1035

Join OpenHPC-users@groups.io to automatically receive all group messages.