Skip to content

Properly handle runtime errors in ParFORM#818

Open
tueda wants to merge 6 commits intoform-dev:masterfrom
tueda:pr/fix/parform-runtime-terminate
Open

Properly handle runtime errors in ParFORM#818
tueda wants to merge 6 commits intoform-dev:masterfrom
tueda:pr/fix/parform-runtime-terminate

Conversation

@tueda
Copy link
Copy Markdown
Collaborator

@tueda tueda commented Apr 14, 2026

This PR implements a runtime error propagation mechanism in ParFORM, allowing us to enable test cases that check for runtime errors, which were disabled because ParFORM would otherwise hang.

tueda added 6 commits April 13, 2026 08:02
This enables mpidbg.h to handle the MPI_Reduce call in PF_GetSlaveTimes.
Add runtime error propagation during parallel execution in PF_Processor.
- On success, after EndSort(), the main process and each worker process
  exchange sync messages before proceeding.
- If the main process encounters a runtime error, it sends a runtime
  error message to all worker processes.
- If a worker process encounters a runtime error, it sends a runtime
  error message to the main process, which then forwards it to the
  remaining worker processes.
@tueda tueda force-pushed the pr/fix/parform-runtime-terminate branch from 17cdcf6 to 268ca56 Compare April 14, 2026 13:46
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 58.432% (+0.002%) from 58.43% — tueda:pr/fix/parform-runtime-terminate into form-dev:master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants