Skip to content

Commit

Permalink
hack around titan build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
germasch committed May 30, 2019
1 parent aaf8d71 commit 8bc46e4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions source/adios2/helper/mpidummy.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@
#ifdef ADIOS2_HAVE_MPI
#include <mpi.h>

namespace adios2
{
namespace helper
{
namespace mpidummy
{
using MPI_Comm = ::MPI_Comm;
}
}
}

#else

namespace adios2
Expand Down Expand Up @@ -118,7 +129,9 @@ int MPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm);
int MPI_Comm_rank(MPI_Comm comm, int *rank);
int MPI_Comm_size(MPI_Comm comm, int *size);
int MPI_Comm_free(MPI_Comm *comm);
#ifndef ADIOS2_HAVE_MPI
MPI_Comm MPI_Comm_f2c(MPI_Fint comm);
#endif

int MPI_Gather(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
void *recvbuf, int recvcount, MPI_Datatype recvtype, int root,
Expand Down

0 comments on commit 8bc46e4

Please sign in to comment.