Clear Filters
Clear Filters

SVD Crashes Windows Computer

4 views (last 30 days)
Eric
Eric on 12 Feb 2017
Commented: Walter Roberson on 13 Feb 2017
Hi all,
Whenever I run svd, my entire computer shuts off. Like, flat out, shuts down entirely and does a hard reset. I have no clue why this is happening as I get absolutely no console output (there is no warning, nor error message, just the computer goes black and resets in the middle of execution). The only function I have found that this happens for is svd. I have tried running with and without 'econ', and it does not make a difference. I have an assignment due tomorrow requiring this (I couldn't start earlier due to interviews unfortunately), so any help you guys can provide would be great.
I do not think memory/processor should be a limitation, as I have 32 gigs and a 4 GHz 4 core/8 threads Intel CPU. The array I am trying to work with is quite small; only 764 x 900 (the original object was 764 x 60000, but I have resized it to 60000, 50000, 40000, 20000, 10000, 900 and still get the issue; I haven't tried any smaller since my computer crashes every time when I run the script which is obviously frustrating and not how I want to continually spend my time, but this array is a relatively tiny chunk of memory so even if there was a space related issue it wouldnt be happening in a space this small). I also tried reducing the maximum amount of RAM matlab can request from 100% to 50% thinking that could be the issue, but that also did not help at all. I tried first on 2015b, realized the program crashed, then upgraded to 2016b and still have the issue. This is a script that my instructor demo'd in class on a Mac which presumably has orders of magnitude less processor and memory. Also, my computer is running a clean install of windows 10. Your feedback is greatly appreciated!
Side note; is there a way to run matlab in some sort of "error check" mode where it will make a log at every operation it performs? The frustrating part about this issue is that absolutely nothing is shown in the environment, and no error is ever thrown to windows (it literally just goes black).
  2 Comments
Razvan Carbunescu
Razvan Carbunescu on 13 Feb 2017
Eric is this happening for all Linear Algebra operations or just SVD (try lu(rand(2000))?
Can you try running this with matlab -singleCompThread -nojvm and see if you see same behavior?
Intel provides a diagnosis tool to check their CPU .. you can try installing to check for hardware issues: https://downloadcenter.intel.com/download/19792/Intel-Processor-Diagnostic-Tool
Walter Roberson
Walter Roberson on 13 Feb 2017
There was a known issue with using linear algebra operations with AMD Jaguar CPUs, but those did not result in the system being shut down. The problem must be hardware failure. Perhaps that tool you linked to will help.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 13 Feb 2017
You have a hardware problem.
Perhaps you can do your assignment using MATLAB Online

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!