diff options
-rw-r--r-- | src/include/pGH.h | 4 | ||||
-rw-r--r-- | src/include/pGV.h | 2 | ||||
-rw-r--r-- | src/include/pugh.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/include/pGH.h b/src/include/pGH.h index 5bc3b5d..b93e63b 100644 --- a/src/include/pGH.h +++ b/src/include/pGH.h @@ -13,7 +13,7 @@ typedef struct PGH { -#ifdef MPI +#ifdef CCTK_MPI MPI_Comm PUGH_COMM_WORLD; /* A MPIcommunicator */ #endif @@ -58,7 +58,7 @@ typedef struct PGH /* FIXME */ double comm_time; /* time spent in communication */ -#ifdef MPI +#ifdef CCTK_MPI /* the complex datatype defined in SetupPGH.c */ MPI_Datatype pugh_mpi_complex; /* Derived data types for communication */ diff --git a/src/include/pGV.h b/src/include/pGV.h index a69f10d..841ecb0 100644 --- a/src/include/pGV.h +++ b/src/include/pGV.h @@ -92,7 +92,7 @@ typedef struct PGA int varsize; /* The size of the data */ int vtype; /* The type of the data */ -#ifdef MPI +#ifdef CCTK_MPI MPI_Request *sreq, *rreq; /* Comm requests and statuses. */ MPI_Status ms; #endif diff --git a/src/include/pugh.h b/src/include/pugh.h index 489ebe5..937ad36 100644 --- a/src/include/pugh.h +++ b/src/include/pugh.h @@ -31,7 +31,7 @@ #define ERROR_STOP(xerrcode) cshutdown(xerrcode); #define ERROR_ABORT(xerrcode) cabort(xerrcode); -#ifdef MPI +#ifdef CCTK_MPI #include "mpi.h" #endif @@ -70,7 +70,7 @@ #include "pGV.h" #include "pGH.h" -#ifdef MPI +#ifdef CCTK_MPI #define CACTUS_MPI_ERROR(xf) do {int errcode; \ if((errcode = xf) != MPI_SUCCESS) \ |