|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mpi.MPI
public class MPI
Method Summary | |
---|---|
static void |
Buffer_attach(BufferMPI buffer)
Attaches a user-provided buffer for sending. |
static void |
Buffer_detach()
Detach the buffer currently associated with MPI. |
static Keyval |
Comm_create_keyval()
Create a new attribute key. |
static void |
Comm_free_keyval(Keyval key)
Frees an attribute key for communicators. |
static void |
Finalize()
Terminates MPI execution environment. |
static boolean |
Finalized()
Indicates whether MPI.Finalize has been called. |
static java.lang.String |
Get_processor_name()
Returns the name of the processor on which it is called. |
static int[] |
Get_version()
Return the version number of MPI. |
static int |
Init_thread(java.lang.String[] argv,
int required)
Initialize the MPI execution environment. |
static java.lang.String[] |
Init(java.lang.String[] argv)
Initialize the MPI execution environment. |
static boolean |
Initialized()
Indicates whether MPI.Init has been called. |
static boolean |
Is_thread_main()
Returns a boolean indicating whether this thread called MPI.INIT or MPI.INIT_THREAD. |
static int |
queryThread()
Returns the level of thread support provided by the MPI library and the underlying device selected. |
static double |
Wtick()
Returns the resolution of MPI.Wtime. |
static double |
Wtime()
Returns wallclock time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int BSEND_OVERHEAD
public static final Datatype BYTE
public static final Datatype CHAR
public static final Datatype SHORT
public static final Datatype BOOLEAN
public static final Datatype INT
public static final Datatype LONG
public static final Datatype FLOAT
public static final Datatype DOUBLE
public static final Datatype OBJECT
public static final Datatype PACKED
public static final Datatype UB
public static final Datatype LB
public static final Datatype SHORT2
public static final Datatype INT2
public static final Datatype LONG2
public static final Datatype FLOAT2
public static final Datatype DOUBLE2
public static final Op MAX
public static final Op MIN
public static final Op SUM
public static final Op PROD
public static final Op LAND
public static final Op BAND
public static final Op LOR
public static final Op BOR
public static final Op LXOR
public static final Op BXOR
public static final Op MINLOC
public static final Op MAXLOC
public static final int IDENT
public static final int SIMILAR
public static final int UNEQUAL
public static final int CONGRUENT
public static final Keyval TAG_UB
public static final Keyval HOST
public static final Keyval IO
public static final Keyval WTIME_IS_GLOBAL
public static final Keyval UNIVERSE_SIZE
public static final int THREAD_SINGLE
public static final int THREAD_FUNNELED
public static final int THREAD_SERIALIZED
public static final int THREAD_MULTIPLE
public static final int GRAPH
public static final int CART
public static final int UNDEFINED
public static final int ANY_SOURCE
public static final int ANY_TAG
public static final int ANY_TYPE
public static final int ANY_SIZE
public static final int PROC_NULL
public static final Status EMPTY_STATUS
public static final Request REQUEST_NULL
public static Intracomm COMM_WORLD
public static Comm COMM_SELF
public static Comm COMM_NULL
public static final Group GROUP_NULL
public static final Group GROUP_EMPTY
public static Errhandler ERRORS_ARE_FATAL
public static Errhandler ERRORS_RETURN
public static final int NUM_OF_PROCESSORS
Method Detail |
---|
public static int[] Get_version() throws MPIException
Java binding of the MPI operation MPI_GET_VERSION.
The "version" will be represented by two separate integers in the returned array, for the version (int[0]) and subversion (int[1]).
MPIException
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
public static int Init_thread(java.lang.String[] argv, int required) throws MPIException
args | arguments to main method. |
required | Level of desired thread support |
returns: | Level of provided thread support |
Java binding of the MPI operation MPI_INIT_THREAD.
MPIException
public static boolean Is_thread_main()
Java binding of the MPI operation MPI_IS_THREAD_MAIN.
This method can be called by a thread to find out whether it is the main thread (the thread that called MPI.INIT or MPI.INIT_THREAD).
public static int queryThread()
returns: | Level of thread support provided by the MPI library (integer) |
Java binding of the MPI operation MPI_QUERY_THREAD.
public static void Finalize() throws MPIException
Java binding of the MPI operation MPI_FINALIZE.
MPIException
public static void Buffer_attach(BufferMPI buffer) throws MPIException
buffer | BufferMPI object |
Java binding of the MPI operation MPI_BUFFER_ATTACH.
Provides to MPI a buffer in user's memory to be used for buffering outgoing messages. The buffer is used only by messages sent in buffered mode. Only one buffer can be attached to a process at a time.
MPIException
public static void Buffer_detach() throws MPIException
Java binding of the MPI operation MPI_BUFFER_DETACH.
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 double Wtime()
returns: | elapsed wallclock time in seconds since some time in the past |
Java binding of the MPI operation MPI_WTIME.
If the attribute MPI.WTIME_IS_GLOBAL is defined and true, then the value is synchronized across all processes in MPI.COMM_WORLD.
public static double Wtick()
returns: | resolution of MPI.Wtime in seconds. |
Java binding of the MPI operation MPI_WTICK.
public static boolean Initialized()
returns: | true if Init has been called, false otherwise. |
Java binding of the MPI operation MPI_INITIALIZED.
This routine may be used to determine whether MPI.INIT has been called. It is the only MPI-1 routine that may be called before MPI.INIT is called.
public static boolean Finalized()
returns: | true if Finalize has been called, false otherwise. |
Java binding of the MPI operation MPI_FINALIZED.
This routine returns true if MPI.FINALIZE has completed. It is legal to call MPI.FINALIZED before MPI.INIT and after MPI.FINALIZE.
public static Keyval Comm_create_keyval()
returns: | key value for future access |
Java binding of the MPI operation MPI_COMM_CREATE_KEYVAL.
public static void Comm_free_keyval(Keyval key)
key | key value |
Java binding of the MPI operation MPI_COMM_FREE_KEYVAL.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |