summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r20064] Purpose: Implement external file cacheNeil Fortner2011-02-0817-91/+4872
| | | | | | | | | Description: Implements a cache of files opened through external links. Adds the public functions H5Pset_elink_file_cache_size(), H5Pget_elink_file_cache_size(), and H5Frelease_file_cache(). Tested: jam, amani, heiwa (h5committest), fedora 64.
* [svn-r20063] Merge changes from trunk from revision 19519 to 20062 into ↵Neil Fortner2011-02-08284-7465/+23382
|\ | | | | | | open_file_pool branch. No testing needed as the branch is currently identical to the trunk.
| * [svn-r20061] Description:Quincey Koziol2011-02-088-390/+288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring changes from Coverity branch to trunk: r19930: Fix memory leaks involving VL attributes in h5repack and h5diff. The buffers in copy_attr and diff_attr were not checked for the presence of a vlen before being freed, and vlen storage was never reclaimed. Added checks and calls to H5D_vlen_reclaim(). r19933: Purpose: Fix memory leak in H5L_move_cb() Description: H5L_move_cb copied the source link using H5O_msg_copy() but freed it manually using H5MM_xfree(). Since H5O_link_copy allocates the link using H5FL_MALLOC, this causes the link to be allocated from the free list but is never put back on the free list when it is freed. This prevents the link free list from shutting down properly. Modified H5L_move_cb() and H5L_move_dest_cb() to free the link properly using H5O_msg_free(). r19973: Fix resource leaks by freeing string created by HD5f2string r19974: Issue #345: Inialize buf variable to null Tested on: Mac OS X/32 10.6.6 (amazon) w/debug & production (h5committested on Coverity branch)
| * [svn-r20060] Missing null character on return of get_comment - force \0Allen Byrne2011-02-071-2/+2
| |
| * [svn-r20058] Changed Linux system to use mpicc as the default parallel C ↵Albert Cheng2011-02-071-2/+8
| | | | | | | | | | | | | | | | | | compiler. mpif90 is already the default parallel Fortran if mpicc is the C compiler. Tested: Jam (serial and parallel). No need for committest since this change is limited to Linux system.
| * [svn-r20057] Correct comment handling and remove cut/paste oversightsAllen Byrne2011-02-072-28/+25
| | | | | | | | merge r20056 from 1.8
| * [svn-r20054] Created valgrind cacheinit fileAllen Byrne2011-02-072-0/+59
| |
| * [svn-r20052] Description:Quincey Koziol2011-02-0610-566/+616
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up Coverity warnings, and fix some style issues: r19735: Fix for memory leak in test/mf found by valgrind. r19736: Fix memory leak in h5repack. The buffer in copy_objects, when copying the entire dataset at once, was not checked for the presence of a vlen, and vlen storage was never reclaimed. Added check and call to H5D_vlen_reclaim(). r19772: Change H5assert() to if (H5T_VLEN != src->shared->type || H5T_VLEN != dst->shared->type) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a H5T_VLEN datatype") r19774: removed unused priv. r19775: removed unused variables r19778: Fix memory leak comparing for variable length data types. r19834: Fixed memory leaks found by valgrind. Memory errors remain for another day. Tested on: Mac OS X/32 10.6.6 (amazon) w/debug & production (h5committested on branch)
| * [svn-r20050] Description:Quincey Koziol2011-02-056-388/+425
| | | | | | | | | | | | | | | | | | | | | | Bring sec2 and log VFDs back into agreement. Correct several compiler warnings. Also add some additional statistics to the log VFD and promote the parameter for H5Pset_fapl_log from 'unsigned' to 'unsigned long long'. Tested on: Mac OS X/32 10.6.6 (amazon) w/debug & production FreeBSD/32 8.2 (loyalty) w/debug FreeBSD/64 8.2 (freedom) w/debug
| * [svn-r20048] Description:Quincey Koziol2011-02-052-82/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring Coverity changes back to trunk: r19733: Fix memory leak in h5perf_serial. Global buffer "buffer2" was allocated at the beginning of do_sio() but never freed. Added call to free() at end of do_sio(). r19734: Fix memory leak in iopipe. Buffer "the_data" was allocated at the beginning of main() but never freed. Added call to free() at end of main(). Tested on: Coverity branch in daily tests & Mac
| * [svn-r20044] Fix bz2127 by dynamically allocating storgae for comments.Allen Byrne2011-02-049-10/+62
| | | | | | | | Tested: local linux
| * [svn-r20033] Porblem: A typo caused compilation failures with gfortran 4.6 ↵Elena Pourmal2011-02-031-3/+3
| | | | | | | | | | | | | | | | on fred. Fixed. Platforms tested: fred and jam (minor change)
| * [svn-r20032] Add bug number to RELEASE.txtNeil Fortner2011-02-021-1/+1
| |
| * [svn-r20029] Purpose: Fix bug 2131Neil Fortner2011-02-027-226/+1493
| | | | | | | | | | | | | | | | | | | | Description: When using the scale-offset filter with floating point data or fill values, big endian machines would save some metadata in the wrong byte order. This caused such datasets to yield incorrect data when read on little endian machines. Fixed the scale-offset filter to always save this metadata in the right byte order (i.e. little endian). Tested: jam, amani, heiwa (h5committedt); fedora, linew
| * [svn-r20027] I added some test cases for H5Oset(get)_comment and ↵Raymond Lu2011-01-311-0/+333
| | | | | | | | | | | | H5Oset(get)_comment_by_name. It's related to bug 2130. Tested on jam, amani, and heiwa.
| * [svn-r20025] remove t_rank_projection file from list of sourcesAllen Byrne2011-01-311-2/+2
| |
| * [svn-r20019] Bug 2019: h5perf or h5perf_serial is removed twice. Some ↵Albert Cheng2011-01-282-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | systems like AIX do not like it as it may get into a racing condition when "gmake -j N" is used-- two "rm" commands were trying to remove the same file. Solution: Rearranged the Makefile.am so that h5perf or h5perf_serial are built only once, that is through bin_PROGRAMS only. Bug 2135: h5perf_serial is not installed in --enable-parallel build. It was because in parallel build, h5perf_serial is not was not in the bin_PROGRAMS list but it was still being built and tested. Solution: Rearranged the Makefile.am code so that h5perf_serial is installed too. (It is easier to make cleaner code to install it than to build and test h5perf_serial but not test it.) Tested: Jam, both serial and parallel. Did not run h5committest because the changes are in perform/ directory only and I think Jam has given the changes in Makefile a complete test already.
| * [svn-r20013] Change use of variable to allow a SITE name to be defined, to ↵Allen Byrne2011-01-273-3/+295
| | | | | | | | using it to extend the build name used in reporting to CDash
| * [svn-r20012] Use "if...else" to exclude the use when travt is null.Peter Cao2011-01-271-9/+8
| |
| * [svn-r20011] make sure that travt is nor nullPeter Cao2011-01-271-1/+1
| |
| * [svn-r20006] I updated the read buffer from float to double to be more ↵Raymond Lu2011-01-262-6/+8
| | | | | | | | | | | | appropriate. Tested on jam and linew.
| * [svn-r20005] Purpose:Jonathan Kim2011-01-262-2/+0
| | | | | | | | | | | | | | | | Clean up tool code. Remove "h5test.h" from tool code. Currently only in h5repack. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), linew (solaris-BE)
| * [svn-r20002] Add variable to allow a SITE name to be definedAllen Byrne2011-01-261-0/+3
| | | | | | | | Tested: local linux
| * [svn-r19999] Correct typo in check for external library TGZ path defineAllen Byrne2011-01-261-2/+2
| | | | | | | | Tested: local linux
| * [svn-r19998] I changed the previous commit from FLOAT to DOUBLE again ↵Raymond Lu2011-01-265-15/+15
| | | | | | | | | | | | | | | | because Neil prefers to it for fill value test. I updated the data files, too. Tested on linew and jam.
| * [svn-r19995] remove reference to jpegAllen Byrne2011-01-261-2/+2
| |
| * [svn-r19993] Added ability to use compressed file for external libraries ↵Allen Byrne2011-01-253-6/+15
| | | | | | | | | | | | corrected. Tested: local linux
| * [svn-r19991] Added ability to use compressed file for external librariesAllen Byrne2011-01-253-66/+127
| | | | | | | | Tested: local linux
| * [svn-r19989] Description:Quincey Koziol2011-01-252-132/+253
| | | | | | | | | | | | | | | | | | | | Finish implementing time tracking for read & seek operations in the 'log' VFD. Also clean up code and track total time during all read/write/seek operations. Tested on: Mac OS X/32 10.6.6 (amazon) w/debug & production (too minor to require h5committest)
| * [svn-r19988] Update list of memtest exludeAllen Byrne2011-01-251-0/+3
| |
| * [svn-r19982] I changed the previous commit from DOUBLE to FLOAT because the ↵Raymond Lu2011-01-245-15/+15
| | | | | | | | | | | | | | | | bug (2131) happens to FLOAT only. I updated the data files, too. Tested on linew and jam.
| * [svn-r19978] Patched in a temporary fix so that:Albert Cheng2011-01-211-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When $HDF5ExpressTest is NOT set or when it is set to 1 or 0, it does not skip test. When $HDF5ExpressTest is set other than values above, it may skip tests. The following message is printed: Test skipped when some tests are really skipped. This is a temporary patch so that v186 can be tested. A more permanent fix is needed, later. Tested: h5committest.
| * [svn-r19977] Bug 2131 - I added a test case for integer data. I also ↵Raymond Lu2011-01-215-29/+195
| | | | | | | | | | | | skipped the test case for double data because it still fails. Tested on jam and linew.
| * [svn-r19972] I added a test case for dataset with scale-offset filter into ↵Raymond Lu2011-01-215-32/+252
| | | | | | | | | | | | cross_read.c and updated the data files from BE, LE, and VMS. Tested on jam and linew.
| * [svn-r19971] Purpose:Jonathan Kim2011-01-215-0/+29
| | | | | | | | | | | | | | h5dump: add dangling external link test case as part of Chicago project. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
| * [svn-r19967] Add note on parallel failures to RELEASE.txtNeil Fortner2011-01-191-0/+12
| |
| * [svn-r19965] Purpose:Albert Cheng2011-01-181-14/+59
| | | | | | | | | | | | | | | | This continues the previous work and this one breaks the checker_board_hyperslab_dr_pio_test() into 4 smaller sub-tests. Tested: h5committest plus jam serial.
| * [svn-r19961] Purpose:Albert Cheng2011-01-162-21/+76
| | | | | | | | | | | | | | | | | | | | | | | | The shape same tests ran too long. Break them into smaller subtests so that they can finish sub-test in a shorter time. Easier to tell which one sub-test is taking too much time and/or errors occur in one fo the sub-tests. This one breaks the contig_hyperslab_dr_pio_test() into 4 smaller sub-tests. Tested: h5committest
| * [svn-r19959] Bug: the VRFY macro, for some reason, called MPI_Finalize() ↵Albert Cheng2011-01-165-14/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when it encountered error and wanted to exit the test program. This was not good since if only a subset of processes called MPI_Finalize(), the other processes will likely hang. That happened in AIX that it would waited till the alarm signal to kill the processes. Definitely a waste of time. Solution: Changed it to call MPI_Abort. That showed another problem. HDF5 has setup atexit post-process to try to close unclose objects, release resources, etc. But if the MPI processes have encountered an error and has been aborted, it is not likely any more MPI calls can function properly. E.g., it would attempt to free some communicators in the HDF5 MPIO file handle. It would again hang. Solution: need to call H5dont_atexit() to disable any atexit post-processing. This must be done early, like before calling H5open. This is added to each parallel test main program. testphdf5.h: Changed macros VRFY and MESG. Added comments too. testphdf5.c: t_mpi.c: t_cache.c: t_shapesame.c: Added H5dont_atexit. Tested: h5committest.
| * [svn-r19956] Removed since its code has been copied to t_shapesame.c.Albert Cheng2011-01-142-4434/+0
| |
| * [svn-r19949] Correct CPack confusion with the same for two different ↵Allen Byrne2011-01-131-3/+3
| | | | | | | | functions (not case-sensitive)
| * [svn-r19947] Bug fix: testph5.in failed to run the 't_shapesame -p' by ↵Albert Cheng2011-01-121-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | claiming it could not find t_shapesame in daily test. Turned out the mpiexec launcher is working like real shell and the daily test signon (hdftest) does not have "." in its $PATH. So, it could not automatically look for executables in the current directory. Solution: Change the executable to an explicit ./t_shapesame. Now mpiexec can "find" it. Tested by hand in Amani.
| * [svn-r19941] Purpose:Albert Cheng2011-01-127-22/+4866
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved the two shape same tests from testphdf5 to a separated executables, named t_shapesame. The shape same tests runs too long for testphdf5. In a separated executalbe, it will be easier to separate any errors in testphdf5 sub-tests from the shape same tests. t_shapesame.c: Contains the shape same tests (cloned from t_rank_projection.c) plus a duplicate of "testphdf5.c" for now. After verifying it is correct, more cleanup is needed. testphdf5.c: Removed the two shape same tests (chsssdrpio & cbhsssdrpio). Makefile.am: Makefile.in: Added t_shapesame as a new test executable. Removed t_rank_projections.c from part of testphdf5. testph5.sh.in: Temporary added the "t_shapesame -p" test for testing shape same tests with MPIO-Posix VFD. Tested: h5committested, plus serial jam.
| * [svn-r19938] Update config.sub to the latest available version ↵Larry Knox2011-01-111-32/+91
| | | | | | | | | | | | (timestamp='2008-01-16', Rev. 1.361) from http://cvs.savannah.gnu.org/viewvc/config/config/. Tested with h5committest on amani, heiwa, and jam and on linew.
| * [svn-r19936] Add new signed/unsigned test to legacy test scriptAllen Byrne2011-01-101-0/+3
| |
| * [svn-r19927] Remove pragma statement.Allen Byrne2011-01-071-1/+0
| |
| * [svn-r19924] Windows VS10 complains about private STL members needing to be ↵Allen Byrne2011-01-071-0/+1
| | | | | | | | | | | | exported, because it is of type std::string this warning can be suppressed. Tested: windows XP with VS10
| * [svn-r19923] BZ 1165: Implemented declaration change;Allen Byrne2011-01-062-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | A static std::basic_string constructed in the Exception class. This static isn't one that can be be destructed by H5Library::close(), but rather gets cleaned up as part of the STL std::basic_string static destructor when the HDF5 DLL is detached (WINDOWS). Looking at the rest of the Exception code, the DEFAULT_MSG doesn't really need to be a std::basic_string. Remove the static constructor and no destructor required. Tested: local linux - will wait for Nightly Dailies before bringing to 1.8
| * [svn-r19921] Update files for CPack use.Allen Byrne2011-01-061-0/+11
| |
| * [svn-r19918] Add hh modifier to signed char printf format string. Added ↵Allen Byrne2011-01-059-5/+795
| | | | | | | | | | | | | | h5dump test to verify that signed/unsigned datasets print correctly. Bring solution from 1.8 packed bits fix which solved problem on heiwa with Signed char of 8 bits Tested: local linux