Skip to content

Commit

Permalink
Do not raise and stop backend on nonzero exit
Browse files Browse the repository at this point in the history
  • Loading branch information
MattToast committed Nov 1, 2024
1 parent 60d8e73 commit 216b2df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smartsim/_core/launcher/dragon/dragonBackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def _create_redirect_workers(
err_file: t.Optional[str],
) -> dragon_process_group.ProcessGroup:
grp_redir = dragon_process_group.ProcessGroup(
restart=False, policy=global_policy, pmi_enabled=False
restart=False, ignore_error_on_exit=True, policy=global_policy, pmi_enabled=False
)
for pol, puid in zip(policies, puids):
proc = dragon_process.Process(None, ident=puid)
Expand Down Expand Up @@ -528,7 +528,7 @@ def _start_steps(self) -> None:
host_name=hosts[0],
)
grp = dragon_process_group.ProcessGroup(
restart=False, pmi_enabled=request.pmi_enabled, policy=global_policy
restart=False, ignore_error_on_exit=True, pmi_enabled=request.pmi_enabled, policy=global_policy
)

policies = []
Expand Down

0 comments on commit 216b2df

Please sign in to comment.