Hi Valerie,
It looks like you might be using bash shell, in which case you should be
using the 'export' command instead of setenv to change its value (note
the difference in syntax):
export SUBJECTS_DIR=<full path to subject dir>
Please note... It looks like you are using a very old version of
freesurfer. Freesurfer 4.5 was released well over 5 years ago.
On 05/23/2017 03:31 PM, Becker, Valerie wrote:
> Hi FreeSurfer Developers,
>
>
> I'm new to Linux as well as freesurfer and picking up with the program
> where an old lab assistant left off. He already installed the program
> and fsfast, but set the subjects directory using a file path unique to
> his user and I'm having trouble changing it. Calling up the terminal
> gives me this output automatically:
>
>
> -------- freesurfer-Linux-centos4_x86_64-stable-pub-v4.5.0 --------
> Setting up environment for FreeSurfer/FS-FAST (and FSL)
> WARNING: /home/jdunlop/freesurfer/subjects does not exist
> FREESURFER_HOME /usr/local/freesurfer
> FSFAST_HOME /usr/local/freesurfer/fsfast
> FSF_OUTPUT_FORMAT nii
> SUBJECTS_DIR /home/jdunlop/freesurfer/subjects
> MNI_DIR /usr/local/freesurfer/mni
> FSL_DIR /usr/local/fsl
>
>
> I've been unable, thus far, to find a way to change file path the
> SUBJECTS_DIR is using and trying the setenv command from the website
>
>
> setenv SUBJECTS_DIR <full path to subject dir>
>
>
> with the correct file path input, the terminal output gives me:
>
>
> [vbecker@bhfilbey ~]$ setenv SUBJECTS_DIR /home/vbecker/freesurfer/subjects
> bash: setenv: command not found
>
>
> I also wasn't able to find a direct reference to this issue searching
> the archives. Any help would be much appreciated.
>
>
> FreeSurfer Version: freesurfer-Linux-centos4_x86_64-stable-pub-v4.5.0
>
> Platform: CentOS Release 6.9 (Final), Kernel Linux
> 2.6.32-573.7.1.el6.x86_64, GNOME 2.28.2
>
>
> Thanks,
>
> Valerie
>
>
>
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
>
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.