- if you are on an Intel Mac or a new Mac with an M1 or M2 chip.
I would try explicitly running the bash shell in your terminal window, but typing “bash” at the terminal prompt. You should then see the output,
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
You can then set FS_LICENSE in your environment to point to the license.txt file. You can put license.txt in your home directory, e.g., wherever that path is,
userid@hostname:~> echo $HOME
/Users/priya
userid@hostname:~> export FS_LICENSE=$HOME/license.txt
userid@hostname:~> cat $FS_LICENSE
< output deleted - just make sure the environment variable points to license.txt >
Then setup the fressurfer environment, e.g., for the 7.3.2 release installed with the .pkg file,
userid@hostname:~> export FREESURFER_HOME=/Applications/freesurfer/7.3.2
userid@hostname:~> source $FREESURFER_HOME/SetUpFreeSurfer.sh
-------- freesurfer-darwin-macOS-7.3.2-20220803-878457d --------
Setting up environment for FreeSurfer/FS-FAST (and FSL)
FREESURFER_HOME /Applications/freesurfer/7.3.2
FSFAST_HOME /Users/developer/freesurfer/fsfast
FSF_OUTPUT_FORMAT nii.gz
SUBJECTS_DIR /Users/developer/freesurfer/subjects
TUTORIAL_DATA /Users/developer/tutorial_data
MNI_DIR /Users/developer/freesurfer/mni
WARNING: /Users/developer/freesurfer/fsl_507/bin does not exist.
FSL_DIR /Users/developer/freesurfer/fsl_507
userid@hostname:~> which freeview
/Applications/freesurfer/7.3.2/bin/freeview
… try running freeview with no argument to see if it brings up an empty window …
userid@hostname:~> freeview
… try displaying a simple volume …
userid@hostname:~> freeview $SUBJECTS_DIR/bert/mri/brain.mgz
Let us know how it goes.
- R.
On Oct 5, 2022, at 03:11, priya padma <priya@phenomx.ai> wrote:
External Email - Use Caution
Hello Team,
I just installed freesurfer and freeview using the methods mentioned in
the installation was successful and after creating the environment the freeview also opened but whenever I open any volume, freeview crashes and I get an error saying line 2: 6736 Segmentation fault: 11 $FREESURFER_HOME/Freeview..app/Contents/MacOS/freeview "$@"
and tried to move the terminal to the main laptop screen but still I get the same error. I am unable to open the sample data given along with freesurfer.
Could you help me with this issue?
--
Best Regards
Padma Priya
PhenoMx, Inc.
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer