Skip to content

Commit

Permalink
updated documentation with alltoall / alltoallv
Browse files Browse the repository at this point in the history
  • Loading branch information
iraikov committed Sep 27, 2016
1 parent 22a4265 commit 915d8da
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ best MPI library available.
The Chicken MPI egg provides a Scheme interface to a large subset of
the MPI 1.2 procedures for communication. It is based on the Ocaml
MPI library by Xavier Leroy
(http://forge.ocamlcore.org/projects/ocamlmpi/). The mpi
library has been tested with Open MPI versions 1.2.4 - 1.10.1.
(http://forge.ocamlcore.org/projects/ocamlmpi/). The mpi library has
been tested with Open MPI versions 1.2.4 - 1.10.1 and MPICH version
3.2.

### Initialization and time procedures

Expand Down Expand Up @@ -340,6 +341,21 @@ object. `TYPE` is one of the following: `int, flonum,
bytevector, s8vector, u8vector, s16vector, u16vector, s32vector,
u32vector, f32vector, f64vector`

`MPI:alltoall :: DATATYPE * DATA * SIZE * COMM -> DATA`
`MPI:alltoall-TYPE :: DATA * SIZE * COMM -> DATA`

Collects data of size `SIZE` from all processes and distributes it to
all processes. Argument `DATATYPE` is an MPI datatype object. `TYPE`
is one of the following: `int, flonum, bytevector, s8vector, u8vector,
s16vector, u16vector, s32vector, u32vector, f32vector, f64vector`

`MPI:alltoallv :: DATATYPE * DATA * SIZEVEC * COMM -> DATA`
`MPI:alltoall-TYPE :: DATA * SIZEVEC * COMM -> DATA`

Collects variable length data from all processes and distributes it to
all processes. Argument `DATATYPE` is an MPI datatype object. `TYPE`
is one of the following: `int, flonum, bytevector, s8vector, u8vector,
s16vector, u16vector, s32vector, u32vector, f32vector, f64vector`


`MPI:reduce-TYPE :: DATA * OP * ROOT * COMM -> DATA`
Expand Down Expand Up @@ -536,6 +552,7 @@ this node.

## Version history

- 2.0 : Support for MPI alltoall / alltoallv operations
- 2.0 : Support for MPI derived datatypes
- 1.14 : Added simple round-robin routines
- 1.12 : Fixes to allgather-int and allgather-flonum (thanks to Peter Bex)
Expand Down

0 comments on commit 915d8da

Please sign in to comment.