PyFoam.Execution.ParallelExecution module¶
Things that are needed for convenient parallel Execution
-
class
PyFoam.Execution.ParallelExecution.
LAMMachine
(machines=None, nr=None)[source]¶ Bases:
PyFoam.Basics.Utilities.Utilities
Wrapper class for starting an stopping a LAM-Machine
-
buildMPIrun
(argv, expandApplication=True)[source]¶ Builds a list with a working mpirun command (for that MPI-Implementation) :param argv: the original arguments that are to be wrapped :param expandApplication: Expand the :return: list with the correct mpirun-command
-
writeDecomposition
(sDir, par)[source]¶ Write parameter file for a decomposition :param par:Parameters specific for that kind of decomposition :type par:str :param sDir: Solution directory :type sDir: PyFoam.RunDictionary.SolutionDirectory
-