Chris, > JM > > re - MPI_BARRIER, did you also try commenting out MPI_Finalize? > > Chris You are right. when I comment out the 2 calls: MPI_BARRIER and MPI_Finalize, it stops as it should. But keeping 1 of those 2 is enough to make it wait for ever. Thanks, Jean-Michel