Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Environment modules on the Nevis particle-physics Linux cluster | ||||||||
Line: 42 to 42 | ||||||||
What are environment modules? | ||||||||
Changed: | ||||||||
< < | The command line environment you use to issue commands in Linux is called the shell. Your shell has an "environment": a collection of variables, aliases, and definitions to make the shell easier to use. A software package that is not built-in to Linux (such as ROOT![]() ![]() $ROOTSYS , adding binary executables to the shell's search path variable $PATH , adding library locations to the shell's library search variable $LD_LIBRARY_PATH , etc. | |||||||
> > | The command-line environment you use to issue commands in Linux is called the shell. Your shell has an "environment": a collection of variables, aliases, and definitions to make the shell easier to use. A software package that is not built-in to Linux (such as ROOT![]() ![]() $ROOTSYS , adding binary executables to the shell's search path variable $PATH , adding library locations to the shell's library search variable $LD_LIBRARY_PATH , etc. | |||||||
Environment modules![]() | ||||||||
Changed: | ||||||||
< < | export ROOTSYS=/usr/nevis/ROOT-5.34.23 | |||||||
> > | export ROOTSYS=/usr/nevis/ROOT-05.34.23 | |||||||
export PATH=$ROOTSYS/bin:$PATH export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH | ||||||||
Line: 58 to 58 | ||||||||
Another advantage of environment modules is that they are shell-independent. For example, the above export commands are valid in bash and zsh , but in csh you must use: | ||||||||
Changed: | ||||||||
< < | setenv ROOTSYS /usr/nevis/ROOT-5.34.23 | |||||||
> > | setenv ROOTSYS /usr/nevis/ROOT-05.34.23 | |||||||
setenv PATH $ROOTSYS/bin:$PATH setenv LD_LIBRARY_PATH $ROOTSYS/lib:$LD_LIBRARY_PATH | ||||||||
Line: 144 to 144 | ||||||||
You can also pick up tips by looking at the Nevis module files in /usr/nevis/modules . | ||||||||
Changed: | ||||||||
< < | The scripting language used in module files is Tcl![]() ![]() | |||||||
> > | The scripting language used in module files is Tcl![]() ![]() | |||||||
How are environment modules set up at Nevis? | ||||||||
Line: 152 to 152 | ||||||||
The Nevis-specific module files are in /usr/nevis/modules . There are some example/utility files that part of the default Linux environment modules package; these are located in /usr/share/Modules/modulefiles and /etc/modulefiles . | ||||||||
Changed: | ||||||||
< < | Transition: From setup to environment modules | |||||||
> > | Transition: From | |||||||
Why? | ||||||||
Changed: | ||||||||
< < | Prior to Feb-2015, software packages at Nevis were set up using a custom-written setup. Why make a change? | |||||||
> > | Prior to Feb-2015, software packages at Nevis were set up using a custom-written setup command. Why make a change? | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
|