Commit 3a9e0e41 authored by gsell's avatar gsell
Browse files


- define dummy MPI data-types only if MPI_VERSION is not set.
  According to the MPI specification, this macro must be set after
  including the header MPI header file 'mpi.h'
parent aa1f4eac
......@@ -13,6 +13,21 @@
#include <stdarg.h>
#include <stdint.h>
#include <hdf5.h>
If someone want's to use serial H5hut with MPI, he must include
the header file "mpi.h" before including H5hut's header file. According
to the MPI standard the macro MPI_VERSION must be defined after reading
typedef int MPI_Comm;
typedef int MPI_Datatype;
typedef enum {
......@@ -107,11 +122,6 @@ typedef h5_err_t (*h5_errorhandler_t)(
const char*,
va_list ap );
typedef int MPI_Comm;
typedef int MPI_Datatype;
typedef struct h5_loc_idlist {
int32_t size; /* allocated space in number of items */
int32_t num_items; /* stored items */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment