Re: [Boost-bugs] [Boost C++ Libraries] #5596: MPI: problem creating communicator

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5596: MPI: problem creating communicator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-15 16:59:27


#5596: MPI: problem creating communicator
----------------------------------------+-----------------------------------
  Reporter: irek.szczesniak@… | Owner: dgregor
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: mpi
   Version: Boost 1.42.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------+-----------------------------------

Comment (by bschaeling):

 A new communicator must always be created for all processes. The
 constructor calls MPI_Comm_create() which must be executed by all
 processes, even if they don't belong to the new group (see http://www.mpi-
 forum.org/docs/mpi-11-html/node102.html).

 However I can confirm that I also have to call MPI_Finalize() myself (I'm
 using Boost 1.49.0). This call is only required though for those processes
 which don't belong to the newly created group. Boost.MPI behaves as if it
 skips calling MPI_Finalize() in the destructor of boost::mpi::environment
 for those processes.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5596#comment:9>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC