Publication Details

Handling C++ Exceptions in MPI Applications

JAROŠ Jiří. Handling C++ Exceptions in MPI Applications. The International Conference for High Performance Computing, Networking, Storage, and Analysis. St. Louis, MO, USA, 2021. Available from: https://sc21.supercomputing.org/proceedings/tech_poster/tech_poster_pages/rpost142.html
Czech title
Ošetření C++ vyjímek v MPI aplikacích
Type
presentation,poster
Language
english
Authors
URL
Keywords

MPI, C++ Exceptions, Error Reporting.

Abstract

Handling error states in C++ applications is managed by exceptions. In distributed applications, it is necessary to inform the other processes, that something wrong happened, and the application should either recover from the faulty state, or report the error and terminate gracefully. Unfortunately, the MPI standard does not provide any support for distributed error handling.
This poster presents a new approach for exceptions handling in MPI applications. The goals are to (1) report any faulty state to the user in a nicely formatted way by just a single rank, (2) ensure the application will never deadlock, (3) propose a simple interface and ensure interoperability with other C/C++ libraries. The code was tested with several injected errors into multiple ranks such as non existing input file, disk quota exceeded, wrong rank in the MPI call, and standard system exceptions. In all situations the code has worked properly.

Published
2021
Pages
2
Book
The International Conference for High Performance Computing, Networking, Storage, and Analysis
Conference
SuperComputing 2021, America's Center, St. Louis, Missouri, Spojené státy americké, US
Place
St. Louis, MO, USA, US
Back to top