next up previous contents
Next: Multidimensional Arrays and Offsets. Up: Language Binding Previous: Data types   Contents

Restrictions on struct Derived Type.

Some options allowed for derived data types in the C and Fortran binding are deleted in mpiJava. The Java VM does not incorporate a concept of a global linear address space. Passing physical addresses to data type definitions is not allowed. The use of the MPI_TYPE_STRUCT datatype constructor is also restricted in a way that makes it impossible to send mixed basic datatypes in a single message. Since, however, the set of basic datatypes recognized by MPI is extended to include serializable Java objects, this should not be a serious restriction in practice. We will discuss derived type in detail in Section 4.2.2.



Bryan Carpenter 2004-06-09