I've been having a very frustrating issue when running computationally intensive tasks on my workstation. Occasionally, my system undergoes a complete hard restart with no warning, error message, or log. I've been testing my system extensively, pulling and swapping memory, trying "stress test" programs, and nothing can reproduce the issue experienced by Matlab. Ubuntu records no system crash issues, nothing appears wrong with my cooling or power supply. I've upgraded and downgraded both Ubuntu and Matlab, trying combinations of 18.04 and 20.04 with R2020a and R2018b.
The issue will arise with something as simple (but not easy) as:
A = rand(20000,10000);
x = rand(10000,1);
y = A*x;
x_ls = A\y;
I can run the above just fine on my home computer, which is comparatively much "weaker". If this was a memory issue, Matlab usually tells me that I'm out of memory and doesn't crash the whole show.
It is repeatable in the sense that if the problem happens, I can start matlab again, call the same command and it crashes again. However, it is not consistient in the sense that I can run some other intense programs that take hours to finish but do not cause the issue.
Any thoughts? Is this some occult hardware issue that somehow only Matlab is stressing?
Hardware details in case it helps:
EVGA 850W PSU
Asus Tuf X299 Mark ii MB
i7 7820X
2X Corsair Vengance LPX 16GB
Nvidia P4000
Samsung SSD
Best Answer