Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: info about resetting module environment

...

As the default stack module loaded at startup is changed over time, having a default module set ensures that your module environment will stay the same. You can then verify your jobs with a new stack and then update the default module set when you are ready.

Resetting modules

After you have loaded modules over time you may want to clean up the environment a bit. You can unload individual modules but often you will simply want to reset. You could run module purge to clean out all modules but that will also remove the stack module. You would then need to reload a stack module to make program modules available again.

No Format
module purge
module load stack/???

Using module purge is probably not what you want. If you have default module set then you can reset to that by simply running

No Format
module restore

If you wish to clear out the environment even more then you could run

No Format
module restore system

or

module reset

to reset to the default system modules, ignoring your default module set. If you do not have a default module set then any of the following

No Format
module restore
module restore system
module reset

will restore the module state to the system default.

Using environment modules with SGE jobs and qlogin

...