Skip to content

[13pt] Check and fix all multi proc code to include the 'futures' MP system #306

@RobHanna-NOAA

Description

@RobHanna-NOAA

All MP's children functions have the ability to detect if there is a problem and shut down's its own process. However, we need to use the future system which can detect if the MP child was aborted and also have a result passed back from the child MP process. You can then use that to update any lists that were feed into the Pool the first place.

Two problems are triggered without this fix.

  1. A list feed into a multi proc will need to be updated to remove failed child MP, especially if that list continues to used in more processing.
  2. It is possible for all MP children to fail. If all fail, we need to shut the whole app down.

PS. we already have some examples where we do use the 'futures' system. We just need to check if they need to update any lists for failed MP children.

Update: Mar 1 - Put this on hold.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions