# [mpi-hs-binary](https://github.com/eschnett/mpi-hs-binary)
[MPI](https://www.mpi-forum.org) bindings for Haskell
* [GitHub](https://github.com/eschnett/mpi-hs-binary): Source code repository
* [Hackage](http://hackage.haskell.org/package/mpi-hs-binary): Haskell
package and documentation
* [Stackage](https://www.stackage.org/package/mpi-hs-binary): Stackage
snapshots
* [Azure
Pipelines](https://dev.azure.com/schnetter/mpi-hs-binary/_build):
Build Status [](https://dev.azure.com/schnetter/mpi-hs-binary/_build/latest?definitionId=8&branchName=master)
## Overview
This is a companion package to
[`mpi-hs`](https://github.com/eschnett/mpi-hs). Read the documentation
there.
This package `mpi-hs-binary` provides a high-level interface based on
`Data.Binary` in the
[`binary`](https://hackage.haskell.org/package/binary) package. This
is a separate package to reduce dependencies for `mpi-hs`. Note that
`mpi-hs` has a similar high-level interface based on `Data.Storable`
already built in.
### Running the tests
There is one test case provided in `tests`:
```
stack build --test --no-run-tests
mpiexec -n 3 stack exec -- $(stack path --dist-dir)/build/mpi-test-binary/mpi-test-binary
```