summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-08-14 22:41:11 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-08-14 22:41:11 (GMT)
commit900cce284007a07caabe5e995a6dd9e15314340a (patch)
tree10027d873cc84a09d4f93b19be742c17827cb53c
parente87fc517b8fc391cf18c268ce0b195eb7398a4a7 (diff)
downloadhdf5-900cce284007a07caabe5e995a6dd9e15314340a.zip
hdf5-900cce284007a07caabe5e995a6dd9e15314340a.tar.gz
hdf5-900cce284007a07caabe5e995a6dd9e15314340a.tar.bz2
[svn-r4359] Purpose:
bug fix Description: Could not get to compile as parallel program in parallel mode. That was because I did not include hdf5.h before testing for the H5_HAVE_PARALLEL macro. (DUMB!) Solution: #include hdf5.h first. Platforms tested: eirene (parallel)
-rw-r--r--perform/mpi-perf.c1
-rw-r--r--perform/perf.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/perform/mpi-perf.c b/perform/mpi-perf.c
index 09a134b..bf7c5be 100644
--- a/perform/mpi-perf.c
+++ b/perform/mpi-perf.c
@@ -7,6 +7,7 @@
* and was called mpi-io-test.c
*/
+#include "hdf5.h"
#ifdef H5_HAVE_PARALLEL
/* mpi-perf.c
*
diff --git a/perform/perf.c b/perform/perf.c
index 8ba0e88..a4a0678 100644
--- a/perform/perf.c
+++ b/perform/perf.c
@@ -7,6 +7,7 @@
* So if it doesn't work on some platform, that might be why.
*/
+#include "hdf5.h"
#ifdef H5_HAVE_PARALLEL
#include <stdio.h>
#include <stdlib.h>
@@ -21,7 +22,6 @@
#endif
-#include "hdf5.h"
/* Macro definitions */
/* Verify:
* if val is false (0), print mesg and if fatal is true (non-zero), die.