mpi.Launcher¶
Module Contents¶
-
class
mpi.Launcher.Launcher¶ Bases:
pyre.shells.Script.ScriptEncapsulation of launching an MPI job using {mpirun}
-
hosts¶
-
doc= the number of hosts in the parallel machine¶
-
tasks¶
-
default¶
-
doc= the number of mpi tasks per host; defaults to the number of cores
-
hostfile¶
-
doc= the name of the file that describes the machine
-
auto¶
-
doc= set to {True} to re-launch this script under {mpirun}
-
mpi¶
-
doc= the mpi runtime of choice
-
extra¶
-
doc= extra arguments to pass to {mpirun}
-
model¶
-
doc= the programming model
-
world¶
-
launch(self, application, *args, **kwds)¶ Launch {application} as a collection of mpi tasks
-
parallel(self, *args, **kwds)¶ Called after the parallel machine has been built and it is time to invoke the user’s code in every node
-
spawn(self, application, *args, **kwds)¶ Invoke {mpirun} with the correct arguments to create the parallel machine
-
buildCommandLine(self)¶ Construct the mpirun command line
-