terminate program if worker aborts in parallel loop
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
gagan sidhu
am 18 Feb. 2024
Kommentiert: gagan sidhu
am 21 Feb. 2024
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 Kommentare
Akzeptierte Antwort
Edric Ellis
am 21 Feb. 2024
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Parallel for-Loops (parfor) finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!