mpi
Class MPI

java.lang.Object
  |
  +--mpi.MPI

public class MPI
extends java.lang.Object

MPI communication designed for use in MATLAB*P. Allows MATLAB*P computation nodes to communicate using an MPI-like interface in Java. The Comm class contains most MPI methods.

Author:
Max Goldman
, Da Guo

Field Summary
static Comm COMM_WORLD
          Contains all of the processes.
static Operation MAX
          Return the maximum.
static Operation MIN
          Return the minimum.
static Operation PROD
          Return the product.
static Operation SUM
          Return the sum.
 
Constructor Summary
MPI()
           
 
Method Summary
static void fnlz()
          Terminate the MPI execution environment.
static void init()
          Initialize the MPI execution environment.
static void main(java.lang.String[] argv)
           
static boolean starPready()
          Returns true if starPstart has been called sucessfully.
static void starPstart(int rank, int size, java.lang.String[] hosts)
          Builds the Java socket network used by MPI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX

public static final Operation MAX
Return the maximum. MPI operation constant.


MIN

public static final Operation MIN
Return the minimum. MPI operation constant.


SUM

public static final Operation SUM
Return the sum. MPI operation constant.


PROD

public static final Operation PROD
Return the product. MPI operation constant.


COMM_WORLD

public static final Comm COMM_WORLD
Contains all of the processes. MPI communicator constant.

Constructor Detail

MPI

public MPI()
Method Detail

starPready

public static boolean starPready()
Returns true if starPstart has been called sucessfully. MATLAB*P integration method.


starPstart

public static void starPstart(int rank,
                              int size,
                              java.lang.String[] hosts)
Builds the Java socket network used by MPI. MATLAB*P integration method.


init

public static void init()
Initialize the MPI execution environment. MPI API method.


fnlz

public static void fnlz()
Terminate the MPI execution environment. MPI API method; replaces finalize, which cannot be used due to a naming clash.


main

public static void main(java.lang.String[] argv)


18.337/6.338/SMA.5505