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 |
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 Datatype |
DOUBLE |
static Datatype |
DOUBLE2 |
static Status |
EMPTY_STATUS |
static Datatype |
FLOAT |
static Datatype |
FLOAT2 |
static int |
GRAPH |
static Group |
GROUP_EMPTY |
static Group |
GROUP_NULL |
static int |
HOST |
static int |
IDENT |
static Info |
INFO_NULL |
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
Not supported in the current release |
static int |
PROC_NULL |
static Op |
PROD |
static int |
RECV_OVERHEAD |
static Request |
REQUEST_NULL |
static int |
SEND_OVERHEAD |
static Datatype |
SHORT |
static Datatype |
SHORT2
Not supported in the current release |
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 |
attachBuffer(java.nio.ByteBuffer userBuffer)
Provides to MPI a buffer in user's memory to be used for buffering outgoing messages.
|
static void |
detachBuffer()
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 |
getProcessorName()
Returns the name of the processor on which it is called.
|
static java.lang.String[] |
Init(java.lang.String[] argv)
Initialize MPI.
|
static int |
InitThread(java.lang.String[] args,
int required)
Used to initialize MPI with certain level of threadedness ...
|
static boolean |
isInitialized()
Test if MPI has been initialized.
|
static boolean |
isThreadMain()
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 int NUM_OF_PROCESSORS
public static final Info INFO_NULL
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
Not supported in the current release
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
Not supported in the current release
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 GRAPH
public static int CART
public static int BSEND_OVERHEAD
public static int UNDEFINED
public static int IDENT
public static int CONGRUENT
public static int SIMILAR
public static int UNEQUAL
public static int TAG_UB
public static int HOST
public static int IO
public static int SEND_OVERHEAD
public static int RECV_OVERHEAD
public static Group GROUP_EMPTY
public static Group GROUP_NULL
public static Intracomm COMM_WORLD
public static Comm COMM_SELF
public static Comm COMM_NULL
public static Request REQUEST_NULL
public static void attachBuffer(java.nio.ByteBuffer userBuffer) throws MPIException
Not Implemented in the current release
.userBuffer
- the user buffer.
Java binding of the MPI operation MPI_BUFFER_ATTACH
.
MPIException
- Points out that an MPI exception has occured.public static void detachBuffer() throws MPIException
Not Implemented in the current release
. Java binding of the MPI operationMPI_BUFFER_DETACH
.MPIException
- Points out that an MPI exception has occured.public static int InitThread(java.lang.String[] args, int required) throws MPIException
args
- arguments to main
method.required
- Level of desired thread support. Java binding of the MPI operation MPI_INIT_THREAD
.
MPIException
- Points out that an MPI exception has occured.public static boolean isThreadMain()
true
for thread which initialized MPI.public static int queryThread()
MPI.THREAD_MULTIPLE
.public static java.lang.String[] Init(java.lang.String[] argv) throws MPIException
argv
- arguments to main
method.Java binding of the MPI operation MPI_INIT
.
MPIException
- Points out that an MPI exception has occured.public static void Finalize() throws MPIException
Java binding of the MPI operation MPI_FINALIZE
.
MPIException
- Points out that an MPI exception has occured.public static java.lang.String getProcessorName() throws MPIException
Java binding of the MPI operation MPI_GET_PROCESSOR_NAME
.
MPIException
- Points out that an MPI exception has occured.public static void Errorhandler_set(Errhandler errhandler) throws MPIException
Not Implemented in the current release
errhandler
- error handler.MPIException
- Points out that an MPI exception has occured.public static Errhandler Errorhandler_get() throws MPIException
Not Implemented in the current release
MPIException
- Points out that an MPI exception has occured.public static double wtime() throws MPIException
Java binding of the MPI operation MPI_WTIME
.
MPIException
- Points out that an MPI exception has occured.public static double wtick() throws MPIException
wtime
in seconds.
Java binding of the MPI operation MPI_WTICK
.
MPIException
- Points out that an MPI exception has occured.public static boolean isInitialized() throws MPIException
true
if init
has been called, false
otherwise.
Java binding of the MPI operation MPI_INITIALIZED
.
MPIException
- Points out that an MPI exception has occured.