when MPI_Spawn cannot launch an application for whatever reason, the
entire job is cancelled with some message like the following.
Is there a way to handle this nicely, e.g. by throwing an exception? I
understand, this does not work, when the job is first started with
mpirun, as there is no application yet to fall back on, but in case of a
running application, it should be possible to simply inform it that the
spawning request failed. Then the application could begin to handle the
error and terminate gracefully. I did enable C++ Exceptions btw, so I
guess this is not implemented. Is there a technical (e.g. architectural)
reason behind this, or simply a yet-to-be-added feature?
All the best,