aboutsummaryrefslogtreecommitdiff
path: root/src/include/pugh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/pugh.h')
-rw-r--r--src/include/pugh.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/pugh.h b/src/include/pugh.h
index 8c528af..28b3f50 100644
--- a/src/include/pugh.h
+++ b/src/include/pugh.h
@@ -32,13 +32,13 @@
PUGH_MPI_REAL is used for communicating reals of the generic CCTK_REAL type
PUGH_MPI_REALn is used to explicitely communicate n-byte reals */
-#ifdef CCTK_REAL4
+#ifdef HAVE_CCTK_REAL4
#define PUGH_MPI_REAL4 MPI_FLOAT
#endif
-#ifdef CCTK_REAL8
+#ifdef HAVE_CCTK_REAL8
#define PUGH_MPI_REAL8 MPI_DOUBLE
#endif
-#ifdef CCTK_REAL16
+#ifdef HAVE_CCTK_REAL16
#define PUGH_MPI_REAL16 (sizeof (CCTK_REAL16) == sizeof (long double) ? \
MPI_LONG_DOUBLE : MPI_DATATYPE_NULL)
#endif
@@ -60,25 +60,25 @@
/* integer types are architecture-dependent:
PUGH_MPI_INT is used for communicating integers of the generic CCTK_INT type
PUGH_MPI_INTn is used to explicitely communicate n-byte integers */
-#ifdef CCTK_INT8
+#ifdef HAVE_CCTK_INT8
#define PUGH_MPI_INT8 (sizeof (CCTK_INT8) == sizeof (int) ? MPI_INT : \
sizeof (CCTK_INT8) == sizeof (long) ? MPI_LONG : \
sizeof (CCTK_INT8) == sizeof (long long) ? \
MPI_LONG_LONG_INT : MPI_DATATYPE_NULL)
#endif
-#ifdef CCTK_INT4
+#ifdef HAVE_CCTK_INT4
#define PUGH_MPI_INT4 (sizeof (CCTK_INT4) == sizeof (int) ? MPI_INT : \
sizeof (CCTK_INT4) == sizeof (short) ? MPI_SHORT : \
MPI_DATATYPE_NULL)
#endif
-#ifdef CCTK_INT2
+#ifdef HAVE_CCTK_INT2
#define PUGH_MPI_INT2 (sizeof (CCTK_INT2) == sizeof (short) ? MPI_SHORT : \
MPI_DATATYPE_NULL)
#endif
-#ifdef CCTK_INT1
+#ifdef HAVE_CCTK_INT1
#define PUGH_MPI_INT1 MPI_CHAR
#endif