mpiwrapper

This commit is contained in:
Joachim Schöberl 2019-02-11 22:53:32 +01:00
parent 2c5fdfbfec
commit 63d2f4bcd0
3 changed files with 3 additions and 3 deletions

View File

@ -101,6 +101,7 @@ namespace ngcore
#else
class MPI_Comm { };
static MPI_Comm MPI_COMM_WORLD, MPI_COMM_NULL;
class NgMPI_Comm
{

View File

@ -44,8 +44,8 @@ namespace netgen
}
#else
MPI_Comm MPI_COMM_WORLD, MPI_COMM_NULL;
// #else
// MPI_Comm MPI_COMM_WORLD, MPI_COMM_NULL;
#endif

View File

@ -40,7 +40,6 @@ namespace netgen
}
#else
// enum { MPI_COMM_WORLD = 12345, MPI_COMM_NULL = 0};
extern MPI_Comm MPI_COMM_WORLD, MPI_COMM_NULL;
inline int MyMPI_GetNTasks (MPI_Comm comm = ng_comm) { return 1; }
inline int MyMPI_GetId (MPI_Comm comm = ng_comm) { return 0; }
#endif