Next Master/slave programs in MPI