ESYS13  Revision_
mpi_C.h
Go to the documentation of this file.
00001 
00002 /*******************************************************
00003 *
00004 * Copyright (c) 2003-2012 by University of Queensland
00005 * Earth Systems Science Computational Center (ESSCC)
00006 * http://www.uq.edu.au/esscc
00007 *
00008 * Primary Business: Queensland, Australia
00009 * Licensed under the Open Software License version 3.0
00010 * http://www.opensource.org/licenses/osl-3.0.php
00011 *
00012 *******************************************************/
00013 
00014 
00015 /*
00016     mpi_C.h
00017 
00018     Ensures that no C++ stuff leaks into Paso/Finley from mpi.h
00019 */
00020 
00021 #ifdef ESYS_MPI
00022 
00023 /*
00024 #ifndef MPI_NO_CPPBIND
00025   #define MPI_NO_CPPBIND
00026   #include <mpi.h>
00027   #undef MPI_NO_CPPBIND
00028 #else
00029   #include <mpi.h>
00030 #endif
00031 */
00032 #ifndef ESYS_MPI_C
00033 #define ESYS_MPI_C
00034 
00035 #define OMPI_SKIP_MPICXX
00036 #define MPICH_SKIP_MPICXX
00037 #include <mpi.h>
00038 #undef MPICH_SKIP_MPICXX
00039 #undef OMPI_SKIP_MPICXX
00040 
00041 #endif /* ESYS_MPI_C */
00042 
00043 #endif /* ESYS_MPI */
00044