Debugging ModulefilesΒΆ

This topic is under construction

  1. Use $LMOD_CMD bash load <module_file> to show what the text that Lmod is generating.
  2. Add print() statements with the warning that they will need to be removed when module is evaluated.
  3. To track local variable behavior inside a module file add io.stderr:write("var: ",var,"\n) to know the value of a variable.