mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
49fa61246e
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: Need to update MANIFEST for the added t_ph5basic.c which tests the correctness of duplicated communicator and INFO object. |
||
---|---|---|
bin | ||
c++ | ||
config | ||
doc | ||
examples | ||
fortran | ||
hl/tools/gif2h5 | ||
pablo | ||
perform | ||
release_docs | ||
src | ||
test | ||
testpar | ||
tools | ||
windows | ||
.autom4te.cfg | ||
aclocal.m4 | ||
configure | ||
configure.in | ||
COPYING | ||
Makefile.dist | ||
Makefile.in | ||
MANIFEST | ||
README.txt |
HDF5 version 1.5.51 currently under development Please refer to the release_docs/INSTALL file for installation instructions. ------------------------------------------------------------------------------ This release is almost fully functional for the entire API defined in the documentation, see the RELEASE.txt file in this directory for information specific to this release of the library. The INSTALL file contains instructions on compiling and installing the library. The INSTALL_parallel file contains instructions on installing the parallel version of the library. The INSTALL* files can be found in the release_docs/ directory. Documentation for this release is in the html directory. Start with the "index.html" in that directory. Four mailing lists are currently set up for use with the HDF5 library. hdf5 - For general discussion of the HDF5 library with other users. hdf5dev - For discussion of the HDF5 library development with developers and other interested parties. hdf5announce - For announcements of HDF5 related developments, not a discussion list. hdf5cvs - For checkin notices of code development on the library, not a discussion list. To subscribe to a list, send mail to "majordomo@ncsa.uiuc.edu", with "subscribe <list>" in the _body_, not the Subject, of the message. E.g., subscribe hdf5 Messages to be sent to the list should be sent to "<list>@ncsa.uiuc.edu". Nearly daily code snapshots are now being provided at the following URL: ftp://hdf.ncsa.uiuc.edu/pub/outgoing/hdf5/snapshots Please read the readme file in that directory before working with a library snapshot. The HDF5 website is located at http://hdf.ncsa.uiuc.edu/HDF5/ Bugs should be reported to hdfhelp@ncsa.uiuc.edu.