modules icon indicating copy to clipboard operation
modules copied to clipboard

Hooks in siteconfig.tcl to pass variables and procs to modulefile eval context

Open xdelaruelle opened this issue 6 years ago • 2 comments

Following this mailing-list discussion thread, it would be nice to have simple hooks to define Tcl variables and procedures from the siteconfig.tcl file and make these variables and procedures available in the modulefile evaluation context.

xdelaruelle avatar Aug 01 '19 13:08 xdelaruelle

Is this effectively a duplicate of #285 ? If not, how does it differ?

nanobowers avatar Mar 15 '20 19:03 nanobowers

Same goal but achieved differently potentially by different people:

  • Throught siteconfig.tcl a site admin would enable those procs or variables in modulefile evaluation context
  • With modulefile commands, a user could achieve same goal to manage his/her modulefiles

xdelaruelle avatar Mar 15 '20 20:03 xdelaruelle