Is there a way to specify in an EasyConfig a modification to MODULEPATH that
happens _before_ the dependencies are loaded?  I'm thinking of something
like a "modluaheader", analogous to "modluafooter", but where the content
would go at the top of the .lua file, before the generated commands.

I'm writing a Bundle module which is going to be used with a Web-launched
Jupyter Notebook, to provide my group's users with access to our internal
Python packages, utilities, and so on.  

This Bundle depends on Python, IPython, and a non-EasyBuild "CDMS Release"
module (essentially, a "hand-written" .lua file with a bunch of setenv's and
path modifiers) provided by our group's software.

Interactively, we can have our group users add the path where that CDMS
Release module is located, with the |module use| command.  But of course,
the OnDemand Jupyter launcher doesn't know that, and doesn't do it.  So we
need a way for the module file itself to prepend to MODULEPATH before it
tries to load its dependents.
                                        -- Mike Kelsey

Reply via email to