Can worker be removed from Matlab Distributed Computing Server without error?

조회 수: 5 (최근 30일)
Hoo Pee
Hoo Pee 2018년 6월 14일
댓글: Walter Roberson 2018년 6월 14일
I'm using MATLAB 8.6 (2015b), Parallel Computin Toolbox 6.7 (2015b) and MATLAB Distributes Computing Server 6.7 (2015b).
My cluster is made out of several laptops that double as regular work stations of my research group.
My code has a parfor-loop that should preferably work similarly wether the client runs it locally or in the cluster.
The problem is that every once in a while, one of the worker laptops crashes or somebody has to disconnect his/her laptop and this causes the parfor-loop in the client machine to throw an error.
Is there some way to detect if a worker has left the pool and recalculate the corresponding loops in the rest of the pool?
  댓글 수: 1
Walter Roberson
Walter Roberson 2018년 6월 14일
parfor is the wrong instrument for this. See parfeval or perhaps batch, as those permit the client to check the status of workers and potentially start new tasks to account for failures.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by