MATLAB parallel computing beyond 8 cores causing OS to crash
조회 수: 20 (최근 30일)
이전 댓글 표시
Im running on a linux box using PoP-OS. It has 24 cores avaiable - we specifcally got it to run parallel toolbox MATLAB. When I set the parallel toolbox profiler to test and verfiy anything more than 8 cores - the computer will randomly select a core that causes the entire operating system to crash. Even if I select 10 out of 24 cores to use, the CPU can get a hard restart. There appears to be some kind of bug in the MATLAB parallel computing toolbox.
Any thoughts on what I should look into fixing this?
댓글 수: 2
Damian Pietrus
2024년 3월 28일
Hey Cyrus,
I have a few questions to hopefully provided some more context. Could you let me know what version of MATLAB you're using, as well as the type of processor you have? I'm specifically interested if it has performance/efficiency cores. I'm also curious when this issue occurs. Is it right when you open a pool of 8+ workers, or when you're running specific code?
You can also reach out to our support team at support@mathworks.com. They can help look at any crash logs.
답변 (1개)
Animesh
2024년 8월 1일
You can try disabling Just-In-Time (JIT) compilation in the Java startup options. To do this, create a "java.opts" file in the "matlabroot/bin/glnxa64" folder (where "matlabroot" is the MATLAB installation folder), if there isn't already a "java.opts" file present. Then, include the following option in the "java.opts" file:
-Xint
You can refer to the following MathWorks documentation for more information on Java Startup options:
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!