mpi with collective operations correct