Re: [OMPI devel] [patch] Invalid MPI_Status for null or inactive request

2012-10-15 Thread Kawashima, Takahiro
George, Thanks for your reply. Yes, as you explained, a case specifying an inactive request for MPI_Test is OK. But the problem is a case specifying an inactive request for MPI_Wait, MPI_Waitall, and MPI_Testall, as I explained in my first mail. See code below: /* make a inactive reques

Re: [OMPI devel] [patch] Invalid MPI_Status for null or inactive request

2012-10-15 Thread George Bosilca
Takahiro, I fail to see the cases your patch addresses. I recognize I did not have the time to look over all the instances where we deal with persistent inactive requests, but at the first occurrence, the one in req_test.c line 68, the case you exhibit there is already covered by the test "requ

Re: [OMPI devel] [patch] Invalid MPI_Status for null or inactive request

2012-10-15 Thread Kawashima, Takahiro
Hi Open MPI developers, How is my updated patch? If there is an another concern, I'll try to update it. > > > > The bugs are: > > > > > > > > (1) MPI_SOURCE of MPI_Status for a null request must be MPI_ANY_SOURCE. > > > > > > > > (2) MPI_Status for an inactive request must be an empty status. > >

Re: [OMPI devel] [patch] Invalid MPI_Status for null or inactive request

2012-10-04 Thread Kawashima, Takahiro
Hi Open MPI developers, > > > The bugs are: > > > > > > (1) MPI_SOURCE of MPI_Status for a null request must be MPI_ANY_SOURCE. > > > > > > (2) MPI_Status for an inactive request must be an empty status. > > > > > > (3) Possible BUS errors on sparc64 processors. > > > > > > r23554 fixed possible

Re: [OMPI devel] [patch] Invalid MPI_Status for null or inactive request

2012-10-04 Thread Kawashima, Takahiro
Hi Eugene, > > I found some bugs in Open MPI and attach a patch to fix them. > > > > The bugs are: > > > > (1) MPI_SOURCE of MPI_Status for a null request must be MPI_ANY_SOURCE. > > > > (2) MPI_Status for an inactive request must be an empty status. > > > > (3) Possible BUS errors on sparc64 proc

Re: [OMPI devel] [patch] Invalid MPI_Status for null or inactive request

2012-10-04 Thread Eugene Loh
On 10/04/12 07:00, Kawashima, Takahiro wrote: (1) MPI_SOURCE of MPI_Status for a null request must be MPI_ANY_SOURCE. This bug is caused by a use of an incorrect variable in ompi/mpi/c/wait.c (for MPI_Wait) and by an incorrect initialization of ompi_request_null in ompi/request/request.

Re: [OMPI devel] [patch] Invalid MPI_Status for null or inactive request

2012-10-04 Thread Eugene Loh
On 10/4/2012 4:00 AM, Kawashima, Takahiro wrote: > Hi Open MPI developers, > > I found some bugs in Open MPI and attach a patch to fix them. > > The bugs are: > > (1) MPI_SOURCE of MPI_Status for a null request must be MPI_ANY_SOURCE. > > (2) MPI_Status for an inactive request must be an empty stat