/* roll_call.c check that processors are available */ #include "mpi.h" #include int main(int argc, char *argv[]) { int proc, myid, numprocs; int count = 1; int tag = 0; int master = 0; double esec = 0.0; int buf[1000]; MPI_Status status; MPI_Init(&argc,&argv); MPI_Comm_size(MPI_COMM_WORLD,&numprocs); MPI_Comm_rank(MPI_COMM_WORLD,&myid); if(myid == 0) { printf("roll_call.c numprocs=%d \n", numprocs); for(proc=1; proc