gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
mpiwrapper.hpp File Reference

A simple C++ wrapper for the MPI C bindings. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

A simple C++ wrapper for the MPI C bindings.

It is by no means comprehensive, and is just intended to simplify some MPI commands within Gambit.

Extend as needed.

Note: Some C++ bindings already exist, but it appears that they are deprecated in really new versions of the MPI standard, and don't offer functionality over the C bindings anyway. I have nevertheless mirrored the names of some of the deprecated C++ bindings, in case it helps some people who were used to them.

There is also boost/mpi, but it is a compiled library and we have been avoiding those.

You can remove the error handlers if you want these wrappers to be independent of GAMBIT.


Authors (add name and date if you modify):

Author
Ben Farmer (benja.nosp@m.min..nosp@m.farme.nosp@m.r@fy.nosp@m.sik.s.nosp@m.u.se)
Date
2015 Apr
Author
Pat Scott (p.sco.nosp@m.tt@i.nosp@m.mperi.nosp@m.al.a.nosp@m.c.uk)
Date
2015 Jun

Definition in file mpiwrapper.hpp.