ABGC modules: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
All ABGC modules can be found in:
  /cm/shared/apps/WUR/ABGC/modulefiles
=== Adding a custom module directory to your environment ===
To allow the <code>module</code> program to find the custom module directory, the location of that directory has to be added to <code>MODULEPATH</code> variable.
<source lang='bash'>
export MODULEPATH=$MODULEPATH:/cm/shared/apps/WUR/ABGC/modulefiles
</source>
This can be made permanent by adding this line of code to the <code>.bash_profile</code> file in the root of your home folder. To then load the modified <code>MODULEPATH</code> variable you have to load  <code>.bash_profile</code> again:
<source lang='bash'>
source .bash_profile
</source>
This needs to be done only once. Next time you login, <code>.bash_profile</code> will be loaded automatically.
You can check if the modules are found.
<source lang='bash'>
module avail
</source>
This should give output that includes something similar to this:
  ----------------------------------- /cm/shared/apps/WUR/ABGC/modulefiles -----------------------------------
  bwa/0.5.9  bwa/0.7.5a
* [[asreml_3.0 | asreml/3.0fl-64]]
* [[asreml_3.0 | asreml/3.0fl-64]]
* augustus/2.7   
* augustus/2.7   

Revision as of 12:34, 21 December 2013

All ABGC modules can be found in:

 /cm/shared/apps/WUR/ABGC/modulefiles

Adding a custom module directory to your environment

To allow the module program to find the custom module directory, the location of that directory has to be added to MODULEPATH variable.

<source lang='bash'> export MODULEPATH=$MODULEPATH:/cm/shared/apps/WUR/ABGC/modulefiles </source> This can be made permanent by adding this line of code to the .bash_profile file in the root of your home folder. To then load the modified MODULEPATH variable you have to load .bash_profile again: <source lang='bash'> source .bash_profile </source> This needs to be done only once. Next time you login, .bash_profile will be loaded automatically.

You can check if the modules are found. <source lang='bash'> module avail </source> This should give output that includes something similar to this:

 ----------------------------------- /cm/shared/apps/WUR/ABGC/modulefiles -----------------------------------
 bwa/0.5.9  bwa/0.7.5a