Matlab Crashes When Using Parfor

Matlab Crashes When Using Parfor

I run the following code in parallel, but Matlab crashed.

n = 200;
A = 5000;
a = zeros(1,n);
parfor i = 1:n
     a(i) = max(abs(eig(rand(A))));
end

The validated information of my Matlab cluster

I am new to Ubuntu. I have raised the limit of open files to try to fix the error but fail as well.

The crashed message of Matlab.

5
Maya Lin-Takahashi
Author

Maya Lin-Takahashi

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.