[MOAB-dev] r4045 - MOAB/trunk/src/parallel

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu Jul 8 12:02:05 CDT 2010


Author: kraftche
Date: 2010-07-08 12:02:05 -0500 (Thu, 08 Jul 2010)
New Revision: 4045

Modified:
   MOAB/trunk/src/parallel/moab_mpi.h
Log:
work around parallel build isused from broken #defs of MPI constaints in netcdf.h

Modified: MOAB/trunk/src/parallel/moab_mpi.h
===================================================================
--- MOAB/trunk/src/parallel/moab_mpi.h	2010-07-06 23:14:53 UTC (rev 4044)
+++ MOAB/trunk/src/parallel/moab_mpi.h	2010-07-08 17:02:05 UTC (rev 4045)
@@ -2,6 +2,12 @@
 #define MOAB_MPI_H
 #include "moab_mpi_config.h"
 
+/* Work around brain-dead netcdf.h */
+#undef MPI_Comm
+#undef MPI_Info
+#undef MPI_COMM_WORLD
+#undef MPI_INFO_NULL
+
 #ifndef __cplusplus
 #  include <mpi.h>
 #elif !defined(MB_MPI_CXX_CONFLICT)




































More information about the moab-dev mailing list