Hello,
I had written a few weeks ago about the erratic Matlab crashes we used
to see on Linux. We seem to have overcome the problem, but since we
tried lots of things, I'm not sure which exact change did help.
For those reading this thread, here are our changes. I believe change 3
was the crucial one:
1) Upgraded from Matlab 6.5.0.180913a (R13) to 6.5.2.202935 (R13SP2).
2) Downloaded the latest SPM99 updates from:
ftp://ftp.fil.ion.ucl.ac.uk/spm/
3) Changed the way we install SPM. We used to have three directories:
<dir>/spm99 % original SPM99 distribution
<dir>/spm99_updates % from ftp://ftp.fil.ion.ucl.ac.uk/spm/
<dir>/spm99_shfj % our local modifications
and the path used to containe these directories
>> path
MATLABPATH
<dir>/spm99_shfj
<dir>/spm99_updates
<dir>/spm99
[...]
>>
Unfortunately this can't work due to the way Matlab finds mex files.
Some spm_foobar.mexglx files have been added to <dir>/spm99_updates
but unfortunately Matlab looks for mex files in the same directory
as the corresponding *.m file, so in our case it finds the original
spm_foobar.mexlx files in <dir>/spm99.
We've now merged <dir>/spm99 and <dir>/spm99_updates, with updates
overwriting original files.
Now we don't see crashes and that's a big relief.
However there are still issues:
* SPM99 crashes under Matlab 6.5 due to incompatible changes between
Matlab 6.1 and Matlab 6.5. I'll post separately a patch that fixes
the issue for us.
* We get very different results between Linux and Windows, apparently
using SPM99 on the same version of Matlab. We'll have to look into
this in more detail before posting separately about this.
--
Dimitri Papadopoulos
|