diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-10 19:05:06 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-10 19:05:06 (GMT) |
commit | 204b89902904a59f4e14e788bcca065e2c358f0b (patch) | |
tree | 7d44f63b311a95ba467ddb94f1a2f996b35a56a5 /src/H5FDmpiposix.h | |
parent | 6ea525228102ecc40e9c5a0fa16c9427366d8b75 (diff) | |
download | hdf5-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 'src/H5FDmpiposix.h')
-rw-r--r-- | src/H5FDmpiposix.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5FDmpiposix.h b/src/H5FDmpiposix.h index cae9370..b4614c7 100644 --- a/src/H5FDmpiposix.h +++ b/src/H5FDmpiposix.h @@ -44,8 +44,13 @@ extern "C" { #endif H5_DLL hid_t H5FD_mpiposix_init(void); +#ifdef H5_WANT_H5_V1_4_COMPAT +H5_DLL herr_t H5Pset_fapl_mpiposix(hid_t fapl_id, MPI_Comm comm); +H5_DLL herr_t H5Pget_fapl_mpiposix(hid_t fapl_id, MPI_Comm *comm/*out*/); +#else /* H5_WANT_H5_V1_4_COMPAT */ H5_DLL herr_t H5Pset_fapl_mpiposix(hid_t fapl_id, MPI_Comm comm, hbool_t use_gpfs); H5_DLL herr_t H5Pget_fapl_mpiposix(hid_t fapl_id, MPI_Comm *comm/*out*/, hbool_t *use_gpfs/*out*/); +#endif /* H5_WANT_H5_V1_4_COMPAT */ H5_DLL MPI_Comm H5FD_mpiposix_communicator(H5FD_t *_file); H5_DLL herr_t H5FD_mpiposix_closing(H5FD_t *file); H5_DLL int H5FD_mpiposix_mpi_rank(H5FD_t *_file); |