https://github.com/haskell-distributed/haskell-cci
Haskell bindings to the CCI reference implementation library.
https://github.com/haskell-distributed/haskell-cci
Last synced: 3 months ago
JSON representation
Haskell bindings to the CCI reference implementation library.
- Host: GitHub
- URL: https://github.com/haskell-distributed/haskell-cci
- Owner: haskell-distributed
- License: other
- Created: 2014-01-31T19:32:12.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2022-04-29T20:43:59.000Z (about 4 years ago)
- Last Synced: 2025-02-26T02:42:42.885Z (over 1 year ago)
- Language: HTML
- Size: 292 KB
- Stars: 0
- Watchers: 12
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This repository contains Haskell bindings for the CCI library. There
is more information about CCI at https://www.olcf.ornl.gov/center-projects/common-communication-interface/
Beware that this repository hasn't been updated for several years.
See LICENSE for license information.
Building cci
============
Install latest cci first. You can get it from https://github.com/CCI/cci.
Then build and install the bindings:
$ cabal install
You might need extra flags if CCI is not installed in a standard
location on your system:
$ cabal install --extra-lib-dirs=/path/to/cci/lib \
--extra-include-dirs=/path/to/cci/include/
The `LD_LIBRARY_PATH` will also need to be set before running any
program or test in this case:
$ export LD_LIBRARY_PATH=/path/to/cci/lib/
To generate HTML documentation:
$ cabal haddock
Examples
========
pingpong
--------
Start the server:
$ ./dist/build/ex-pingpong/ex-pingpong -s
Opened ip://192.168.0.1:46188
...
Start the client using RMA transfers up to 4 MB:
$ ./dist/build/ex-pingpong/ex-pingpong -h ip://192.168.0.1:46188 -r 4194304
Start the client using active messages:
$ ./dist/build/ex-pingpong/ex-pingpong -h ip://192.168.0.1:46188
Tests
=====
In short:
$ cabal configure --enable-tests
$ cabal build
$ cabal test
See [test/README.md](test/README.md) for details.
Design notes
============
See [here](NOTES.md).