Re: [OMPI users] Problem in MPI::Finalize when freeing intercommunicators

2009-03-12 Thread Mikael Djurfeldt
I should add that the problem disappears if I add a line MPI::COMM_WORLD.Barrier () just before the loop which frees the intercommunicators. I should not need to do this, right? On Thu, Mar 12, 2009 at 4:57 PM, Mikael Djurfeldt wrote: > Dear list, > > I get "Connection reset by peer" in Fina

[OMPI users] Problem in MPI::Finalize when freeing intercommunicators

2009-03-12 Thread Mikael Djurfeldt
Dear list, I get "Connection reset by peer" in Finalize (see log below), but *only* if I free my intercommunicators: ... for (std::vector::iterator connector = connectors.begin (); connector != connectors.end (); ++connector) (*connector)->freeIntercomm (); MP