HPC/Module Setup: Difference between revisions
< HPC
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 39: | Line 39: | ||
For full documentation, consult the manual page: | For full documentation, consult the manual page: | ||
$ '''man module''' | $ '''man module''' | ||
* [[HPC/Software/Catalog | Current module catalog]] |
Revision as of 21:20, May 18, 2011
Shell startup files
- The default login shell on Carbon is bash
- Place customizations in the file
~/.bashrc
# .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi export PATH=$HOME/mypackage/bin:$PATH module load name1 name2 …
- tcsh only if you insist. It is not supported. In fact: “csh programming considered harmful” – Tom Christiansen
Environment Modules
Carbon uses the Environment Modules package to dynamically provision software. The package primarily modifies your $PATH and other environment variables.
$ module help … Usage: module [ switches ] [ subcommand ] [subcommand-args ] … Available SubCommands and Args: + load modulefile [modulefile ...] + unload modulefile [modulefile ...] + switch [modulefile1] modulefile2.] + list + avail [modulefile [modulefile ...]] + whatis [modulefile [modulefile ...]] + help [modulefile [modulefile ...]] + show modulefile [modulefile ..]
For full documentation, consult the manual page:
$ man module