MPI C - Root node receives more than one arrays -
each slave send array num length len root node. how able store these array in 2d array?
if (world_rank == root) { for(i=1; i<world_size;i++) { // clueless } mpi_waitall(world_size-1, &rcv_request[1], &status[1]); } else { mpi_isend(num, len, mpi_float, i, 1, mpi_comm_world, &send_request[i]); mpi_wait(&send_request[1], &status[1]); }
Comments
Post a Comment