Stub funcitons to allow produtil.mpi_impl to run when MPI is unavailable.
More...
Stub funcitons to allow produtil.mpi_impl to run when MPI is unavailable.
This module is part of the produtil.mpi_impl package. It underlies the produtil.run.openmp, produtil.run.mpirun , and produtil.run.mpiserial functions, providing the implementation needed to run when MPI is unavailable.
|
tuple | module_logger = logging.getLogger('lsf_cray_intel') |
|
def produtil.mpi_impl.no_mpi.can_run_mpi |
( |
| ) |
|
Returns False to indicate MPI is not supported.
Definition at line 32 of file no_mpi.py.
def produtil.mpi_impl.no_mpi.make_bigexe |
( |
|
exe, |
|
|
|
kwargs |
|
) |
| |
Returns an ImmutableRunner that will run the specified program.
- Returns
- an empty list
- Parameters
-
exe | The executable to run on compute nodes. |
kwargs | Ignored. |
Definition at line 35 of file no_mpi.py.
def produtil.mpi_impl.no_mpi.mpirunner |
( |
|
arg, |
|
|
|
kwargs |
|
) |
| |
Raises an exception to indicate MPI is not supported.
- Parameters
-
Definition at line 28 of file no_mpi.py.
def produtil.mpi_impl.no_mpi.openmp |
( |
|
arg, |
|
|
|
threads |
|
) |
| |
Does nothing.
This implementation does not support OpenMP.
- Parameters
-
Definition at line 21 of file no_mpi.py.
def produtil.mpi_impl.no_mpi.runsync |
( |
|
logger = None | ) |
|
Runs the "sync" command as an exe().
Definition at line 14 of file no_mpi.py.