Passing big matrix to workers
古いコメントを表示
I'm trying to pass very large matrix (65000x460x150) to workers with Worker Object Wrapper, with no luck.
The code:
Imat_worker = WorkerObjWrapper(Imat);
parfor kk = 1:size(num_iterations,2)
Imat_par = Imat_worker(:,:,1:num_iterations(kk));
some code...
end
I get the following message while running the code:
Error using WorkerObjWrapper/workerInit (line 156)
The parallel pool that SPMD was using has been shut down.
Error in WorkerObjWrapper (line 97)
WorkerObjWrapper.workerInit( tmpId, ctor, args, dtor );
A write error occurred while sending to worker 2.
Any ideas what am I doing wrong?
It is worth noting that I'm running the code on a server with enough RAM for the matrix.
Thanks in advance!
8 件のコメント
Matt J
2018 年 7 月 5 日
What version of MATLAB is this?
or ohev shalom
2018 年 7 月 5 日
Matt J
2018 年 7 月 5 日
or ohev shalom
2018 年 7 月 5 日
or ohev shalom
2018 年 7 月 5 日
or ohev shalom
2018 年 7 月 5 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Multidimensional Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!