Hi,
both 2006a and 2007a Linux versions are native 64-bit (Matlab is 64-bit
since the 7.0 release on Linux). Some shared library versions or Matlab
interfaces may have changed and therefore your would need to recompile.
Volkmar
On Thu, 22 Mar 2007, Ged Ridgway wrote:
> Hi Doerte,
>
> I might be wrong, but I think the situation is as follows:
>
> - Matlab 2006a was a 32-bit piece of software, which was happy to run on your
> 64-bit machine in 32-bit mode. The SPM mex files were compiled for 32-bit
> Linux, so everything was fine.
>
> - Matlab 2007a is (or at least may be) a genuine 64-bit program, hence it
> runs in true 64-bit mode on your 64-bit hardware; this breaks SPM's 32-bit
> mex files -- it's not a Matlab or SPM bug, just that 64-bit Matlab requires
> 64-bit mex files.
>
> - So you need to recompile the mex files, which requires "make" and a
> c-compiler, like gcc.
>
> Most Linux distributions have some kind of package manager, perhaps with some
> concept of tasks, and will install make, gcc, and a bunch of other
> development tools, if you select something like the "C/C++ Development"
> package/task. I'm afraid I can't help any more than that, as this depends on
> your Linux distribution -- ask your tech support to set-up a standard C
> programming environment on your Linux box, if possible.
>
> Best,
> Ged.
>
>
> Doerte Spring wrote:
>> Dear SPMler,
>>
>> I have a display problem on my linux 64-bit machine using SPM5 with matlab
>> 2007a.
>> I found a previous discussion about this problem on the list suggesting a
>> trick - recompiling mex files. So, I tried to apply this method as well
>> (thanks Ged for the exact instructions - I understand it now). By using
>> the
>> "make" command, another problem occurred. Obviously, the gcc command was
>> not
>> found either which I don't understand.
>> I have to add, that I just upgraded the matlab from 2006a to 2007a. With
>> the
>> previous matlab version everything was fine. No display problems, no need
>> for recompiling etc.
>> As I understand the gcc comes along with the linux system/installation,
>> but
>> linux as well as SPM5 did not change during the upgrade of matlab. Is the
>> display problem rather caused by the new matlab version? Is it maybe a
>> bug?
>>
>> That is why I want to ask the experts on this list for some advise on what
>> to do or to try.
>>
>> I really appreciate any comments.
>> Many thanks in advance.
>>
>> Sincerely,
>>
>> Doerte
>>
>
>
>
--
Volkmar Glauche
-
Department of Neurology [log in to unmask]
Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
Breisacher Str. 64 Fax 49(0)761-270-5416
79106 Freiburg http://fbi.uniklinik-freiburg.de/
|