public final class MPJEngine extends java.lang.Object
MPJEngine.getComminicator(). Once an engine has been created it
must be shutdown to exit JAS with MPJEngine.terminate().| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String[] |
cmdline
Command line arguments.
|
static java.util.ArrayList<java.lang.String> |
hostNames
Hostnames of MPI partners.
|
static java.lang.String |
hostSuf
Hostname suffix.
|
(package private) static mpi.Intracomm |
mpiComm
MPI communicator engine.
|
static int |
N_CPUS
Number of processors.
|
static int |
N_THREADS |
static boolean |
NO_MPI
Flag for MPI usage.
|
static int |
TAG
MPI engine base tag number.
|
| Modifier and Type | Method and Description |
|---|---|
static mpi.Comm |
getCommunicator()
Get the MPI communicator.
|
static mpi.Comm |
getCommunicator(java.lang.String[] args)
Get the MPI communicator.
|
static boolean |
isRunning()
Test if a pool is running.
|
static void |
setCommandLine(java.lang.String[] args)
Set the commandline.
|
static void |
setMPI()
Set MPI usage.
|
static void |
setNoMPI()
Set no MPI usage.
|
static void |
terminate()
Stop execution.
|
protected static java.lang.String[] cmdline
public static java.util.ArrayList<java.lang.String> hostNames
public static boolean NO_MPI
public static final int N_CPUS
public static final int N_THREADS
static mpi.Intracomm mpiComm
public static final int TAG
public static final java.lang.String hostSuf
public static void setCommandLine(java.lang.String[] args)
args - the command line to use for the MPI runtime system.public static boolean isRunning()
public static mpi.Comm getCommunicator() throws java.io.IOException
java.io.IOExceptionpublic static mpi.Comm getCommunicator(java.lang.String[] args) throws java.io.IOException
args - the command line to use for the MPI runtime system.java.io.IOExceptionpublic static void terminate()
public static void setNoMPI()
public static void setMPI()