Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
CAML/MPI v1.1 available
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1997-12-19 (16:42)
From: Jocelyn Serot <Jocelyn.Serot@l...>
Subject: CAML/MPI v1.1 available
I'm pleased to announce the availability of release 1.1 of SCAMPI, a small
library for interfacing Objective Caml with MPI.

It is available by ftp:

or from my URL:
(sorry, this page is in french - but look for the URL "scampi-1.1")

*************************** Sampled from the README file in the distribution:

o Abstract

Scampi (Simple CAml to MPI interface) is small library allowing Caml functions
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.

o Description

See the file scampi.mli for a description of the MPI bindings.
See the directory examples for a bunch of simple example programs.

o Availibility

Release 1.1 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 (available from
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.

******************************************************* Changes since v1.0

* library renamed to SCAMPI (Simple CAml to MPI interface) (just for fun ;-)
* provided monomorphic versions of send/recv for strings, floats and arrays
  of float
* provided a few collective communication routines (MPI_Barrier, MPI_Broadcast,
  MPI_Scatter, MPI_Gather)
* provided some calls to MPE logging functions


- fixed bugs in mpi_sendrecv_int
- stub code rewritten using ocaml-v1.06 Marshall module and
  Begin_roots/End_roots macros instead of Push_roots/Pop_roots

J. Serot

E-mail: .............................
S-mail: LASMEA - UMR 6602 CNRS, Universite Blaise Pascal, 63177 Aubiere cedex
Tel: (33) 04 - Fax: (33) 04 .........................