Hello All,
I am trying to use the MPI_Recv of the open-mpi, but met some problems with
MPI_Recv.
I have two processes in master slave mode and I killed the slave process but
my MPI_Recv process is still waiting to get a response from slave and never
times out with any error. I am checking the MPI_SUCCESS but it seems to wait
for ever and hence the program hangs.
I am attaching the secition of code which i have used in my program.
--------------------------
val = MPI_Recv(&ans, 1, MPI_DOUBLE, MPI_ANY_SOURCE, MPI_ANY_TAG,
newcomm[i], &stat[i]);
if (val != MPI_SUCCESS )
printf("Manager: error in Recv\n");
--------------------------
Any advice?
Thanks,
Abhishek Agarwal