Commit Graph

12143 Commits

Author SHA1 Message Date
Quincey Koziol
299ac26d98 [svn-r20050] Description:
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
2011-02-05 18:31:02 -05:00
Quincey Koziol
c087ecdbde [svn-r20048] Description:
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
2011-02-04 21:41:22 -05:00
Allen Byrne
89a47692e9 [svn-r20044] Fix bz2127 by dynamically allocating storgae for comments.
Tested: local linux
2011-02-04 15:35:25 -05:00
Elena Pourmal
ba13827093 [svn-r20033] Porblem: A typo caused compilation failures with gfortran 4.6 on fred.
Fixed.

Platforms tested: fred and jam (minor change)
2011-02-02 20:24:52 -05:00
Neil Fortner
b5ed119e7c [svn-r20032] Add bug number to RELEASE.txt 2011-02-02 10:05:03 -05:00
Neil Fortner
73d58f8b3c [svn-r20029] Purpose: Fix bug 2131
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
2011-02-02 09:41:49 -05:00
Raymond Lu
e2b089b21c [svn-r20027] I added some test cases for H5Oset(get)_comment and H5Oset(get)_comment_by_name. It's related to bug 2130.
Tested on jam, amani, and heiwa.
2011-01-31 16:45:18 -05:00
Allen Byrne
37eb79c604 [svn-r20025] remove t_rank_projection file from list of sources 2011-01-31 10:42:46 -05:00
Albert Cheng
ea7073d72a [svn-r20019] Bug 2019: h5perf or h5perf_serial is removed twice. Some 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.
2011-01-28 18:58:14 -05:00
Allen Byrne
0a15d73625 [svn-r20013] Change use of variable to allow a SITE name to be defined, to using it to extend the build name used in reporting to CDash 2011-01-27 09:59:04 -05:00
Peter Cao
c439bb5d29 [svn-r20012] Use "if...else" to exclude the use when travt is null. 2011-01-27 09:22:03 -05:00
Peter Cao
72938585be [svn-r20011] make sure that travt is nor null 2011-01-27 08:50:04 -05:00
Raymond Lu
2528e7021f [svn-r20006] I updated the read buffer from float to double to be more appropriate.
Tested on jam and linew.
2011-01-26 16:36:59 -05:00
Jonathan Kim
2f60f82453 [svn-r20005] Purpose:
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)
2011-01-26 16:05:57 -05:00
Allen Byrne
762ee14a42 [svn-r20002] Add variable to allow a SITE name to be defined
Tested: local linux
2011-01-26 16:00:09 -05:00
Allen Byrne
bf8f584a72 [svn-r19999] Correct typo in check for external library TGZ path define
Tested: local linux
2011-01-26 12:11:23 -05:00
Raymond Lu
4395b6378c [svn-r19998] I changed the previous commit from FLOAT to DOUBLE again because Neil prefers to it for fill value test. I
updated the data files, too.

Tested on linew and jam.
2011-01-26 11:47:53 -05:00
Allen Byrne
fee00328e7 [svn-r19995] remove reference to jpeg 2011-01-26 09:09:45 -05:00
Allen Byrne
c5dd29c7b8 [svn-r19993] Added ability to use compressed file for external libraries corrected.
Tested: local linux
2011-01-25 16:17:54 -05:00
Allen Byrne
e2ff4638f5 [svn-r19991] Added ability to use compressed file for external libraries
Tested: local linux
2011-01-25 15:40:41 -05:00
Quincey Koziol
8d6c8b9411 [svn-r19989] Description:
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)
2011-01-25 14:16:03 -05:00
Allen Byrne
b1cf10305b [svn-r19988] Update list of memtest exlude 2011-01-25 09:29:26 -05:00
Raymond Lu
720ce5fb9b [svn-r19982] I changed the previous commit from DOUBLE to FLOAT because the bug (2131) happens to FLOAT only. I updated the
data files, too.

Tested on linew and jam.
2011-01-24 14:17:14 -05:00
Albert Cheng
831427aeb8 [svn-r19978] Patched in a temporary fix so that:
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.
2011-01-21 15:42:22 -05:00
Raymond Lu
1a212e80ce [svn-r19977] Bug 2131 - I added a test case for integer data. I also skipped the test case for double data because it still fails.
Tested on jam and linew.
2011-01-21 15:36:14 -05:00
Raymond Lu
1b6c627c30 [svn-r19972] I added a test case for dataset with scale-offset filter into cross_read.c and updated the data files from BE, LE, and VMS.
Tested on jam and linew.
2011-01-21 14:04:14 -05:00
Jonathan Kim
64651d6954 [svn-r19971] Purpose:
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)
2011-01-21 13:29:56 -05:00
Neil Fortner
c5988b31d3 [svn-r19967] Add note on parallel failures to RELEASE.txt 2011-01-19 10:51:20 -05:00
Albert Cheng
442d3b4cb2 [svn-r19965] Purpose:
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.
2011-01-17 19:44:29 -05:00
Albert Cheng
4e7aa2650a [svn-r19961] Purpose:
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
2011-01-16 05:12:42 -05:00
Albert Cheng
e6622c86a8 [svn-r19959] Bug: the VRFY macro, for some reason, called MPI_Finalize() 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.
2011-01-16 04:44:22 -05:00
Albert Cheng
1ed956f2cb [svn-r19956] Removed since its code has been copied to t_shapesame.c. 2011-01-14 11:30:31 -05:00
Allen Byrne
a22b5883b9 [svn-r19949] Correct CPack confusion with the same for two different functions (not case-sensitive) 2011-01-13 14:21:12 -05:00
Albert Cheng
5f6a465ae7 [svn-r19947] Bug fix: testph5.in failed to run the 't_shapesame -p' by 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.
2011-01-12 15:39:47 -05:00
Albert Cheng
2f54a4ba53 [svn-r19941] Purpose:
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.
2011-01-11 23:38:59 -05:00
Larry Knox
38f18282ba [svn-r19938] Update config.sub to the latest available version (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.
2011-01-11 16:56:51 -05:00
Allen Byrne
0ffd938eae [svn-r19936] Add new signed/unsigned test to legacy test script 2011-01-10 08:52:38 -05:00
Allen Byrne
a8a20fe919 [svn-r19927] Remove pragma statement. 2011-01-07 13:43:35 -05:00
Allen Byrne
edc21ffa56 [svn-r19924] Windows VS10 complains about private STL members needing to be exported, because it is of type std::string this warning can be suppressed.
Tested: windows XP with VS10
2011-01-07 10:35:15 -05:00
Allen Byrne
f53f6dffa6 [svn-r19923] BZ 1165: Implemented declaration change;
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
2011-01-06 16:34:16 -05:00
Allen Byrne
8eb9d884e3 [svn-r19921] Update files for CPack use. 2011-01-06 14:28:19 -05:00
Allen Byrne
f3c2eb9acf [svn-r19918] Add hh modifier to signed char printf format string. Added 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
2011-01-05 15:18:16 -05:00
Allen Byrne
5f00939eb9 [svn-r19917] Remove warning about H5_BUILT_AS_STATIC_LIB 2011-01-05 14:31:57 -05:00
Allen Byrne
451d98b6ac [svn-r19914] Correct format of empty parameter
bring r19913 from 1.8
2011-01-05 13:29:22 -05:00
Allen Byrne
96b2abb9bd [svn-r19910] Change how LINK_FLAGS for fortran are appended on Windows - correct for just shared libs 2011-01-05 10:03:50 -05:00
Allen Byrne
02888be7f2 [svn-r19909] Change how LINK_FLAGS for fortran are appended on Windows
bring r19908 from 1.8 branch
2011-01-05 09:46:08 -05:00
Allen Byrne
9449cfa361 [svn-r19907] Windows: Correct how fortran links in CRT library. Also correct macro use for checking libtype.
bring r19906 from 1.8 branch
2011-01-04 13:40:26 -05:00
Allen Byrne
1c7688c77a [svn-r19896] remove orphaned endif() 2010-12-30 07:32:07 -05:00
Allen Byrne
86313eb281 [svn-r19895] Remove use of /MT compile flag for building static libs and programs. Added BUILT_AS_STATIC_LIBRARY define to set the windows import/export defines correctly for static libraries. 2010-12-29 13:52:34 -05:00
Jonathan Kim
562ba69f35 [svn-r19892] Purpose:
Bug 2089 - GMQS: h5diff segfault on a compound dataset with fixed length + 
    vlen string type order

Description:
    This is fix for the segfault when h5diff compares a compound dataset with 
    combination of fixed length string types and vlen string types in certain 
    orders. Optimized vlariable length string handling codes. The fix is 
    referred from h5dump handling vlen strings. 
    For testing, several compound datasets were added with various combinations.
    Previous failed cases:
     - Vlen string, Fixed length string, Vlen string, Fixed length string
     - Fixed length string, Fixed length string, Vlen string, Vlen string
     - Fixed length string, Vlen string, Fixed length string, Vlen string
     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2010-12-28 13:08:40 -05:00