Access composite variables after parallelpool shutdown
5 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I used spmd to parallize my script. Unfortunately, I let the parallel pool worker shutdown and lost all the composite variables. If I try to open the those composite variables, I get the following error.
Error using Composite/subsref (line 22)
The Composite is invalid; it may have been saved and loaded, which is not allowed, or the parallel pool has been shut down.
I was wondering if there is any way to access those variables now? I'll make sure to disable IdleTimeout next time.
0 件のコメント
採用された回答
Edric Ellis
2022 年 2 月 14 日
Unfortunately there is not. The contents of Composite (and distributed arrays) are always left on the workers until you explicitly request them to be brought back to the client.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で MATLAB Parallel Server についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!