Hoffman2:Modules: Difference between revisions
Line 27: | Line 27: | ||
#: <pre>afni</pre> | #: <pre>afni</pre> | ||
=== | ===FreeSurfer=== | ||
[https:// | [https://surfer.nmr.mgh.harvard.edu/ FreeSurfer] is an open source software suite for processing and analyzing (human) brain MRI images. | ||
# [[Hoffman2:Accessing the Cluster#SSH - Command Line|SSH into Hoffman2]] | # [[Hoffman2:Accessing the Cluster#SSH - Command Line|SSH into Hoffman2]] | ||
# Start an [https://www.hoffman2.idre.ucla.edu/computing/interactive-session/ interactive session] on a compute node with qrsh. Then at the compute node shell prompt, enter: | # Start an [https://www.hoffman2.idre.ucla.edu/computing/interactive-session/ interactive session] on a compute node with qrsh. Then at the compute node shell prompt, enter: | ||
#: <pre>module load | #: <pre>module load freesurfer</pre> | ||
#To run | #To run FreeSurfer, enter: | ||
#: <pre> | #: <pre>freesurfer</pre> | ||
CCN supports several versions of | CCN supports several versions of FreeSurfer on Hoffman2. To see the list of available FreeSurfer versions, enter: | ||
module av | module av freesurfer | ||
To load a non-default version of | To load a non-default version of FreeSurfer, enter (for example): | ||
module load | module load freesurfer/4.4.0 | ||
===FreeSurfer=== | ===FreeSurfer=== |
Revision as of 18:44, 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
Enabling the CCN Hoffman2 modules
- SSH into Hoffman2
- Use your favorite text editor (e.g. vim) to edit the file
~/.bash_profile
$ vim ~/.bash_profile
- 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.
CCN Hoffman2 modules
AFNI
AFNI (Analysis of Functional NeuroImages) is a set of C programs for processing, analyzing, and displaying functional MRI (FMRI) data - a technique for mapping human brain activity.
- SSH into Hoffman2
- Start an interactive session on a compute node with qrsh. Then at the compute node shell prompt, enter:
module load afni
- To run AFNI, enter:
afni
FreeSurfer
FreeSurfer is an open source software suite for processing and analyzing (human) brain MRI images.
- SSH into Hoffman2
- Start an interactive session on a compute node with qrsh. Then at the compute node shell prompt, enter:
module load freesurfer
- To run FreeSurfer, enter:
freesurfer
CCN supports several versions of FreeSurfer on Hoffman2. To see the list of available FreeSurfer versions, enter:
module av freesurfer
To load a non-default version of FreeSurfer, enter (for example):
module load freesurfer/4.4.0