parpool making my laptop and matlab freeze.

조회 수: 2 (최근 30일)
fadams18
fadams18 2018년 12월 4일
편집: fadams18 2018년 12월 4일
I have 8 cores, 32gb ram. i used parpool in matlab 2017. and it was fine. I increased the number of works from default to 8 to match my cores. and i had no issues.
now i updated to matlab 2018 and every time i try to run code it freezes. anyone knows what im doing wrongly?
please see the screenshots of my settings
Total_Tests =40;
mat_size='10000x10000';
parpool(8) % parrallel pool
missing=[0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9];
parfor k=1:length(missing)
for i=1:Total_Tests
MV=missing(k);
data(MV,i,mat_size); % function for data creation
end
disp( ['Test: ',int2str(k),' OK!'] );
end
disp(['matrix size ', '( ',mat_size,' )', ' : all ',int2str(Total_Tests), ' data simulations ', ' completed!' ]);
delete(gcp) % stop parrallel computing
Screenshot from 2018-12-04 21-02-30.png

답변 (0개)

카테고리

Help CenterFile Exchange에서 Parallel Computing Fundamentals에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by