Installation by users: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
== Preparing modules for local or domain specific use == | == Preparing modules for local or domain specific use == | ||
<source lang='tcl'> | |||
#%Module1.0####################################################################### | |||
## bwa 0.5.9 modulefile | |||
## | |||
proc ModulesHelp { } { | |||
puts stderr "\tAdds bwa v0.5.9 to your environment" | |||
} | |||
module-whatis "Adds bwa v0.5.9 to your environment" | |||
set bwa_059_root /cm/shared/apps/WUR/ABGC/bwa/bwa-0.5.9/ | |||
prepend-path PATH $bwa_059_root | |||
</source> | |||
< text here > | < text here > | ||
<source lang='bash'> | |||
export MODULEPATH=$MODULEPATH:/cm/shared/apps/WUR/ABGC/modulesfiles | |||
</source> | |||
<source lang='bash'> | |||
source .bash_profile | |||
</source> | |||
== See also == | == See also == |
Revision as of 22:28, 29 November 2013
Domain specific folders for executables and libraries
Many packages and applications can be installed locally in the $HOME directory. Users of each of the groups (e.g. 'WUR/ABGC') can deposit a map with executables or library files that can be of interest to multiple users
/cm/shared/apps/WUR/ABGC/
Preparing modules for local or domain specific use
<source lang='tcl'>
- %Module1.0#######################################################################
- bwa 0.5.9 modulefile
proc ModulesHelp { } {
puts stderr "\tAdds bwa v0.5.9 to your environment"
}
module-whatis "Adds bwa v0.5.9 to your environment"
set bwa_059_root /cm/shared/apps/WUR/ABGC/bwa/bwa-0.5.9/
prepend-path PATH $bwa_059_root
</source> < text here > <source lang='bash'> export MODULEPATH=$MODULEPATH:/cm/shared/apps/WUR/ABGC/modulesfiles </source> <source lang='bash'> source .bash_profile </source>
See also
- B4F Cluster
- Lx6 and Lx7 compute nodes
- Environment Modules
- Create a shortcut for the ssh log-in command
- Installing R packages locally
External links
http://modules.sourceforge.net http://www.admin-magazine.com/HPC/Articles/Environment-Modules