|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.mpi.MPISpmdImpl
public class MPISpmdImpl
Constructor Summary | |
---|---|
MPISpmdImpl()
|
|
MPISpmdImpl(VirtualNode vn)
API method for creating a new MPISPMD object from an existing Virtual Node |
Method Summary | |
---|---|
java.util.ArrayList<java.lang.String> |
getClasses()
API method for getting list of classes |
java.util.Hashtable<java.lang.String,java.lang.Object[]> |
getClassesParams()
API method for getting array of params |
java.lang.String |
getName()
API method for getting MPI program name |
java.lang.String |
getRemoteLibraryPath()
API method for getting remote library path |
java.util.ArrayList<java.lang.String> |
getSpmdClasses()
API method for getting list of SPMD classes |
java.util.Hashtable<java.lang.String,java.util.ArrayList<java.lang.Object[]>> |
getSpmdClassesParams()
API method for getting table of params |
java.lang.String |
getStatus()
API method for getting MPI program status - |
VirtualNode |
getVn()
API method for getting MPI program virtual Node |
boolean |
isFinished()
|
boolean |
killMPI()
API method for killing MPI program - Kills the MPI program. |
void |
newActive(java.lang.String cl,
java.lang.Object[] params,
int rank)
API method for adding class that will be instanciate on a specific node of applications |
void |
newActiveSpmd(java.lang.String cl)
API method for adding class that will be instanciate on nodes of applications |
void |
newActiveSpmd(java.lang.String cl,
java.lang.Object[] params)
API method for adding class that will be instanciate on nodes of applications |
void |
newActiveSpmd(java.lang.String cl,
java.lang.Object[][] params)
API method for adding class that will be instanciate on nodes of applications |
void |
reinitProcess()
|
MPIResult |
reStartMPI()
API method for reStarting the MPI program - run a new computation independently if the first one is currently running |
void |
setMPICommandArguments(java.lang.String arguments)
API method for setting MPI program command arguments |
MPIResult |
startMPI()
API method for starting the MPI program |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MPISpmdImpl()
public MPISpmdImpl(VirtualNode vn) throws java.lang.RuntimeException, NodeException
NodeException
java.lang.RuntimeException
Method Detail |
---|
public MPIResult startMPI()
startMPI
in interface MPISpmd
public MPIResult reStartMPI()
reStartMPI
in interface MPISpmd
public boolean killMPI()
killMPI
in interface MPISpmd
public void setMPICommandArguments(java.lang.String arguments)
setMPICommandArguments
in interface MPISpmd
arguments
- - the arguments of the MPI programpublic java.lang.String getName()
MPISpmd
getName
in interface MPISpmd
public java.lang.String toString()
toString
in class java.lang.Object
public void reinitProcess()
public java.lang.String getStatus()
MPISpmd
getStatus
in interface MPISpmd
public boolean isFinished()
public VirtualNode getVn()
MPISpmd
getVn
in interface MPISpmd
public void newActiveSpmd(java.lang.String cl)
MPISpmd
newActiveSpmd
in interface MPISpmd
cl
- - the name of the user classpublic void newActiveSpmd(java.lang.String cl, java.lang.Object[] params)
MPISpmd
newActiveSpmd
in interface MPISpmd
cl
- - the name of the user classparams
- - the array that contain the parameterspublic void newActiveSpmd(java.lang.String cl, java.lang.Object[][] params)
MPISpmd
newActiveSpmd
in interface MPISpmd
cl
- - the name of the user classparams
- - the array that contain the parameterspublic void newActive(java.lang.String cl, java.lang.Object[] params, int rank) throws java.lang.ArrayIndexOutOfBoundsException
MPISpmd
newActive
in interface MPISpmd
cl
- - the name of the user classparams
- - the array that contains the parameters
java.lang.ArrayIndexOutOfBoundsException
public java.util.ArrayList<java.lang.String> getSpmdClasses()
MPISpmd
getSpmdClasses
in interface MPISpmd
public java.util.Hashtable<java.lang.String,java.util.ArrayList<java.lang.Object[]>> getSpmdClassesParams()
MPISpmd
getSpmdClassesParams
in interface MPISpmd
public java.util.ArrayList<java.lang.String> getClasses()
MPISpmd
getClasses
in interface MPISpmd
public java.util.Hashtable<java.lang.String,java.lang.Object[]> getClassesParams()
MPISpmd
getClassesParams
in interface MPISpmd
public java.lang.String getRemoteLibraryPath()
MPISpmd
getRemoteLibraryPath
in interface MPISpmd
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |