Hoffman2:Modules

From Center for Cognitive Neuroscience
Revision as of 18:21, 17 April 2017 by Dmargolis (talk | contribs)
Jump to navigation Jump to search

Back to all things Hoffman2

Environmental modules is a utility that allows 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

  1. SSH into Hoffman2
  2. Use your favorite text editor to edit the file ~/.bash_profile

vim

  1. VIM
    • $ vim ~/.bash_profile
  2. 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
  3. Save the file by typing
    • ESC + ":wq" + ENTER
  4. Log out of Hoffman2 and the next time you log in, everything will be set for you to start working.