COMP: guards around #define OMPI_SKIP_MPICXX (avoids compiler warnings)

This commit is contained in:
Mark Olesen
2023-06-23 14:02:21 +02:00
parent 2afd2320ce
commit 642d8a9dfa
12 changed files with 95 additions and 7 deletions

View File

@ -38,10 +38,17 @@ Description
#include "vector.H"
#include "IOstreams.H"
#include "Pstream.H"
#include <mpi.h>
#include <iostream>
// Include MPI without any C++ bindings
#ifndef MPICH_SKIP_MPICXX
#define MPICH_SKIP_MPICXX
#endif
#ifndef OMPI_SKIP_MPICXX
#define OMPI_SKIP_MPICXX
#endif
#include <mpi.h>
using namespace Foam;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //