Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Abhishek Agarwal (a_agarwal_at_[hidden])
Date: 2006-02-16 10:11:40


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