pymor.parallel.default¶
Module Contents¶
Functions¶
Creates a new default |
|
Attributes¶
- pymor.parallel.default.new_parallel_pool(ipython_num_engines=None, ipython_profile=None, allow_mpi=True)[source]¶
Creates a new default
WorkerPool.If
ipython_num_enginesoripython_profileis provided as an argument or set as adefault, anIPythonPoolWorkerPoolwill be created using the given parameters via theipclusterscript.Otherwise, when
allow_mpiisTrueand an MPI parallel run is detected, anMPIPoolWorkerPoolwill be created.Otherwise, a sequential run is assumed and
pymor.parallel.dummy.dummy_poolis returned.