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:
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):
Definition in file mpiwrapper.hpp.