I have an ipcluster running with 8 engines for Ipython notebook. So the following:
from IPython import parallel
clients = parallel.Client()
clients.block = True # use synchronous computations
print clients.ids
gives [0, 1, 2, 3, 4, 5, 6, 7]. But, I cannot get mpi4py to see these engines:
from mpi4py import MPI
print MPI.COMM_WORLD.size
gives 1. I guess, I am missing something basic, so I'd appreciate any help.