Boost logo

Boost-MPI :

Subject: [Boost-mpi] Collective Operations for Serialized Types
From: Lorenz Hübschle-Schneider (huebschle_at_[hidden])
Date: 2015-08-26 05:32:07


as I understand the Boost.MPI code, collective operations on types that
need to be serialized always use point-to-point operations, e.g.

This is vastly inefficient, and frankly the claim that MPI_Bcast cannot
be used in this case does not make sense to me. Is there a case where
something like
would not work?

I used the same idea to implement an Allgatherv operation on vectors
(including size exchanges) and have been using it without issues.
However, that requires a bit of awfulness, and I severely doubt that
such ugly code would ever make it into Boost.MPI ;) For the curious, it
(along with some other wacky things which I do not recommend anyone use)
can be found at


Karlsruhe Institute of Technology (KIT)
Institute of Theoretical Informatics
Lorenz Hübschle-Schneider
Am Fasanengarten 5
Building 50.34, Room 206
76131 Karlsruhe, Germany
Phone: +49 721 608-46602
Fax: +49 721 608-43088
Email: huebschle_at_[hidden]
KIT – University of the State of Baden-Wuerttemberg and
National Research Center of the Helmholtz Association

Boost-Commit list run by troyer at