Parallel¶
The elephant.parallel
package provides classes to parallelize calls to any
user-specified function.
The typical use case is calling a function many times with different parameters.
Note
This parallelization module is independent from Elephant and can be used to parallelize mutually independent calls to arbitrary functions.
Available Executors¶
ProcessPoolExecutor ([max_workers]) |
The wrapper of Python built-in concurrent.futures.ProcessPoolExecutor class. |
MPIPoolExecutor ([max_workers]) |
The MPIPoolExecutor class uses a pool of MPI processes to execute calls asynchronously. |
MPICommExecutor ([comm, root]) |
Legacy MPI-1 implementation for cluster nodes which do not support MPI-2 protocol. |