« FUNDING_SOURCES | Main | Use FSL - Analysis Tools - PRE-STATS »

Setting up Environment for FSL3.2

To use the new version of FSL on the cluster you need to change your environment variables. Follow the appropriate directions (whether you use bash or tcsh).

TCSH:
To use the new version of FSL open .tcshrc (in your home directory) with a text editor and find the line that says

setenv FSLDIR /Volumes/local/fsl

Change it to

setenv FSLDIR /Volumes/local/fsl3.2

Also add another line below it that says

source $FSLDIR/etc/fslconf/fsl.csh

Save it and close it. Then type

source ~/.tcshrc

on the command line.

BASH
Open .bash_profile in your home directory, with a text editor.
Find the line that says
export FSLDIR=/Volumes/local/fsl
and change it to
export FSLDIR=/Volumes/local/fsl3.2

Add a line below this that says
source $FSLDIR/etc/fslconf/fsl.sh

Save and close. Then type in the command line
source ~/.bash_profile