summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r27946] Brought VDS branch in sync with trunk (up to r27945).Dana Robinson2015-10-0436-574/+2080
|\ | | | | | | | | | | | | | | Tested on Ubuntu 15.04 (Linux 3.19 x86_64), gcc 4.9.2, MPICH 3.1.4 and CMake 3.3.2. - Autotools serial w/ Fortran, C++ - Autotools parallel w/ Fortran - CMake serial w/ Fortran, C++
| * [svn-r27945] Purpose: Fix HDFFV-9529Binh-Minh Ribler2015-10-0422-430/+1896
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Merged from hdf5_CppAPI_Constants r27942: ------ Description: - Added H5dont_atexit() to getPredType and all the getConstant's to prevent the C library from terminating before the C++ library cleanup. - More cleanup and added more comments r27923: ------ - Updated more comments and moved some things around for consistency - Removed check for "new" failure, exceptions would be thrown r27922: ------ Description: Added function headers and more comments for clarity. r27917: ------ Description: The C++ library has several types of global constants from different classes, such as PropList, PredType, DataSpace, etc... Previously, these global constants were declared statically and the C++ library used a constant, called PredType::AtExit, to detect when all the global contants are destroyed then close the C library (H5close). This method relied on the order of the constants being created and destroyed and that PredType constants be the last to be destroyed. In September 2015, it was recognized that the order in which the global constants were created and destroyed was actually undefined, thus can be different between different compilers. This resulted in failure when compilers destroy PredType constants before others because when PredType::AtExit was destroyed, the C library was closed, so when the constants of other classes such as PropList or DataSpace were being deleted, the C library would not be available. Solution: The static approach is changed to dynamic. In order to avoid an impact on existing applications, the static global constants are changed to constant references to the dynamically allocated objects. A detailed explanation of the new method and a description of the changes are in a Design Notes at the end of the file H5PredType.cpp. New functions added to support the new methods are listed below. class H5Library: // Returns a singleton H5Library to initialize the global // constants, invoked in IdComponent default constructor static H5Library* getInstance(); // public // Registers cleanup and terminating functions with atexit(), // called in IdComponent default constructor static void initH5cpp(void); // public // Calls H5close to terminate the library, registered with // atexit(), as the last thing to be done. static void termH5cpp(void); // public class PredType: // Creates the constants static void makePredTypes(); // private // Calls makePredTypes to create the constants and returns // the dummy constant PREDTYPE_CONST; static PredType* getPredTypes(); // private class DataSpace: // Creates the constant static DataSpace* getConstant(); // private class PropList: // Creates the constant static PropList* getConstant(); // private class DSetCreatPropList: // Creates the constant static DSetCreatPropList* getConstant(); // private class DSetMemXferPropList: // Creates the constant static DSetMemXferPropList* getConstant(); // private class FileCreatPropList: // Creates the constant static FileCreatPropList* getConstant(); // private class FileAccPropList: // Creates the constant static FileAccPropList* getConstant(); // private This function is added to PredType, DataSpace, PropList, and the four subclasses of PropList: // Deletes the constant static void deleteConstants(); // public Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
| * [svn-r27943] Purpose: Fix HDFFV-7947 (cont.)Binh-Minh Ribler2015-10-032-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: In the friend functions that setId, changed the direct assignment of id to using p_setId() so that the previous id can be closed first to avoid memory leaks. This change was tested and confirmed by user Jorj on Forum when his application stopped running out of memory. Currently, the C++ library doesn't have a way to test this. A function such as H5Inmembers for library ids would be helpful. Platforms tested: Linux/32 2.6 (jam) SunOS 5.11 (emu) Darwin (osx1010test)
| * [svn-r27939] Remove H5D__iterate and use H5S_select_iterate directlyJerome Soumagne2015-10-026-69/+97
| | | | | | | | | | Add internal library callback to H5S_select_iterate to avoid having to pass hid_t objects internally
| * [svn-r27938] Fix private/public H5A_get_type and H5A_get_spaceJerome Soumagne2015-10-024-38/+49
| |
| * [svn-r27937] fix caseAllen Byrne2015-10-021-25/+25
| |
| * [svn-r27933] Cmake 3.3 allowed execute_process to merge output and error ↵Allen Byrne2015-10-025-42/+42
| | | | | | | | | | | | files if the filename or the variable were the same. Changed instances to make the outpu_variable different.
| * [svn-r27932] Increase timeout for istore test when running under vfd.Allen Byrne2015-10-021-0/+2
| |
| * [svn-r27927] Fix dependencies of flex/bison files.Allen Byrne2015-10-011-2/+4
| |
| * [svn-r27926] Fix dependencies of generated headers.Allen Byrne2015-10-011-6/+3
| |
* | [svn-r27944] Description:Quincey Koziol2015-10-041-6/+12
| | | | | | | | | | | | | | | | Avoid duplicating source FAPL & DAPL if they are already available. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
* | [svn-r27935] Cmake 3.3 allowed execute_process to merge output and error ↵Allen Byrne2015-10-025-42/+42
| | | | | | | | | | | | files if the filename or the variable were the same. Changed instances to make the outpu_variable different.
* | [svn-r27918] Brought in sync with the trunk:Dana Robinson2015-09-3013-240/+355
|\ \ | |/ | | | | | | | | | | | | | | | | r27860-27883 r27892-27916 Tested on: - h5committest - jam (parallel) fails with an existing, unrelated MPI config error - platypus fails with due to an existing, unrelated cmakehdf5 error where it does not recognize --enable-fortran2003.
| * [svn-r27913] Need to create the directory for the gen filesAllen Byrne2015-09-291-0/+1
| |
| * [svn-r27911] Add back in the build dirAllen Byrne2015-09-291-5/+5
| |
| * [svn-r27910] Rework flex-bison generated files to eliminate dual depends ↵Allen Byrne2015-09-292-44/+32
| | | | | | | | when building both shared and static
| * [svn-r27909] Exclude CYGWINAllen Byrne2015-09-291-2/+6
| |
| * [svn-r27908] Give cache tests extra time for VFD testsAllen Byrne2015-09-291-0/+2
| |
| * [svn-r27906] Remove header file name as it is not a direct target (derived ↵Allen Byrne2015-09-291-1/+1
| | | | | | | | during BISON process).
| * [svn-r27905] Add depends to be sure file existsAllen Byrne2015-09-281-0/+2
| |
| * [svn-r27904] Correct missing target name charsAllen Byrne2015-09-282-6/+8
| |
| * [svn-r27903] Add extra line for replacement from revision 27898Allen Byrne2015-09-281-0/+1
| |
| * [svn-r27902] Updated autogen.sh to use /usr/hdf/bin/AUTOTOOLS paths and removedDana Robinson2015-09-281-74/+14
| | | | | | | | | | | | hard-coded version checks. Tested on: jam
| * [svn-r27901] Rework doc for updated examples scriptAllen Byrne2015-09-281-35/+154
| |
| * [svn-r27900] Modify bbrelease to use "Revision:" number from svn info, not ↵Larry Knox2015-09-281-1/+1
| | | | | | | | | | | | "Last Changed Rev:" number. Tested on jam
| * [svn-r27898] add an additional perl command to replace int with hid_t in ↵Mohamad Chaarawi2015-09-281-0/+1
| | | | | | | | | | | | H5LTparse.c - this is needed when running autogen on a couple of HPC machines.
| * [svn-r27897] Reduce normal test timeouts to 10 mins - leave VFD changes as is.Allen Byrne2015-09-281-3/+3
| |
| * [svn-r27896] Synch VFD types with autotoolsAllen Byrne2015-09-281-0/+1
| |
| * [svn-r27895] Rework the generated file dependencies and commands.Allen Byrne2015-09-283-12/+9
| |
| * [svn-r27894] All generated headers need to be packaged.Allen Byrne2015-09-281-1/+1
| |
| * [svn-r27892] Removed redefinition of H5C__HASH_FCN in test/cache_common.h.Dana Robinson2015-09-271-1/+0
| | | | | | | | | | | | This was causing failures on Ada. Tested on: Ubuntu 15.04 (Linux 3.19.0) w/ gcc 4.9.3
* | [svn-r27916] Re-merge of r27884-27891 from the trunk + bugfix for a fewDana Robinson2015-09-305-90/+130
|\ \ | |/ | | | | | | | | | | | | H5S recursive functions where an aliased pointer was incorrectly set too early. Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) w/ gcc 4.9.2 serial and parallel (w/ MPICH 3.1.4)
| * [svn-r27891] Description:Quincey Koziol2015-09-272-8/+2
| | | | | | | | | | | | | | | | | | Revert changes to 'all' and 'none' selections: the serialized header info is handled in the general H5S_select_deserialize() routine. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest forthcoming)
| * [svn-r27890] Description:Quincey Koziol2015-09-271-1/+1
| | | | | | | | | | | | | | | | | | Remove 'unused' attribute from decoding pointer flag that I missed in the last checkin. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest forthcoming)
| * [svn-r27889] Description:Quincey Koziol2015-09-272-1/+7
| | | | | | | | | | | | | | | | Advance the decoding pointer for 'all' and 'none' selections properly. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest forthcoming)
| * [svn-r27888] Description:Quincey Koziol2015-09-271-1/+1
| | | | | | | | | | | | | | | | Fix typo in last checkin. *sigh* Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest forthcoming)
* | [svn-r27912] Revert of r27887, which caused failures in the vds test. TheseDana Robinson2015-09-2911-277/+176
| | | | | | | | | | | | | | | | changes will be merged more carefully so we can more easily identify any errors that arise. Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) w/ gcc 4.9.2 serial and parallel (w/ MPICH 3.1.4)
* | [svn-r27887] Description:Quincey Koziol2015-09-2711-176/+277
|\ \ | |/ | | | | | | | | | | | | Merge changes from trunk to the branch. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
| * [svn-r27884] Description:Quincey Koziol2015-09-266-79/+123
| | | | | | | | | | | | | | | | | | Update dataspace selection encode/decode routines to avoid type aliasing errors. Tested on: Linux/64 2.6.x (platypus) w/production (h5committest forthcoming)
| * [svn-r27880] Changes to autogen.shDana Robinson2015-09-251-23/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | - Removed the long options, which are not supported under the getopts builtin. - Correctly labeled the autogen.sh script as requiring bash (via the #!). We may need to remove the bash constructs before the 1.10 release and revert to sh. - The help output is now correct. Tested on: local linux
| * [svn-r27878] Updated autogen.sh script to be more informative about missingDana Robinson2015-09-251-2/+24
| | | | | | | | | | | | flex/bison. Tested on: local linux
| * [svn-r27874] Add ability to extend the cmake path for searching for ↵Allen Byrne2015-09-241-0/+4
| | | | | | | | libraries/programs.
| * [svn-r27873] Update with changes to script fileAllen Byrne2015-09-241-4/+4
| |
| * [svn-r27871] Update with changes to script fileAllen Byrne2015-09-242-39/+41
| |
| * [svn-r27869] Update with changes to script fileAllen Byrne2015-09-241-11/+22
| |
| * [svn-r27868] Add missing exported headers due to generation changes.Allen Byrne2015-09-241-3/+9
| |
| * [svn-r27863] Correct commentAllen Byrne2015-09-231-1/+1
| |
| * [svn-r27862] Make the system vars configurable through the CTEST_SCRIPT_ARGAllen Byrne2015-09-231-8/+35
| |
* | [svn-r27885] Description:Quincey Koziol2015-09-271-4/+8
| | | | | | | | | | | | | | | | Check if the layout has been retrieved before setting it again. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
* | [svn-r27879] Move property list shutdown earlier in H5_term_library, since ↵Neil Fortner2015-09-251-4/+8
| | | | | | | | | | | | | | | | with VDS layout it needs to call into the H5D package. Tested: ummon