The launch module handles launching of simulations/analyses as sub-processes, and obtaining information about the platform(s) on which the simulations are run.
copyright: | Copyright 2006-2015 by the Sumatra team, see doc/authors.txt |
---|---|
license: | BSD 2-clause, see LICENSE for details. |
Enable running serial computations.
Return a string containing the command to be launched.
Return a list of PlatformInformation objects, containing information about the machine(s) and environment(s) the computations are being performed on/in.
Run tasks before the simulation/analysis proper.
Run a computation in a shell, with the given executable, script and arguments. If append_label is provided, it is appended to the command line. Return True if the computation finishes successfully, False otherwise.
Enable running distributed computations using MPI.
The current implementation is specific to MPICH2, but this will be generalised in future releases.
Return a string containing the command to be launched.
Return a list of PlatformInformation objects, containing information about the machine(s) and environment(s) the computations are being performed on/in.
Requires the script pfi.py to be placed on the user’s path on each node of the machine.
This is currently not useful, as I don’t think there is any guarantee that we get the same n nodes that the command is run on. Need to look more into this.
Run tasks before the simulation/analysis proper.
Run a computation in a shell, with the given executable, script and arguments. If append_label is provided, it is appended to the command line. Return True if the computation finishes successfully, False otherwise.
A simple container for information about the machine and environment the computations are being performed on/in.