Discussion:
[OMPI users] MPI_Finalize?
Jeffrey A Cummings
2017-08-02 15:18:17 UTC
Permalink
What does MPI_Finalize actually do? Would it be harmful to synchronize all processes with a call to MPI_Barrier and then just exit, i.e., without calling MPI_Finalize?

I’m asking because I’m getting a segmentation error in MPI_Finalize.

– Jeff

Jeffrey A. Cummings
Engineering Specialist
Performance Modeling and Analysis Department
Systems Analysis and Simulation Subdivision
Systems Engineering Division
Engineering and Technology Group
The Aerospace Corporation
571-304-7548
***@aero.org
Jeff Squyres (jsquyres)
2017-08-02 15:25:19 UTC
Permalink
MPI_FINALIZE is required in all MPI applications, sorry. :-\

https://www.open-mpi.org/doc/v2.1/man3/MPI_Finalize.3.php

If you're getting a segv in MPI_FINALIZE, it likely means that there's something else wrong with the application, and it's just not showing up until the end.

Check and see if you freed some buffers early, or didn't complete some non-blocking communications, etc.
Post by Jeffrey A Cummings
What does MPI_Finalize actually do? Would it be harmful to synchronize all processes with a call to MPI_Barrier and then just exit, i.e., without calling MPI_Finalize?
I’m asking because I’m getting a segmentation error in MPI_Finalize.
– Jeff
Jeffrey A. Cummings
Engineering Specialist
Performance Modeling and Analysis Department
Systems Analysis and Simulation Subdivision
Systems Engineering Division
Engineering and Technology Group
The Aerospace Corporation
571-304-7548
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
--
Jeff Squyres
***@cisco.com

Loading...