I'm afraid I don't have access to a 64 bit Solaris machine (or any other 64
bit machine for that matter), so I can't test SPM thoroughly on some
platforms. If you do find a solution, then I would be most pleased to
include it in the next set of updates of SPM.
Best regards,
-John
On Friday 21 September 2007 18:06, Beau Sapach wrote:
> Hi everyone,
>
>
>
> We've recently renewed our license for Matlab (which around here means
> updating to the latest version, R2007a) and now I'm faced with re-compiling
> the mex files for SPM5 on a Sun (sparc) machine running Solaris 9. I've
> configured mex in matlab by running mex -setup and chose the gcc option.
> I'm using GCC 3.4.6 and GNU make. Matlab R2007 now seems to identify this
> platform as sol64 and wants to name mex files with a .mexs64 (as opposed to
> the previous sol2 and .mexsol) so I've edited the Makefile to reflect this.
> Lastly the resulting mex files were all in the 10s of KB in size (while the
> originals varied much more) and Matlab wouldn't execute them. After adding
> the -m64 option to CFLAGS in the makefile, I get mex files that vary in
> size as expected and can be run by matlab.
>
>
>
> After all of this however, SPM displays images with very low signal
> intensity (e -5). I'm not positive the new mex files are the culprit but
> that's the most obvious possible cause. My question now is, have I missed
> a step in mex compilation or is there an option that should be used that I
> haven't used?? Or, does anyone out there have a set of SPM5 mex files for
> 64bit Solaris??
>
>
>
> Beau
|