Skip to content

Commit

Permalink
Merge pull request #18 from chuckatkins/fix-more-dashboard-errors
Browse files Browse the repository at this point in the history
OpenMPI workaround for forcing C++ binding
  • Loading branch information
Chuck Atkins authored Mar 31, 2017
2 parents 7e7019e + e49b760 commit d694eb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/hello/bpWriter/helloBPWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
#include <iostream>
#include <vector>

#define OMPI_SKIP_MPICXX 1 // workaround for OpenMPI forcing C++ bindings
#include <mpi.h>
#undef OMPI_SKIP_MPICXX

#include "ADIOS_CPP.h"

Expand Down
2 changes: 2 additions & 0 deletions examples/hello/timeBP/timeBPWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
#include <iostream>
#include <vector>

#define OMPI_SKIP_MPICXX 1 // workaround for OpenMPI forcing C++ bindings
#include <mpi.h>
#undef OMPI_SKIP_MPICXX

#include "ADIOS_CPP.h"

Expand Down

0 comments on commit d694eb3

Please sign in to comment.