terminate program if worker aborts in parallel loop
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
gagan sidhu
le 18 Fév 2024
Commenté : gagan sidhu
le 21 Fév 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 commentaires
Réponse acceptée
Edric Ellis
le 21 Fév 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Parallel Computing Fundamentals dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!