summaryrefslogtreecommitdiffstats
path: root/perform/pio_engine.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-10 19:05:06 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-10 19:05:06 (GMT)
commit204b89902904a59f4e14e788bcca065e2c358f0b (patch)
tree7d44f63b311a95ba467ddb94f1a2f996b35a56a5 /perform/pio_engine.c
parent6ea525228102ecc40e9c5a0fa16c9427366d8b75 (diff)
downloadhdf5-204b89902904a59f4e14e788bcca065e2c358f0b.zip
hdf5-204b89902904a59f4e14e788bcca065e2c358f0b.tar.gz
hdf5-204b89902904a59f4e14e788bcca065e2c358f0b.tar.bz2
[svn-r7019] Purpose:
Compatibility fix Description: The H5P[set|get]_fapl_mpiposix calls changed between v1.4.x and v1.5.x. Solution: Wrap them in the v1.4 backward compatibility #ifdefs and update tests, etc. Platforms tested: FreeBSD 4.8 (sleipnir) w/paralle & v1.4 compatibility h5committest pointless
Diffstat (limited to 'perform/pio_engine.c')
-rw-r--r--perform/pio_engine.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/perform/pio_engine.c b/perform/pio_engine.c
index b78dfd7..88a90e5 100644
--- a/perform/pio_engine.c
+++ b/perform/pio_engine.c
@@ -1524,7 +1524,11 @@ do_fopen(parameters *param, char *fname, file_descr *fd /*out*/, int flags)
/* Use the appropriate VFL driver */
if(param->h5_use_mpi_posix) {
/* Set the file driver to the MPI-posix driver */
+#ifdef H5_WANT_H5_V1_4_COMPAT
+ hrc = H5Pset_fapl_mpiposix(acc_tpl, pio_comm_g);
+#else /* H5_WANT_H5_V1_4_COMPAT */
hrc = H5Pset_fapl_mpiposix(acc_tpl, pio_comm_g, use_gpfs);
+#endif /* H5_WANT_H5_V1_4_COMPAT */
if (hrc < 0) {
fprintf(stderr, "HDF5 Property List Set failed\n");
GOTOERROR(FAIL);