Re: [OMPI users] MPI_Testsome with no requests

2006-04-03 Thread Brunner, Thomas A.
This seems to fix my problem. I have also decided that my original production code that exposed this was a little dangerous, and has also been improved because of this. I didn't realize that MPI_UNDEFINED was returned, and I was relying on it being zero or less, which it happens to be. Thanks f

Re: [OMPI users] MPI_Testsome with no requests

2006-04-01 Thread George Bosilca
There seems to be a sentence in the MPI standard about this case. The standard state: If there is no active handle in the list it returns outcount = MPI_UNDEFINED. Revision 9513 follow the standard. Thanks, george. On Mar 31, 2006, at 6:38 PM, Brunner, Thomas A. wrote: Compiling r

Re: [OMPI users] MPI_Testsome with no requests

2006-03-31 Thread Brunner, Thomas A.
Compiling revision 9505 of the trunk and building my original test code now core dumps. I can run the test code with the Testsome line commented out. Here is the output from a brief gdb session: -- gdb a.out /cores/core.28141 GNU gdb 6.

Re: [OMPI users] MPI_Testsome with no requests

2006-03-31 Thread George Bosilca
When we're checking the arguments, we check for the request array to not be NULL without looking to the number of requests. I think it make sense, as I don't see why the user would call these functions with 0 requests ... But, the other way around make sense too. As I don't find anything in