Differences between revisions 23 and 35 (spanning 12 versions)
Revision 23 as of 2011-05-12 20:53:59
Size: 2896
Comment:
Revision 35 as of 2021-04-20 17:06:39
Size: 2628
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

= THIS PAGE HAS BEEN MOVED TO SHAREPOINT =
Please refer to that site/make edits for the most updated information: https://partnershealthcare.sharepoint.com/sites/LCN/SitePages/Additional-Martinos-Center-Resources.aspx#freesurfer-distributions-for-internal-users


Line 5: Line 11:
The InternalFreeSurferDistributions are FreeSurferStable and FreeSurferDev. Please see ReleasePolicy for information on the release policy for these distributions.
Line 8: Line 14:
Here are instructions on how to set-up your environment to use the InternalFreeSurferDistributions. Here are instructions on how to set-up your environment to use the Internal !FreeSurfer Distributions.
Line 10: Line 16:
All computers on the Martinos Center NMR network should have the directory '''/usr/local/freesurfer'''. Inside there, you will see the files '''nmr-stable-env''' and '''nmr-dev-env'''. Sourcing these will set up your environment to use the stable or dev version, respectively. For example, to use the stable version, which is what most users should do, use the following setup command: The Internal !FreeSurfer Distributions are 'stable' and 'dev'. All computers on the Martinos Center NMR network should have the directory '''/usr/local/freesurfer'''. Inside there, you will see the files '''nmr-stable60-env''' and '''nmr-dev-env''' (and others). Sourcing these will set up your environment to use the stable or dev version, respectively. For example, to use the stable version, which is what most users should do, use the following setup command:
Line 12: Line 18:
'''stable 6:'''
Line 13: Line 20:
$ source /usr/local/freesurfer/nmr-stable-env $> source /usr/local/freesurfer/nmr-stable60-env
}}}

'''dev:'''
{{{
$> source /usr/local/freesurfer/nmr-dev-env
Line 18: Line 30:
You should see the prompt change to {{{(nmr-stable-env)}}} and your environment should then be set up to run FreeSurfer. Note that the programs may appear to be in a different location: You should see the prompt change to {{{(nmr-stable6--env)}}} and your environment should then be set up to run !FreeSurfer. Note that the programs may appear to be in a different location:
Line 21: Line 33:
$ which tkmedit
/space/freesurfer/centos4.0/stable/bin/tkmedit
$ which freeview
/space/freesurfer/centos6_x86_64/stable6_0_0/bin/freeview
Line 27: Line 39:
Your {{{FREESURFER_HOME}}} will actually be {{{/usr/local/freesurfer/stable}}} or {{{/usr/local/freesurfer/dev}}}, so if you'd like to set {{{FREESURFER_HOME}}} manually, you can still do so.

You can suppress output from sourcing these scripts with the {{{FS_FREESURFERENV_NO_OUTPUT}}} environment variable
:
Your {{{FREESURFER_HOME}}} will actually be {{{/usr/local/freesurfer/stable6_0_0}}} or {{{/usr/local/freesurfer/dev}}}, so if you'd like to set {{{FREESURFER_HOME}}} manually, you can still do so:
Line 32: Line 42:
setenv FS_FREESURFERENV_NO_OUTPUT
}}}
## csh
$> setenv FREESURFER_HOME /usr/local/freesurfer/stable6_0_0
$> source $FREESURFER_HOME/SetUpFreesurfer.csh
Line 35: Line 46:
You can keep the prompt from changing to {{{(nmr-stable-env)}}} or {{{(nmr-dev-env)}}} by setting {{{FSENV_KEEP_PROMPT}}}:

{{{
setenv FSENV_KEEP_PROMPT
## bash
$> export FREESURFER_HOME=/usr/local/freesurfer/stable6_0_0
$> source $FREESURFER_HOME/SetUpFreesurfer.sh
Line 43: Line 53:
For instructions on how to '''freeze''' one of these releases, see MakingPrivateCopiesOfDistributions. Users are strongly encouraged to "Freeze" their copy of !FreeSurfer in a project-specific directory like their SUBJECTS_DIR. To make a copy, just download the public distribution from ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer
Line 47: Line 58:
There are the older versions that are still available for compatibility, but will soon be removed. For instructions on how to make a local copy of one of these versions for your private use, see MakingPrivateCopiesOfObsoleteDistributions.

There are three older internal distributions of FreeSurfer available at the NMR Center. To use a distribution, set your FREESURFER_HOME environment variable to the directory of the distribution and then source the Free``Surfer``Env.csh file in that distribution. For example:

{{{
setenv FREESURFRER_HOME ~inverse/freesurfer_alpha
source $FREESURFER_HOME/FreeSurferEnv.csh
}}}

Note that you may still have to set up your path. Be sure you are using the right binaries with the {{{which}}} command.
There are the older versions that are still available for compatibility, see the Archives section of the public download page.

top

THIS PAGE HAS BEEN MOVED TO SHAREPOINT

Please refer to that site/make edits for the most updated information: https://partnershealthcare.sharepoint.com/sites/LCN/SitePages/Additional-Martinos-Center-Resources.aspx#freesurfer-distributions-for-internal-users

FreeSurfer Distributions for Internal Users

Distributions

Access

Here are instructions on how to set-up your environment to use the Internal FreeSurfer Distributions.

The Internal FreeSurfer Distributions are 'stable' and 'dev'. All computers on the Martinos Center NMR network should have the directory /usr/local/freesurfer. Inside there, you will see the files nmr-stable60-env and nmr-dev-env (and others). Sourcing these will set up your environment to use the stable or dev version, respectively. For example, to use the stable version, which is what most users should do, use the following setup command:

stable 6:

$> source /usr/local/freesurfer/nmr-stable60-env

dev:

$> source /usr/local/freesurfer/nmr-dev-env

NOTE: Do not put this command in your .cshrc file! If /usr/local/freesurfer is down for whatever reason, then your login will not work.

You should see the prompt change to (nmr-stable6--env) and your environment should then be set up to run FreeSurfer. Note that the programs may appear to be in a different location:

$ which freeview
/space/freesurfer/centos6_x86_64/stable6_0_0/bin/freeview

That's OK, because /usr/local/freesurfer is actually a link to a platform specific version that resides in a different directory, much like how /usr/pubsw works. If you don't know what this means, don't worry.

Your FREESURFER_HOME will actually be /usr/local/freesurfer/stable6_0_0 or /usr/local/freesurfer/dev, so if you'd like to set FREESURFER_HOME manually, you can still do so:

## csh
$> setenv FREESURFER_HOME /usr/local/freesurfer/stable6_0_0
$> source $FREESURFER_HOME/SetUpFreesurfer.csh

## bash
$> export FREESURFER_HOME=/usr/local/freesurfer/stable6_0_0
$> source $FREESURFER_HOME/SetUpFreesurfer.sh

Frozen Version

Users are strongly encouraged to "Freeze" their copy of FreeSurfer in a project-specific directory like their SUBJECTS_DIR. To make a copy, just download the public distribution from ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer

Obsolete Versions

There are the older versions that are still available for compatibility, see the Archives section of the public download page.

InternalFreeSurferDistributions (last edited 2022-03-28 13:47:57 by AndrewHoopes)