You can use MPI_Abort(MPI_COMM_SELF,0) to exit a process locally.

This may abort world if errors are fatal but either way, it’s not going to
synchronize before processes go poof.

Jeff

On Fri 9. Sep 2022 at 21.34 Mccall, Kurt E. (MSFC-EV41) via users <
users@lists.open-mpi.org> wrote:

> Hi,
>
>
>
> If a single process needs to exit, MPI_Finalize will pause at a barrier,
> possibly waiting for pending communications to complete.  Does OpenMPI have
> any means to disable this behavior, so the a single process can exit
> normally if the application calls for it?
>
>
>
> Thanks,
>
> Kurt
>
-- 
Jeff Hammond
jeff.scie...@gmail.com
http://jeffhammond.github.io/

Reply via email to