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