Skip to content

Suppress "orterun has exited [...] improperly" error

Description

We see occasional (random) CI failures with the message

orterun has exited due to process rank 0 with PID 3566290 on
node mpsd-hpc-ibm-020 exiting improperly. There are three reasons this could occur:
1. this process did not call "init" before exiting, but others in
the job did. This can cause a job to hang indefinitely while it waits
for all processes to call "init". By rule, if one process calls "init",
then ALL processes must call "init" prior to termination.
2. this process called "init", but exited without calling "finalize".
By rule, all processes that call "init" MUST call "finalize" prior to
exiting or it will be considered an "abnormal termination"
3. this process called "MPI_Abort" or "orte_abort" and the mca parameter
orte_create_session_dirs is set to false. In this case, the run-time cannot
detect that the abort call was an abnormal termination. Hence, the only
error message you will receive is this one.
This may have caused other processes in the application to be
terminated by signals sent by orterun (as reported here).
You can avoid this message by specifying -quiet on the orterun command line.

Based on https://github.com/open-mpi/ompi/issues/7833 this is likely a bug inside OpenMPI.

Checklist

  • I have checked that my code follows the Octopus coding standards
  • I have added tests for all the new features added in this request.

Merge request reports

Loading