Re: [PATCH] Robustify async MPI request handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Robustify async MPI request handling



Richard Guenther wrote:

The following patch fixes an error and robustifies MPI request handling.

Tested by having it in my local tree for a long time.

Ok?

Richard.


2004Aug16  Richard Guenther <richard.guenther@xxxxxxxxxxxxxxxx>

    * src/Threads/IterateSchedulers/SerialAsync.h: Guard against
LAM MPI automatically dragging in C++ support, fix message polling return value check, complete messages first, remove
    unused variable.

What problems does mpicxx.h cause? I am both curious and want to know so I can approve the patch.

------------------------------------------------------------------------

Index: SerialAsync.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Threads/IterateSchedulers/SerialAsync.h,v
retrieving revision 1.11
diff -u -u -r1.11 SerialAsync.h
--- SerialAsync.h	8 Jan 2004 21:45:49 -0000	1.11
+++ SerialAsync.h	16 Aug 2004 19:22:33 -0000
@@ -72,6 +72,7 @@
#include <stack>
#include "Pooma/Configuration.h"
#if POOMA_MPI
+# define MPIPP_H  // prevent lam mpicxx.h from being included
# include <mpi.h>
#endif


--
Jeffrey D. Oldham
oldham@xxxxxxxxxxxxxxxx