External Email - Use Caution
Hi FreeSurfer Developers,
I am attempting to copy my license.txt into $FREESURFER_HOME. I have already open a terminal window and define and environment variable called freesurfer_home but I am not sure where FreeSurfer home is. I am not sure how to source the set up script as well. I am on macOS high Sierra.
Bentley
This email is intended only for the named recipient(s) and may be confidential. Any unauthorized use, dissemination or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately and destroy all copies of this email.
Hello Bentley,
If you used the Mac Freesurfer installer, then it installed Freesurfer under /Applications
Then you should run one of the scripts to setup the environment. If in the terminal window you get a $ prompt, then source
$ source /Applications/freesurfer/FreeSurferEnv.sh
… for csh with the % prompt in the terminal window do,
% source /Applications/freesurfer/FreeSurferEnv.csh
… after which you should see
FREESURFER_HOME /Applications/freesurfer FSFAST_HOME /Applications/freesurfer/fsfast FSF_OUTPUT_FORMAT nii.gz SUBJECTS_DIR /Applications/freesurfer/subjects MNI_DIR /Applications/freesurfer/mni
Wherever you choose to put your license you can point to it with the FS_LICENSE environment variable, e.g., if it is in your home directory, you can use the existing $HOME environment variable to point to it.
$ echo $HOME /users/me
… so if /users/me/license.txt was the path to the license
then for sh you would set $ export FS_LICENSE=$HOME/license.txt
or for csh you would set % setenv FS_LICENSE $HOME/license.txt
Finally, if you installed Freesurfer under /Applications, you can try running the attached FreeLaunch.app (double click and expand the attached FreeLaunch.app.zip, then double click on FreeLaunch.app ).
It should source the correct FreeSurverEnv script for you, and bring up a terminal window. It will also launch Freeview - which you can quit if you don’t need.
Then you should just need to set the path to your license as listed above.
- rob
On Aug 24, 2018, at 12:40 PM, Tsz Wai (Bentley) Lo <LoTsz@smh.camailto:LoTsz@smh.ca> wrote:
External Email - Use Caution
Hi FreeSurfer Developers,
I am attempting to copy my license.txt into $FREESURFER_HOME. I have already open a terminal window and define and environment variable called freesurfer_home but I am not sure where FreeSurfer home is. I am not sure how to source the set up script as well. I am on macOS high Sierra.
Bentley
This email is intended only for the named recipient(s) and may be confidential. Any unauthorized use, dissemination or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately and destroy all copies of this email.
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Sent you a reply to your direct email, as attachment I wanted to send is too large for list.
- rob
On Aug 24, 2018, at 12:40 PM, Tsz Wai (Bentley) Lo <LoTsz@smh.camailto:LoTsz@smh.ca> wrote:
External Email - Use Caution
Hi FreeSurfer Developers,
I am attempting to copy my license.txt into $FREESURFER_HOME. I have already open a terminal window and define and environment variable called freesurfer_home but I am not sure where FreeSurfer home is. I am not sure how to source the set up script as well. I am on macOS high Sierra.
Bentley
This email is intended only for the named recipient(s) and may be confidential. Any unauthorized use, dissemination or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately and destroy all copies of this email.
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu