|
Here is my code:
clear;
clc;
v_temp1 = zeros(2,2);
A = [4 2 ; 2 4];
M_matrix = [1 1 ; 1 1];
C = A * M_matrix
Interestingly i get segmentation fault whenever i fire this code on a CPU cluster, but it ofcourse runs well on my local machine. I am sure there is some setup issue, but don't know what...
Another thing is that when i replace the multiplication operator with addition/subtraction, it works...
Here is the error that i am getting..
------------------------------------------------------------------------
Segmentation violation detected at Fri Nov 6 20:13:51 2009
------------------------------------------------------------------------
Configuration:
MATLAB Version: 7.5.0.338 (R2007b)
MATLAB License: 168993
Operating System: Linux 2.6.24.6+desktop10+25.63 #1 SMP Thu Nov 5 15:03:22 CST 2009 i686
GNU C Library: 2.7 stable
Window System: No active display
Current Visual: None
Processor ID: x86 Family 6 Model 7 Stepping 6, GenuineIntel
Virtual Machine: Java 1.6.0 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode, sharing
Default Charset: US-ASCII
Register State:
eax = 00000000 ebx = 44598510
ecx = 00000000 edx = 00000002
esi = 44eedaac edi = 00000000
ebp = 4459fd00 esp = 44eeba18
eip = 43c8f761 flg = 00010246
Stack Trace:
[0] mkl.so:SearchPath~(0x645f6c6d, 0x732e6665, 111, 0) + 41 bytes
Please follow these steps to report this problem to The MathWorks so we
have the best chance of correcting it:
The next time MATLAB is launched under typical usage, a dialog box will
open to help you send the error log to The MathWorks. Alternatively, you
can send an e-mail to segv@mathworks.com with the following file attached:
/tmp/matlab_crash_dump.26316
If the problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/ts/help_request_1.html
A technical support engineer might contact you with further information.
Thank you for your help. Save your workspace and restart MATLAB.
|