Access composite variables after parallelpool shutdown

조회 수: 6 (최근 30일)
Roshan Mathew Tom
Roshan Mathew Tom 2022년 2월 11일
답변: Edric Ellis 2022년 2월 14일
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.

채택된 답변

Edric Ellis
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개)

카테고리

Help CenterFile Exchange에서 MATLAB Parallel Server에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by