| HWRF
    trunk@4391
    | 
Adds support for LSF+aprun with the Intel OpenMP to produtil.run. More...
Adds support for LSF+aprun with the Intel OpenMP to produtil.run.
This module is part of the mpi_impl package – see produtil.mpi_impl for details. This implements the bizarre combination of LSF, Cray aprun with Intel OpenMP.
| Classes | |
| class | Syncer | 
| Calls sync and aprun -B sync.  More... | |
| Functions | |
| def | runsync | 
| Runs the "sync" command as an exe().  More... | |
| def | openmp (arg, threads) | 
| Adds OpenMP support to the provided object.  More... | |
| def | aprun_ln_sf | 
| def | detect () | 
| Determines if Cray aprun should be used to run MPI programs by looking for the aprun program in $PATH. | |
| def | can_run_mpi () | 
| Does this module represent an MPI implementation? Returns True.  More... | |
| def | make_bigexe (exe, kwargs) | 
| Returns an ImmutableRunner that will run the specified program.  More... | |
| def | mpirunner (arg, allranks=False, logger=None, kwargs) | 
| def | mpirunner2 (arg, allranks=False, logger=None, kwargs) | 
| Turns a produtil.mpiprog.MPIRanksBase tree into a produtil.prog.Runner.  More... | |
| Variables | |
| tuple | module_logger = logging.getLogger('lsf_cray_intel') | 
| tuple | aprun_path = produtil.fileop.find_exe('aprun',raise_missing=False) | 
| def produtil.mpi_impl.lsf_cray_intel.can_run_mpi | ( | ) | 
Does this module represent an MPI implementation? Returns True.
Definition at line 88 of file lsf_cray_intel.py.
| def produtil.mpi_impl.lsf_cray_intel.make_bigexe | ( | exe, | |
| kwargs | |||
| ) | 
Returns an ImmutableRunner that will run the specified program.
| exe | The executable to run on compute nodes. | 
| kwargs | Ignored. | 
Definition at line 92 of file lsf_cray_intel.py.
| def produtil.mpi_impl.lsf_cray_intel.mpirunner2 | ( | arg, | |
| allranks = False, | |||
| logger = None, | |||
| kwargs | |||
| ) | 
Turns a produtil.mpiprog.MPIRanksBase tree into a produtil.prog.Runner.
| arg | a tree of produtil.mpiprog.MPIRanksBase objects | 
| allranks | if True, and only one rank is requested by arg, then all MPI ranks will be used | 
| logger | a logging.Logger for log messages | 
| kwargs | passed to produtil.mpi_impl.mpi_impl_base.CMDFGen when mpiserial is in use. | 
Definition at line 116 of file lsf_cray_intel.py.
Referenced by produtil.mpi_impl.lsf_cray_intel.make_bigexe().
| def produtil.mpi_impl.lsf_cray_intel.openmp | ( | arg, | |
| threads | |||
| ) | 
Adds OpenMP support to the provided object.
| arg | An produtil.prog.Runner or produtil.mpiprog.MPIRanksBase object tree | 
| threads | the number of threads, or threads per rank, an integer | 
Definition at line 36 of file lsf_cray_intel.py.
| def produtil.mpi_impl.lsf_cray_intel.runsync | ( | logger = None | ) | 
Runs the "sync" command as an exe().
Definition at line 31 of file lsf_cray_intel.py.
 1.8.10
 1.8.10