Hoffman2:Modules: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
# Use your favorite [[Text Editors|text editor]] to edit the file <code>~/.bash_profile</code> | # Use your favorite [[Text Editors|text editor]] to edit the file <code>~/.bash_profile</code> | ||
== | ==Enabling the Hoffman2 CCN modules== | ||
#: [[Text Editors#Vim (H2) (OSX)|VIM]] | #: [[Text Editors#Vim (H2) (OSX)|VIM]] | ||
#:* <pre>$ vim ~/.bash_profile</pre> | #:* <pre>$ vim ~/.bash_profile</pre> | ||
Line 18: | Line 18: | ||
#:* <code>ESC + ":wq" + ENTER</code> | #:* <code>ESC + ":wq" + ENTER</code> | ||
# Log out of Hoffman2 and the next time you log in, everything will be set for you to start working. | # Log out of Hoffman2 and the next time you log in, everything will be set for you to start working. | ||
==CCN Hoffman2 modules== | |||
===AFNI=== | |||
===FSL=== | |||
===FreeSurfer=== |
Revision as of 18:23, 17 April 2017
Environmental modules allow users to dynamically modify their shell environment (e.g., $PATH, $LD_LIBRARY_PATH, etc.) in order to support a number of applications installed on the Hoffman2 Cluster. CCN supports several modules on Hoffman2 including: AFNI, ANTs, Caret, FreeSurfer, FSL, ITKGray, ITK-SNAP, and MRIcron
- SSH into Hoffman2
- Use your favorite text editor to edit the file
~/.bash_profile
Enabling the Hoffman2 CCN modules
- VIM
$ vim ~/.bash_profile
- VIM
- Insert these lines at the bottom of the file
- Type
G
- (capital G) to go to the end of the file - Type
A
- (capital A) to go to the end of the line and enter insert mode - Type
ENTER
- to insert a newline - Type or paste in the lines below.
module use /u/project/CCN/apps/modulefiles umask 007
- Type
- Save the file by typing
ESC + ":wq" + ENTER
- Log out of Hoffman2 and the next time you log in, everything will be set for you to start working.