CBCB Software Modules: Difference between revisions

From Cbcb
Jump to navigation Jump to search
(Created page with "Starting in the Spring of 2015, communal CBCB Software has been installed using GNU Modules.")
 
No edit summary
Line 1: Line 1:
Starting in the Spring of 2015, communal CBCB Software has been installed using GNU Modules.
Starting in the Spring of 2015, communal CBCB Software has been installed using GNU Modules.
== Common Modules ==
CBCB Software modules are already configured for interactive shells on Red Hat 7 machines - no additional setup is required. The module files are installed in the following location:
/cbcb/sw/RedHat-7-x86_64/common/modules/release/latest
To see see what modules are available:
$ module avail
To add a module to your environment, use <code>module add</code>:
$ module add samtools/0.1.19
Note that you can also specify the software name without the version:
$ module add samtools
Now samtools has been added to your environment:
$ which samtools
/cbcb/sw/RedHat-7-x86_64/common/local/samtools/0.1.19/bin/samtools
== Setup for non-interactive shells ==
Modules are already configured for interactive shells, but to use modules with non-interactive shells, add the following to your ~/.bashrc:
. /usr/share/Modules/init/bash
. /etc/profile.d/ummodules.sh

Revision as of 04:09, 3 March 2015

Starting in the Spring of 2015, communal CBCB Software has been installed using GNU Modules.

Common Modules

CBCB Software modules are already configured for interactive shells on Red Hat 7 machines - no additional setup is required. The module files are installed in the following location:

/cbcb/sw/RedHat-7-x86_64/common/modules/release/latest

To see see what modules are available:

$ module avail

To add a module to your environment, use module add:

$ module add samtools/0.1.19

Note that you can also specify the software name without the version:

$ module add samtools

Now samtools has been added to your environment:

$ which samtools
/cbcb/sw/RedHat-7-x86_64/common/local/samtools/0.1.19/bin/samtools

Setup for non-interactive shells

Modules are already configured for interactive shells, but to use modules with non-interactive shells, add the following to your ~/.bashrc:

. /usr/share/Modules/init/bash
. /etc/profile.d/ummodules.sh