Hi FreeSurfer Gurus,
I am having difficulty invoking the 'upl' and 'lrl' operations in mris_calc.
The following is the message I get for 'upl':
/usr/local/freesurfer/bin/fscalc rh.dat.mgh upl 20 --o tmp.mgh
freesurfer-Darwin-leopard-i686-stable-pub-v5.1.0
Darwin Fred-Lados-MacBook-Pro.local 1
Hi Fred --
I'm currently traveling and have limited internet connectivity. I'll be back at
the office later in the week and will take a look then.
In the meantime, has this ever worked for you previously? I know that older
versions of 'mris_calc' were somewhat particular about filename lengths
Fred,
You can try an updated mris_calc for the mac found here:
ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/misc/macos-leopard-intel/
Nick
On Mon, 2012-12-31 at 13:21 +0200, Rudolph Pienaar wrote:
> Hi Fred --
>
> I'm currently traveling and have limited internet connectivity. I'll be
Thank Nick, when I try mris_calc, I get the following error:
/Users/Lado 1> mris_calc
/usr/local/freesurfer/bin/mris_calc: Exec format error. Binary file not
executable.
I applied chmod/chown/chgrp to the executable files to resemble the other
freesurfer executables, the prior mris_calc file wa
That error typically means you're trying to run a binary file compiled
for a different architecture (i.e. running a Linux binary on a Mac or
vice versa).
You can easily check what 'mris_calc' is compiled for.
# On a Mac:
$>cd $FREESURFER_HOME/bin
$>file mris_calc
mris_calc: Mach-O 64-bit execut