title: Using scatter of MPI (mpi4py) in Python to split up vector processing
body: <p>So this is a simple code snippet that doesn't work for me stating expecting 4 items, got 55. In reality, I want to have a list of strings and split this list between the n_processes to do the computation on them. How is this possible with scatter??</p>
  
  <pre><code>from mpi4py import MPI
  
  comm = MPI.COMM_WORLD
  size = comm.Get_size()
  rank = comm.Get_rank()
  
  if rank == 0:
     data = [(i+1)**2 for i in range(55)]
  comm.Scatter(data, root=0)
  print rank, data
  </code></pre>