フィルターのクリア

terminate program if worker aborts in parallel loop

6 ビュー (過去 30 日間)
gagan sidhu
gagan sidhu 2024 年 2 月 18 日
コメント済み: gagan sidhu 2024 年 2 月 21 日
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

採用された回答

Edric Ellis
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.
  1 件のコメント
gagan sidhu
gagan sidhu 2024 年 2 月 21 日
thanks edric. i will give this a go. i saw you answered the opposite question a few years back, wish i found it.
updated my parallelprofile accordingly as well. surprised it wasn't enabled by default on ACE-NET, but no big deal.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeParallel for-Loops (parfor) についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by