#include #include "mpi.h" int main (int argc, char **argv) { int rank, n, i, message; char buff[1000]; MPI_Status status; MPI_Init (&argc, &argv); MPI_Comm_size (MPI_COMM_WORLD, &n); MPI_Comm_rank (MPI_COMM_WORLD, &rank); if (rank==0) { /* Process 0 will output data */ cout << "\n Enter anything to get started" << endl; cin >> buff; cout << "\n You entered:" << buff << endl; cout << "\n Hello from process " << rank << endl; for (i=1;i