I think this is all you need in order to support MPI via mpipool. I just made the sampler more agnostic to what the pool object is, and to just assume it has a map() method. I also added a SerialPool object that mimics the API of the multiprocessing pool but is really just a wrapper around the built-in map() function.
I think this is all you need in order to support MPI via mpipool. I just made the sampler more agnostic to what the pool object is, and to just assume it has a
map()
method. I also added aSerialPool
object that mimics the API of the multiprocessing pool but is really just a wrapper around the built-inmap()
function.