public class MPI
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ANY_SOURCE |
static int |
ANY_TAG |
static Op |
BAND |
static Datatype |
BOOLEAN |
static Op |
BOR |
static int |
BSEND_OVERHEAD
Overhead incurred by buffered send.
|
static Op |
BXOR |
static Datatype |
BYTE |
static int |
CART |
static Datatype |
CHAR |
static Comm |
COMM_NULL |
static Comm |
COMM_SELF |
static Intracomm |
COMM_WORLD |
static int |
CONGRUENT |
static boolean |
DEBUG |
static Datatype |
DOUBLE |
static Datatype |
DOUBLE2 |
static Status |
EMPTY_STATUS |
static Errhandler |
ERRORS_ARE_FATAL |
static Errhandler |
ERRORS_RETURN |
static Datatype |
FLOAT |
static Datatype |
FLOAT2 |
static int |
GRAPH |
static Group |
GROUP_EMPTY |
static Group |
GROUP_NULL |
static int |
HOST |
static int |
IDENT |
static Datatype |
INT |
static Datatype |
INT2 |
static int |
IO |
static Op |
LAND |
static Datatype |
LB |
static Datatype |
LONG |
static Datatype |
LONG2 |
static Op |
LOR |
static Op |
LXOR |
static Op |
MAX |
static Op |
MAXLOC |
static Op |
MIN |
static Op |
MINLOC |
static Datatype |
NULL |
static int |
NUM_OF_PROCESSORS |
static Datatype |
OBJECT |
static Datatype |
PACKED |
static int |
PROC_NULL |
static Op |
PROD |
static int |
RECV_OVERHEAD
These should be accessed after calling MPI.Init()
|
static Request |
REQUEST_NULL |
static int |
SEND_OVERHEAD
These should be accessed after calling MPI.Init()
|
static Datatype |
SHORT |
static Datatype |
SHORT2
Its actually not good to call the following basic datatypes because they
are not ...
|
static int |
SIMILAR |
static Op |
SUM |
static int |
TAG_UB |
static int |
THREAD_FUNNELED |
static int |
THREAD_MULTIPLE |
static int |
THREAD_SERIALIZED |
static int |
THREAD_SINGLE |
static Datatype |
UB |
static int |
UNDEFINED |
static int |
UNEQUAL |
Constructor and Description |
---|
MPI() |
Modifier and Type | Method and Description |
---|---|
static void |
Buffer_attach(java.nio.ByteBuffer userBuffer)
Provides to MPI a buffer in user's memory to be used for buffering outgoing
messages.
|
static void |
Buffer_detach()
Detach the buffer currently associated with MPI.
|
static Errhandler |
Errorhandler_get()
Gets the error handler Not Implemented in the current
release
|
static void |
Errorhandler_set(Errhandler errhandler)
Set Error Handler Not Implemented in the current release
|
static void |
Finalize()
Finalize MPI.
|
static java.lang.String |
Get_processor_name()
Returns the name of the processor on which it is called.
|
static java.lang.String[] |
Init(java.lang.String[] argv)
Initialize MPI.
|
static boolean |
Initialized()
Test if MPI has been initialized.
|
static java.lang.String[] |
initThread(int required,
int provided,
java.lang.String[] argv)
Used to initialize MPI with certain level of threadedness ...
|
static boolean |
isMainThread()
Returns true if this thread initialized MPI
|
static int |
queryThread()
Returns the level of thread support provided by the MPI library and the
underlying device selected
|
static double |
Wtick()
Returns resolution of timer.
|
static double |
Wtime()
Returns wallclock time.
|
public static final boolean DEBUG
public static Intracomm COMM_WORLD
public static final int NUM_OF_PROCESSORS
public static int UNDEFINED
public static Datatype NULL
public static Datatype BYTE
public static Datatype CHAR
public static Datatype SHORT
public static Datatype BOOLEAN
public static Datatype INT
public static Datatype LONG
public static Datatype FLOAT
public static Datatype DOUBLE
public static Datatype PACKED
public static Datatype LB
public static Datatype UB
public static Datatype OBJECT
public static int THREAD_SINGLE
public static int THREAD_FUNNELED
public static int THREAD_SERIALIZED
public static int THREAD_MULTIPLE
public static Datatype SHORT2
public static Datatype INT2
public static Datatype LONG2
public static Datatype FLOAT2
public static Datatype DOUBLE2
public static Op MAX
public static Op MIN
public static Op SUM
public static Op PROD
public static Op LAND
public static Op BAND
public static Op LOR
public static Op BOR
public static Op LXOR
public static Op BXOR
public static Op MAXLOC
public static Op MINLOC
public static int ANY_SOURCE
public static int ANY_TAG
public static Status EMPTY_STATUS
public static int PROC_NULL
public static int BSEND_OVERHEAD
public static int SEND_OVERHEAD
public static int RECV_OVERHEAD
public static Group GROUP_EMPTY
public static Comm COMM_SELF
public static final int IDENT
public static final int CONGRUENT
public static final int SIMILAR
public static final int UNEQUAL
public static int GRAPH
public static int CART
public static Errhandler ERRORS_ARE_FATAL
public static Errhandler ERRORS_RETURN
public static int TAG_UB
public static int HOST
public static int IO
public static Request REQUEST_NULL
public static Comm COMM_NULL
public static Group GROUP_NULL
public static void Buffer_attach(java.nio.ByteBuffer userBuffer) throws MPIException
MPIException
public static void Buffer_detach() throws MPIException
MPIException
public static java.lang.String[] initThread(int required, int provided, java.lang.String[] argv)
public static boolean isMainThread()
public static int queryThread()
public static java.lang.String[] Init(java.lang.String[] argv) throws MPIException
args | arguments to main method. |
Java binding of the MPI operation MPI_INIT.
MPIException
public static void Finalize() throws MPIException
Java binding of the MPI operation MPI_FINALIZE.
MPIException
public static java.lang.String Get_processor_name() throws MPIException
returns: | A unique specifier for the actual node. |
Java binding of the MPI operation MPI_GET_PROCESSOR_NAME.
MPIException
public static void Errorhandler_set(Errhandler errhandler) throws MPIException
MPIException
public static Errhandler Errorhandler_get() throws MPIException
MPIException
public static double Wtime() throws MPIException
returns: | elapsed wallclock time in seconds since some time in the past |
Java binding of the MPI operation MPI_WTIME.
MPIException
public static double Wtick() throws MPIException
returns: | resolution of wtime in seconds. |
Java binding of the MPI operation MPI_WTICK.
MPIException
public static boolean Initialized() throws MPIException
returns: | true if Init has been called, false otherwise. |
Java binding of the MPI operation MPI_INITIALIZED.
MPIException