I'm using the wrapper in the laptop using ubuntu 32bit. I works perfectly.
However, as desktop machine I have a 64bit processor and both tests crash. I can compile successfully and the crashing point is arbitrary: sometimes at iteration 4, sometimes in the beginning, depending on the Matlab version.
I tried with R2009b, R2011b, R2012a and always crashes. I also tried with both 4.4 and 4.3 gfortran and gcc. What could be the problem?
Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz
Linux 2.6.32-41-generic #90-Ubuntu SMP Tue May 22 11:29:51 UTC 2012 x86_64 GNU/Linux