1
1
openmpi/ompi
Jeff Squyres 20eebeaa14 MPI_TESTANY is described in MPI-1 p46. The last 2 full paragraphs of
the page address three situations:

1. if the array of requests are all REQUEST_NULL, set flag=true and
   index=MPI_UNDEFINED
2. if the array of requests are not all REQUEST_NULL, if any of them
   finished, set flag=true and index=whatever_the_index_was
3. if the array of requests are not all REQUEST_NULL, if none of them
   finished, set flag=false and index=MPI_UNDEFINED

With regards to the index value, we are currently doing 1 and 2, but
not 3.  More specifically, index should be set to MPI_UNDEFINED if no
requests are found to have completed (regardless of whether they are
REQUEST_NULL or not).

This patch fixes this problem.

This commit was SVN r8319.
2005-11-29 23:41:04 +00:00
..
attribute Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
class Add documentation about what is happening in this class. 2005-11-13 12:56:38 +00:00
communicator * need to declare environ on OS X 2005-11-17 08:19:47 +00:00
datatype First cut of the checksum capabilities for the convertor. Right now it's always set to zero, but it will change shortly. 2005-11-29 06:33:21 +00:00
debuggers Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
dynamic-mca Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
errhandler Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
file Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
group Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
include Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
info Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
mca Add support to Open MPI for MPI_Register_datarep, as ROMIO now has support for the 2005-11-29 18:25:35 +00:00
mpi Add support to Open MPI for MPI_Register_datarep, as ROMIO now has support for the 2005-11-29 18:25:35 +00:00
op Add missing functions for MPI_LONG_LONG, MPI_LONG_LONG_INT, and 2005-11-07 14:42:46 +00:00
proc Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
request MPI_TESTANY is described in MPI-1 p46. The last 2 full paragraphs of 2005-11-29 23:41:04 +00:00
runtime Handle the case when there is no F77 support available for us. 2005-11-22 21:52:14 +00:00
tools - Implement correct Fortran Logical-handling in f77/f90 interface in 2005-11-24 16:52:35 +00:00
win Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
win32 Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
Makefile.am Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
README.dox Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
win_makefile Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00

/*
 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
 *                         University Research and Technology
 *                         Corporation.  All rights reserved.
 * Copyright (c) 2004-2005 The University of Tennessee and The University
 *                         of Tennessee Research Foundation.  All rights
 *                         reserved.
 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 
 *                         University of Stuttgart.  All rights reserved.
 * Copyright (c) 2004-2005 The Regents of the University of California.
 *                         All rights reserved.
 * $COPYRIGHT$
 * 
 * Additional copyrights may follow
 * 
 * $HEADER$
 */
/** @mainpage

@section mainpage_introduction Introduction

This is the introduction.
This is the introduction.
This is the introduction.
This is the introduction.
This is the introduction.
This is the introduction.
This is the introduction.

@section main_install Installation
 
This is the installation section.
This is the installation section.
This is the installation section.
This is the installation section.
This is the installation section.
This is the installation section.
This is the installation section.

*/