|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.mpi.MPISpmdProxy
public class MPISpmdProxy
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
MPI_PROXY_LOGGER
|
Constructor Summary | |
---|---|
MPISpmdProxy(VirtualNode vn)
API method for creating a new MPISpmd proxy object from an existing Virtual Node |
Method Summary | |
---|---|
java.util.ArrayList |
getClasses()
API method for getting list of classes |
java.util.Hashtable |
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 |
getSpmdClasses()
API method for getting list of SPMD classes |
java.util.Hashtable |
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 |
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 |
MPIResult |
reStartMPI()
API method for reStarting 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 MPI program |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.log4j.Logger MPI_PROXY_LOGGER
Constructor Detail |
---|
public MPISpmdProxy(VirtualNode vn) throws java.lang.RuntimeException
java.lang.RuntimeException
Method Detail |
---|
public MPIResult startMPI() throws IllegalMPIStateException
startMPI
in interface MPISpmd
IllegalMPIStateException
public MPIResult reStartMPI() throws IllegalMPIStateException
reStartMPI
in interface MPISpmd
IllegalMPIStateException
public boolean killMPI()
killMPI
in interface MPISpmd
public java.lang.String getStatus()
getStatus
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()
getName
in interface MPISpmd
String
- - the name of the MPI program
public java.lang.String toString()
toString
in class java.lang.Object
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)
MPISpmd
newActive
in interface MPISpmd
cl
- - the name of the user classparams
- - the array that contains the parameterspublic java.util.ArrayList getClasses()
MPISpmd
getClasses
in interface MPISpmd
public java.util.ArrayList getSpmdClasses()
MPISpmd
getSpmdClasses
in interface MPISpmd
public java.util.Hashtable getClassesParams()
MPISpmd
getClassesParams
in interface MPISpmd
public java.util.Hashtable getSpmdClassesParams()
MPISpmd
getSpmdClassesParams
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 |