terminate program if worker aborts in parallel loop
조회 수: 4 (최근 30일)
이전 댓글 표시
i have read this question:
so i am aware of the "solution".
however sometimes we leave yobs on the cluster while we're sleeping, where this warning may pop up.
is there a way to configure the workers/parallel pool such that any warning is fatal and terminates the program?
thanks
댓글 수: 0
채택된 답변
Edric Ellis
2024년 2월 21일
If you create your parpool using the option SpmdEnabled=true, then this has the side-effect of making parallel pools terminate completely when any worker aborts.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!