https://github.com/san7o/mpi-hpp
This repository contains c++ bindings for OpenMPI, currently 5.0.6
https://github.com/san7o/mpi-hpp
mpi openmpi
Last synced: about 1 month ago
JSON representation
This repository contains c++ bindings for OpenMPI, currently 5.0.6
- Host: GitHub
- URL: https://github.com/san7o/mpi-hpp
- Owner: San7o
- License: other
- Created: 2024-12-11T09:42:13.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-11T19:41:18.000Z (5 months ago)
- Last Synced: 2025-02-07T12:42:58.252Z (3 months ago)
- Topics: mpi, openmpi
- Language: C++
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mpi-hpp
This repository contains c++ bindings for OpenMPI, currently 5.0.6.
Note that this is nothing fancy nor impressive. So far, I have just
wrapped some functions and structs in the `mpi` namespace so the syntax
"looks more like" a c++ library. Surprisingly, no up-to-date c++ headers can be
found online for OpenMPI. If you want a truly c++ ideomatic implementation
of MPI, look at [Boost.MPI](https://www.boost.org/doc/libs/1_86_0/doc/html/mpi.html),
however the documentation states that "at present, Boost.MPI supports the majority
of functionality of MPI 1.1" which is quite old since the last MPI version
released is 4.x and I don't know what the Boost folks are planning to do.## Current State
Currently I have wrapped about 12% of the header file. I was thinking about
cooler techniques for code generation starting from the header like what they
do in [WebGPI-Cpp](https://github.com/eliemichel/WebGPU-Cpp) but this requires
quite some effort and for the time being, just wrapping the functions
manually works. However, I would like to explore more modern and ideomatic
implementations in the future.## Contributing
If you are also using this and want to add some functions that I did not
wrap, feel free to do so. Doing everything by hand on my own would be
a lot of effort. I'll personally wrap just what I use and I am happy with that.## License
This header is distributed with the original LICENSE of the OpenMPI project,
as they require. This should be correct, but In the case It is not just
open an issue.