/[escript]/trunk/paso/src/mpi_C.h
ViewVC logotype

Contents of /trunk/paso/src/mpi_C.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1983 - (show annotations)
Thu Nov 6 22:00:18 2008 UTC (10 years, 11 months ago) by caltinay
File MIME type: text/plain
File size: 840 byte(s)
Paso: Fixed compilation with OpenMPI

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2008 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14
15 /*
16 mpi_C.h
17
18 Ensures that no C++ stuff leaks into Paso/Finley from mpi.h
19 */
20
21 #ifdef PASO_MPI
22
23 /*
24 #ifndef MPI_NO_CPPBIND
25 #define MPI_NO_CPPBIND
26 #include <mpi.h>
27 #undef MPI_NO_CPPBIND
28 #else
29 #include <mpi.h>
30 #endif
31 */
32 #ifndef PASO_MPI_C
33 #define PASO_MPI_C
34
35 #define OMPI_SKIP_MPICXX
36 #define MPICH_SKIP_MPICXX
37 #include <mpi.h>
38 #undef MPICH_SKIP_MPICXX
39 #undef OMPI_SKIP_MPICXX
40
41 #endif /* PASO_MPI_C */
42
43 #endif /* PASO_MPI */
44

  ViewVC Help
Powered by ViewVC 1.1.26