org.objectweb.proactive.mpi
Interface MPISpmd

All Known Implementing Classes:
MPISpmdImpl, MPISpmdProxy

public interface MPISpmd


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
 

Method Detail

startMPI

MPIResult startMPI()
API method for starting MPI program

Returns:
MPIResult

reStartMPI

MPIResult reStartMPI()
API method for reStarting MPI program - run a new computation independently if the first one is currently running

Returns:
MPIResult

killMPI

boolean killMPI()
API method for killing MPI program - Kills the MPI program. The MPI program represented by this MPISpmd object is forcibly terminated.

Returns:
boolean - true if program has been correctly been killed, false otherwise

getStatus

java.lang.String getStatus()
API method for getting MPI program status -

Returns:
the status of the MPISspmd object

setMPICommandArguments

void setMPICommandArguments(java.lang.String arguments)
API method for setting MPI program command arguments

Parameters:
arguments - - the arguments of the MPI program

getName

java.lang.String getName()
API method for getting MPI program name

Returns:
String - the name of the MPI program

getVn

VirtualNode getVn()
API method for getting MPI program virtual Node

Returns:
Virtual Node - the name of the MPI program

newActiveSpmd

void newActiveSpmd(java.lang.String cl)
API method for adding class that will be instanciate on nodes of applications

Parameters:
cl - - the name of the user class

newActiveSpmd

void newActiveSpmd(java.lang.String cl,
                   java.lang.Object[] params)
API method for adding class that will be instanciate on nodes of applications

Parameters:
cl - - the name of the user class
params - - the array that contain the parameters

newActiveSpmd

void newActiveSpmd(java.lang.String cl,
                   java.lang.Object[][] params)
API method for adding class that will be instanciate on nodes of applications

Parameters:
cl - - the name of the user class
params - - the array that contain the parameters

newActive

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

Parameters:
cl - - the name of the user class
params - - the array that contains the parameters

getSpmdClasses

java.util.ArrayList getSpmdClasses()
API method for getting list of SPMD classes

Returns:
ArrayList - the list of classes to instanciate

getSpmdClassesParams

java.util.Hashtable getSpmdClassesParams()
API method for getting table of params

Returns:
Hashtable - the table of params

getClasses

java.util.ArrayList getClasses()
API method for getting list of classes

Returns:
ArrayList - the list of classes to instanciate

getClassesParams

java.util.Hashtable getClassesParams()
API method for getting array of params

Returns:
Hashtable - the table of params

getRemoteLibraryPath

java.lang.String getRemoteLibraryPath()
API method for getting remote library path

Returns:
String - the remote library path


Copyright 2001-2007 INRIA All Rights Reserved.