ras2fim icon indicating copy to clipboard operation
ras2fim copied to clipboard

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

Open RobHanna-NOAA opened this issue 4 months ago • 0 comments

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.

RobHanna-NOAA avatar Feb 29 '24 19:02 RobHanna-NOAA