Scampi (Simple CAml to MPI interface) is small library allowing Caml programs to make calls to MPI-1 communication routines. For now only a few calls are provided (basically, getting communicator size, rank and making synchronous and asynchronous send/receive of polymorphic data plus a couple of collective comm), but it is expected that subsequent versions will enlarge the set of provided bindings. This first version, however, effectivily allows building parallel Caml programs running in SPMD mode on a network of workstations for example.
See the file scampi.mli for a description of the MPI bindings. See the directory examples for a bunch of simple example programs.
Release 1.2 has been tested on a Sun SPARC running SunOS 4.1.3 with the Objective Caml 1.06 native compiler. The MPI implementation used was MPICH 1.0.12 Other implementations of MPI should work (after all MPI-1 _is_ a standard) but may require you to adjust some compile flags in Makefile.config.
Feedback, bug report to Jocelyn Sérot
Last update: Jun 26 1998