Differences between revisions 52 and 53
Deletions are marked like this. Additions are marked like this.
Line 65: Line 65:
At this point you are ready to begin using the freesurfer software. At this point you are ready to begin using the freesurfer software. If you haven't done so already, [[Registration|obtain a license]], and copy the license.txt file into your $FREESURFER_HOME (Applications/freesurfer) directory.
Line 67: Line 67:
= License = = Testing Freesurfer =
Line 69: Line 69:
If you haven't done so already, [[Registration|obtain a license]], and copy the license.txt file to the same location as your $FREESURFER_HOME. See the following page for some example commands to test that freesurfer is installed and running properly.
https://surfer.nmr.mgh.harvard.edu/fswiki/TestingFreeSurfer
Line 71: Line 72:
## Lastly, if you intend to run recon-all (the processing script which can run for 24 hours) on your mac, we recommend setting your Power Adapter Energy Settings to 'Never' sleep, otherwise recon-all will only run when you are logged-in. This is done under '''System Preferences -> Energy Saver'''.
Line 72: Line 74:
#Lastly, if you intend to run recon-all (the processing script which can run for 24 hours) on your mac, we recommend setting your Power Adapter Energy Settings to 'Never' sleep, otherwise recon-all will only run when you are logged-in. This is done under '''System Preferences -> Energy Saver'''. ## {{attachment:no_sleep.png}}
Line 74: Line 76:
#{{attachment:no_sleep.png}}

#If you came from the Quick Install page, return to that [[QuickInstall|here]].<<BR>>
#Otherwise, setup and configuration of the environment is described [[SetupConfiguration_Mac|next.]]
## If you came from the Quick Install page, return to that [[QuickInstall|here]].<<BR>>
## Otherwise, setup and configuration of the environment is described [[SetupConfiguration_Mac|next.]]

top | previous | next

Index

Installation

Before proceeding: Mac OSX requires the installation of XQuartz for freesurfer to function properly. OSX versions 10.6, 10.7, 10.8, and 10.9 require XQuartz 2.7.5 (or earlier). OSX versions 10.10 and later requires XQuartz 2.7.6 (or higher). Check Application -> Utilities to see if XQuartz is already installed. If not use the links above to download the proper version and install. You may need to logout and log back in after XQuartz is installed.

XQuartz_screencapture.png

Download the freesurfer dmg installation package and double click on it to expand the package:

install-5mpkg.png

After the package integrity has been verified, the introductory screen will appear. Click on Continue:

install-5intro.jpg

Next is the Read Me window. Click on Continue:

readme1.png

Next is the Software License Agreement window. Click on Continue:

SLA.png

Next is the Destination Select window. Click Change Install Location... to change the default installation disk and folder (/Applications/freesurfer). Or click Install to go with default:

install_location.png

You may need to enter you password. The installation process will begin to write files and will take a few minutes to complete.

successful.png


Setup and Configuration

To begin using freesurfer, open a terminal window. The Terminal application is found under Applications -> Utilities -> Terminal:

terminal.png

Type the following lines in the terminal window to source the freesurfer environment:

export FREESURFER_HOME=/Application/freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.sh

After you source freesurfer you should see some output similar to the window below:

source_freesurfer.png

If you use freesurfer frequently and want to avoid typing the above lines of code every time you open a terminal window, you can create a file called .profile in your home directory which contains those two line. This will cause the terminal window to automatically source freesurfer every time it is opened.

At this point you are ready to begin using the freesurfer software. If you haven't done so already, obtain a license, and copy the license.txt file into your $FREESURFER_HOME (Applications/freesurfer) directory.

Testing Freesurfer

See the following page for some example commands to test that freesurfer is installed and running properly. https://surfer.nmr.mgh.harvard.edu/fswiki/TestingFreeSurfer

MacOsInstall (last edited 2020-03-04 14:59:29 by LeahMorgan)