11 from .mpi_impl_base
import MPIDisabled
12 module_logger=logging.getLogger(
'lsf_cray_intel')
15 """!Runs the "sync" command as an exe()."""
16 if logger
is None: logger=module_logger
22 """!Does nothing. This implementation does not support OpenMP.
24 @param arg An produtil.prog.Runner or
25 produtil.mpiprog.MPIRanksBase object tree
26 @param threads the number of threads, or threads per rank, an
29 """!Raises an exception to indicate MPI is not supported
30 @param arg,kwargs Ignored."""
31 raise MPIDisabled(
'This job cannot run MPI programs.')
33 """!Returns False to indicate MPI is not supported."""
36 """!Returns an ImmutableRunner that will run the specified program.
37 @returns an empty list
38 @param exe The executable to run on compute nodes.
39 @param kwargs Ignored."""
def mpirunner(arg, kwargs)
Raises an exception to indicate MPI is not supported.
This class is a wrapper around launch and manage.
def make_bigexe(exe, kwargs)
Returns an ImmutableRunner that will run the specified program.
Implements the produtil.run: provides the object tree for representing shell commands.
def can_run_mpi()
Returns False to indicate MPI is not supported.
def openmp(arg, threads)
Does nothing.
Represents a single stage of a pipeline to execute.
Internal module that launches and monitors processes.
An copy-on-write version of Runner.
def runsync
Runs the "sync" command as an exe().