File: vtk_mpi.h

package info (click to toggle)
vtk9 9.1.0%2Breally9.1.0%2Bdfsg2-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 153,832 kB
  • sloc: cpp: 1,800,419; ansic: 261,033; python: 86,332; yacc: 4,033; java: 3,977; xml: 3,068; sh: 2,702; perl: 2,189; lex: 1,761; objc: 143; makefile: 139; tcl: 59
file content (47 lines) | stat: -rw-r--r-- 792 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Skip MPICH's C++ support.
#ifndef MPICH_SKIP_MPICXX
#define MPICH_SKIP_MPICXX
#define _vtk_mpi_mpich
#endif

// Skip OpenMPI's C++ support.
#ifndef OMPI_SKIP_MPICXX
#define OMPI_SKIP_MPICXX
#define _vtk_mpi_openmpi
#endif

// Skip the IBM's MPI C++ support.
#ifndef _MPICC_H
#define _MPICC_H
#define _vtk_mpi_ibm
#endif

// Skip SGI MPT's C++ support.
#ifndef MPI_NO_CPPBIND
#define MPI_NO_CPPBIND
#define _vtk_mpi_sgi
#endif

// Include the MPI header.
#include <mpi.h>

// Cleanup what we set up.
#ifdef _vtk_mpi_mpich
#undef MPICH_SKIP_MPICXX
#undef _vtk_mpi_mpich
#endif

#ifdef _vtk_mpi_openmpi
#undef OMPI_SKIP_MPICXX
#undef _vtk_mpi_openmpi
#endif

#ifdef _vtk_mpi_ibm
#undef _MPICC_H
#undef _vtk_mpi_ibm
#endif

#ifdef _vtk_mpi_sgi
#undef MPI_NO_CPPBIND
#undef _vtk_mpi_sgi
#endif