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.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/pugh.h b/src/include/pugh.h
index 10a2b69..222b2f6 100644
--- a/src/include/pugh.h
+++ b/src/include/pugh.h
@@ -24,8 +24,8 @@
Define the different datatypes used for MPI communication
NOTE: the complex datatype is defined dynamically at runtime in SetupPGH.c
***/
-/* char type is easy */
-#define PUGH_MPI_CHAR MPI_CHAR
+/* byte type is easy */
+#define PUGH_MPI_BYTE MPI_UNSIGNED_CHAR
/* floating point types are architecture-independent,
ie. a float has always 4 bytes, and a double has 8 bytes
@@ -53,6 +53,10 @@
#endif
+/* char type is easy */
+#define PUGH_MPI_CHAR MPI_CHAR
+
+
/* 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 */