summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-04-18 03:03:52 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-04-18 03:03:52 (GMT)
commit3585f15d915ad6c28abbfc45961db274dccf1684 (patch)
tree0d9cc207e842e1bd9e3c02ff42c80890353f81a2 /testpar
parent7c832af9aa0db8c98d6dc0a3610c5e2ad14a8da3 (diff)
downloadhdf5-3585f15d915ad6c28abbfc45961db274dccf1684.zip
hdf5-3585f15d915ad6c28abbfc45961db274dccf1684.tar.gz
hdf5-3585f15d915ad6c28abbfc45961db274dccf1684.tar.bz2
[svn-r6708] Purpose:
Bug fixes/API changes Description: Previously, the Communicator and Info object arguments supplied to H5Pset_fapl_mpio() are stored in the property with its handle values. This meant changes to the communicator or the Info object after calling H5Pset_fapl_mpio would affect the how the property list function. This was also the case when H5Fopen/create operated. They just stored the handle value. This is not according to the MPI-2 defined behavior of how Info objects should be handled. (MPI-2 defines Info objects must be parsed when called.) The old design was trying to avoid numerous duplicates of the same information (e.g., every property object holds one version, every file opened holds another version, when all of them are referring to the same original version.) Nevertheless it is safer to implement it according to MPI-2 definition. Futhermore, the library often needs to do message passing using the supplied communicator. Using the same communicator as the application version may result in some messages mix up. Solution: H5Pset_fapl_mpio now stores a duplicate of each of the communicator and Info object. H5Pget_fapl_mpio returns a duplicate of its stored communicator and Info object. It is now the responsibility of the applications to free those objects when done. H5Fopen/create also stores a duplicate of the communicator and Info object supplied by the File Access Property list. H5Fclose frees those duplicates. There are a few more internal VFL call back functions that they follow this "make duplicates" requirement. Platforms tested: "h5committested". What other platforms/configurations were tested? Eirene (mpicc), sol(mpicc), copper(parallel) Misc. update:
Diffstat (limited to 'testpar')
0 files changed, 0 insertions, 0 deletions