[Freesurfer] fscalc / mris_calc problem

2012-12-27 Thread Fred Lado
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

Re: [Freesurfer] fscalc / mris_calc problem

2012-12-31 Thread Rudolph Pienaar
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

Re: [Freesurfer] fscalc / mris_calc problem

2013-01-02 Thread Nick Schmansky
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

Re: [Freesurfer] fscalc / mris_calc problem

2013-01-03 Thread Fred Lado
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

Re: [Freesurfer] fscalc / mris_calc problem

2013-01-03 Thread Rudolph Pienaar
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