diff options
author | tradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d> | 2002-01-19 16:06:36 +0000 |
---|---|---|
committer | tradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d> | 2002-01-19 16:06:36 +0000 |
commit | e4ed648a2c478bc039bf85fbccc47deb9f38b4ed (patch) | |
tree | 6d07458ee8a6d99a70cf4dcc89e2d7e3a4281c3d /src/Write.c | |
parent | 32ec60a6e53ab4523c25e018bad1d562827130a1 (diff) |
Fixed #ifdef for parallel HDF5 code.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@88 4825ed28-b72c-4eae-9704-e50c059e567d
Diffstat (limited to 'src/Write.c')
-rw-r--r-- | src/Write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Write.c b/src/Write.c index c4d842d..698e54e 100644 --- a/src/Write.c +++ b/src/Write.c @@ -109,7 +109,7 @@ int IOHDF5_Write (const cGH *GH, int vindex, const char *alias) /* open the output file on all IO processors or - in case of parallel HDF5 - on every processor */ -#ifdef HAVE_PARALLEL +#ifdef H5_HAVE_PARALLEL if (CCTK_MyProc (GH) != ioUtilGH->ioproc && ! ioUtilGH->unchunked) #else if (CCTK_MyProc (GH) != ioUtilGH->ioproc) @@ -127,7 +127,7 @@ int IOHDF5_Write (const cGH *GH, int vindex, const char *alias) IOHDF5_ERROR (plist = H5Pcreate (H5P_FILE_ACCESS)); #ifdef CCTK_MPI -#ifdef HAVE_PARALLEL +#ifdef H5_HAVE_PARALLEL if (ioUtilGH->unchunked) { IOHDF5_ERROR (H5Pset_mpi (plist, PUGH_pGH (GH)->PUGH_COMM_WORLD, |