summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.sh.in
Commit message (Collapse)AuthorAgeFilesLines
* HDFFV-10120 verify nozlib checks and synchronize scripts with developAllen Byrne2017-03-011-1/+3
|
* Add new test file for UD filtersAllen Byrne2016-10-191-1/+1
|
* [svn-r26752] Merged r26750 and r26751 from trunk.Albert Cheng2015-04-071-0/+8
| | | | | | | | | HDFFV-8667: h5repack crashes on enumerated 8-bit type nested in compound type. Added the testing to h5repack where it belongs. Undo the tests added to h5dump. Tested: h5committested plus tested in jam by hand.
* [svn-r26395] Merges r26329 from trunkDana Robinson2015-03-091-77/+17
| | | | | | | | | | | | | | Removed the configure option that allows selective disabling of individual internal filters (fletcher32, shuffle, etc.). This feature mucked up the code with a lot of #ifdefs, saved very little space and was not scalable to a general scheme for library size reduction. We've decided to remove the feature while we investigate a more general scheme for decreasing the library size. Fixes: HDFFV-9086 Tested on: h5committest
* [svn-r24680] Remove acknowledgment file from install.Allen Byrne2014-02-031-23/+36
| | | | | | | Remove obsolete CPack.cmake file. Merge h5repack and h5mkgrp test folder changes from trunk. Tested: local linux
* [svn-r24395] Missed script file for cleanupAllen Byrne2013-11-011-0/+17
|
* [svn-r24205] Merge HDFFV-8513/8522 from trunk (via cmake branch), h5repack ↵Allen Byrne2013-09-261-0/+2
| | | | | | | | UD plugins. Also warning session fixes. Tested: CMake local linux
* [svn-r24106] Add help text tests for h5dump and h5repack to the linux ↵Allen Byrne2013-09-061-4/+42
| | | | | | scripts. HDFFV-8498 merge from trunk. Tested: local linux - cmake and autotools
* [svn-r24072] Merge trunk cmake changes to 1.8 branch. Allen Byrne2013-08-261-2/+51
| | | | | | | Also add default switch blocks to h5import. Merge h5dump any_path option from trunk. Tested: local linux
* [svn-r23464] Purpose: Jonathan Kim2013-03-271-0/+12
| | | | | | | | | | | | | HDFFV-8214 - h5repack failed converting small chunked dataset (size < 1K) to contiguous layout. Description: h5repack failed converting small chunked dataset (size < 1K) to contiguous layout. The first case was when chunk dim is bigger than the dataset dim (at leat one), h5repack failed with displaying error stacks. The other case is when chunk dim is smaller than the dataset dim, h5repack failed to change layout. Merged from HDF5 trunk 23407 Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), emu (solaris-BE), fred (mac64-LE), Windows (32-LE cmake), cmake (jam)
* [svn-r23460] Add missing infile assignment and error countsAllen Byrne2013-03-261-0/+2
|
* [svn-r23459] HDFFV-8355 h5repack.sh was wrong for the two test cases.Peter Cao2013-03-261-3/+17
|
* [svn-r23318] HDFFV-8311: Improve tools testing and eliminate dependency problemsAllen Byrne2013-02-251-153/+204
| | | | Tested: local linux
* [svn-r22814] Purpose:Jonathan Kim2012-09-261-0/+21
| | | | | | | | | | | | | | HDFFV-8012 - h5repack changes max dims and cause failure if only "-f none" is used without changing layout for chunked dataset when a chunk dim is bigger than a dataset dim Description: "h5repack -f <obj>:NONE <file.h5> out.h5" command failed if source file contains chunked dataset and a chunk dim is bigger than a dataset dim. Another issue is that the command changed max dims if chunk dim is smaller than the dataset dim. These issue occurred when dataset size is smaller than 64k (compact size limit) Fixed them. Merged from HDF5 trunk r22805 Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), cmake (jam)
* [svn-r22724] Convert tests to *.sh.in.Allen Byrne2012-08-281-6/+3
| | | | | | | | Convert configure.in to configure.ac. Align TESTS usage with autotools convention. Update all references from configure.in to configure.ac Tested: h5committest
* [svn-r22621] Purpose:Jonathan Kim2012-08-021-6/+17
| | | | | | | | | | | | | | | | HDFFV-8107 testh5diff will fail if build/test in HDF5 source tree Description: This is sub-task for "HDFFV-8105 testh5diff.sh uses the wrong operator (-a) in an if statement." From the HDFFV-8105's update, h5diff test failed if build&test is performed in HDF5 source tree because 'cp' try to copy test files to self dir. It's addressed by skipping if cp's src dir and dest dir is same. Also this applied for all other tools under src/tools dir. No change to the CMakeLists.txt files because CMake cautions/demands that in-source builds be avoided. Merged from HDF5 trunk r22617. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), some manual tests as well
* [svn-r22281] Purpose:Jonathan Kim2012-04-111-10/+41
| | | | | | | | | | | | | Fix for HDFFV-7993 - h5repack fails with error "chunk size must be <= maximum dimension size for fixed-sized dimensions" Description: Fixed a failure when change the chunk size of a specified chunked dataset with unlimited max dims. Also took care of converting to contiguous and compact from the dataset. Test cases were added and tagged with jira#. Merged from HDF5 trunk r22277. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), Windows (32-LE cmake), Cmake (jam)
* [svn-r22216] Description:Quincey Koziol2012-03-311-5/+56
| | | | | | | | | | | | | Bring r22180, r22181 and r22214 from trunk to 1.8 branch: Add new "metadata block size" command line option ('-M <x>' or '--metadata_block_size=<x>') for h5repack. [With release managers blessing] Tested on: Mac OSX/64 10.7.3 (amazon) w/debug) (h5committest upcoming)
* [svn-r22148] Removed incorrect executable svn properties from text, source, ↵Dana Robinson2012-03-261-0/+0
| | | | in, and HDF5 files.
* [svn-r21870] Purpose:Jonathan Kim2012-01-101-0/+9
| | | | | | | | | | | | | | | Fix for HDFFV-7840 h5repack: memory leak over one of the h5diff test file Description: Turned out that there were two causes of memory leaks. 1. for handling variable length string in attribute. 2. for handling compound type with non-reference members. The first issue is fixed in copy_attr() which is updated to use h5tools_detect_vlen to take care of vlen string as well as vlen data. The second is fixed in copy_refs_attr() of compound handling code. Merged from HDF5 trunk r21869. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), Cmake (jam)
* [svn-r21488] Bug:Albert Cheng2011-10-071-4/+4
| | | | | | | | | | | h5dump was used in test script but was not invoked by RUNSERIAL. THis does not work in batch machines like Blue Gene in LLNL. Solution: Added $RUNSERIAL to invoke $H5DUMP_BIN. Tested: LLNL BlueGene (udawn)
* [svn-r21400] Purpose:Jonathan Kim2011-09-201-0/+4
| | | | | | | | | | | | | HDFFV-5932 - h5repack breaks files with dimension scales Description: - Fixed h5repack to update values of references(object and region) of attributes in h5repack for 1) references, 2) ARRAY of references, 3) VLEN of references, and 4) COMPOUND of references. - Merged from HDF5 trunk 21393, 21382, 21386, 21389. (support Peter) Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE)
* [svn-r21064] Purpose:Jonathan Kim2011-07-011-131/+198
| | | | | | | | | | | Work for HDFFV-7602 - HDF5 command tools: Provide framework for reusable test files among tools Description: Merged from HDF5 trunk r21057 Provide framework to share test files among tools for tools test. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r19391] Purpose:Jonathan Kim2010-09-151-19/+163
| | | | | | | | | | | Fix for Bug1896 h5repack - changing layout to COMPACT does not work Description: Merged from hdf5 trunk (r19389) Make h5repack be able to convert a layout to COMPACT for small size dataset as default. Also add verifying layout changes in our test script. Tested: jam, amani
* [svn-r19184] Corrected h5repack verbose test for windowsAllen Byrne2010-08-061-7/+18
| | | | | | Updated tools/lib source dir variable for source list Tested: local linux
* [svn-r19182] Description:Quincey Koziol2010-08-061-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | Bring r19179 from trunk to 1.8 branch: Bring changes from Coverity branch back to trunk: r19079 & 19080: [BZ1942] h5dump -u to generate XML, it does not respect the -m option xml version of dump_data function didn't check for use of fp_format variable. Added new test expected file for committed bug 1942 r19103, 19104 & 19105: [BZ1821] h5repack -v did not display correct output for a selected compression. Needed new test for comparing output of -v option. Added new test file for solution to BZ1821 BZ1821 - Bring test changes from the shell script actually used. Tested on: Mac OS X/32 10.6.4 (amazon) debug & production (h5committested on branch)
* [svn-r18455] Purpose:Jonathan Kim2010-03-251-1/+1
| | | | | | | | | | | Fix for the bug1726 - NPOESS: h5repack loses attributes for datasets of type H5T_REFERENCE. Description: Merged from hdf5 trunk rXXX Tested: jam
* [svn-r18427] Purpose:Jonathan Kim2010-03-181-0/+4
| | | | | | | | | | | | | Fix for bug1814 - NPOESS: h5repack doesn't handle references to the groups as an element of a dataset Description: Merged from hdf5 trunk r18425 handles object reference to named-datatype as well. Add test cases. Tested: jam
* [svn-r18053] Bug fix: 1192Albert Cheng2009-12-261-3/+9
| | | | | | | | Description: Fixed exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: H5committested plus serial test in Jam.
* [svn-r17607] ode Cleanup:Albert Cheng2009-10-071-41/+16
| | | | | | | | TFLOPS machine has retired long ago. Removed all code specific for its support. Test: h5committested.
* [svn-r17053] merge 17052 from trunkPedro Vicente Nunes2009-06-151-0/+38
| | | | | | | | | | Add a run to the h5repack shell script to read a family file The file used for input is located in the common source tools for testfiles, in tools/testfiles Modified the h5repack shell script to read files from this location (h5repack reads its input files from a dedicated testfiles location in h5repack/testfiles) Changed the h5diff open file call to use h5tools_fopen, so that it can open all file drivers Tested: linux
* [svn-r16802] Purpose: Fix bug 1516Neil Fortner2009-04-201-1/+8
| | | | | | | | | | | Description: h5repack previously would not take named datatypes into consideration when copying datasets and attributes. This would cause extra anonymous datatypes in the target file at best, and cause errors halfway through the repacking at worst. h5repack should now always handle named datatypes correctly. Named datatypes are also now converted to the native type when -n is given. Tested: jam, linew, smirom (h5committest)
* [svn-r16641] merge from trunk revs 16614, 16629Pedro Vicente Nunes2009-04-011-0/+3
| | | | | | | | | | | 1. #1501 (B1) tools bug if dataset is larger than H5TOOLS_BUFSIZE limit. ISSUE : the tools use the following formula to read by hyperslabs: hyperslab_size[i] = MIN( dim_size[i], H5TOOLS_BUFSIZE / datum_size) where H5TOOLS_BUFSIZE is a constant defined of 1024K. This is OK as long as the datum_size does not exceed 1024K, otherwise we have a hyperslab size of 0 (since 1024K/(greater than 1024K) = 0). This affects h5dump. h5repack, h5diff SOLUTION: add a check for a 0 size and define as 1 if so. TEST FOR H5DUMP: Defined a case in the h5dump test generator program of such a type (an array type of doubles with a large array dimension, that was the case the user reported). Since the written file commited in svn would be around 1024K, opted for not writing the data (the part of the code where the hyperslab is defined is executed, since h5dump always reads the files). Defined a macro WRITE_ARRAY to enable such writing if needed. Added a run on the h5dump shell script. Added 2 new files to svn: tools/testfiles/tarray8.ddl, tools/testfiles/tarray8.h5. NOTE: while doing this I thought of adding this dataset case to an existing file, but that would add the large array output to those files (the ddls). The issue is that the file list is increasing. TEST FOR H5DIFF: for h5diff the check for reading by hyperslabs is H5TOOLS_MALLOCSIZE (128 * H5TOOLS_BUFSIZE) or 128 Mb. This makes it not possible to add such a file to svn, so used the same method as h5dump (only write the dataset if WRITE_ARRAY is defined). As opposed to h5dump, the hyperslab code is NOT executed when the dataset is empty (dataset is not read). Added the new dataset to existing files and shell run (tools/h5diff/testfiles/h5diff_dset1.h5 and tools/h5diff/testfiles/h5diff_dset2.h5 and output in tools/h5diff/testfiles/h5diff_80.txt). TEST FOR H5REPACK: similar issue as h5diff with the difference that the hyperslab code is run. Added a run to the shell script (with a filter, otherwise the code uses H5Ocopy). FURTHER ISSUES: the type in question ("double") has a different output cross platforms (e.g on liberty some garbage number is printed at some array locations) SOLUTION: defined an "int" type for this test. However the printing of such an array has a bogus output at least in one platform (FreeBsd), so eliminated the test run altogether and filed a bug report on this
* [svn-r16402] Description:Quincey Koziol2009-02-031-0/+5
| | | | | | | | | | | Bring r16401 back from trunk: Correct error introduced in r16353 with layout version, and add test so it gets caught earlier. Tested on: FreeBSD/32 6.3 (duty) Too minor to require h5committest
* [svn-r15871] Eliminate -c option and make that behavior the default and ↵Pedro Vicente Nunes2008-10-151-2/+2
| | | | | | return 2 instead of -1 on error status Tested: windows, linux
* [svn-r15750] move h5repack test files to /tools/h5repack/testfilesPedro Vicente Nunes2008-10-011-6/+6
| | | | tested: linux
* [svn-r15558] 1) There are 2 new command line parameters for h5repack. ↵Pedro Vicente Nunes2008-08-291-1/+4
| | | | | | | | | | | | | | Together they allow a call to H5Pset_alignment to be made -t T, --threshold=T Threshold value for H5Pset_alignment -a A, --alignment=A Alignment value for H5Pset_alignment 2) bug fix the printing of the dataset name was not done for references (verbose mode) tested: windows, linux
* [svn-r15533] #1184Pedro Vicente Nunes2008-08-261-0/+5
| | | | | | | | | | | Add a userblock to an HDF5 file during the repack. The user gives give a filename and userblock size as command line parameters to h5repack and the contents of that file are stored in the userblock for the HDF5 file created by h5repack. New flags to handle this -u and -b Tested : windows, linux
* [svn-r15433] http://bugzilla.hdfgroup.uiuc.edu/show_bug.cgi?id=1170Pedro Vicente Nunes2008-08-051-2/+2
| | | | | | | | | | | | | Summary: when using h5diff to compare the results of h5repack (or other tools that copy one HDF5 file to another), a new option is needed to allow h5diff to make an "absolute" comparison of the 2 files. This is the "contents" mode explained in the usage below. If this mode is present, objects in both files must match (must be exactly the same). If this does not happen, the tool returns an error code of 1 (instead of the success code of 0) Changes to the h5repack test script: the call to h5diff was changed to include -c (maintaining the previous -q). tested: windows, linux
* [svn-r15053] Add a test for the 1.6.7 -i infile -o outifle for backward ↵Pedro Vicente Nunes2008-05-211-0/+37
| | | | | | | | compability Used the function TOOLTEST from 1.6.7 Tested: linux
* [svn-r15024] backward compatibility for old -i infile -o outfile optionsPedro Vicente Nunes2008-05-161-2/+9
| | | | | | | | | | | | | if these are detected this syntax is used, otherwise the one in usage is used there was another -i option for -i L2, --indexed=L2 Minimum number of links in the indexed format That was changed to -d -d L2, --indexed=L2 Minimum number of links in the indexed format Tested: windows, linux
* [svn-r14309] bug fix: add a check for the presence of a filter in the call ↵Pedro Vicente Nunes2007-11-291-4/+15
| | | | | | | | to test of long swtich names add a test for multiple global filters tested: linux, solaris
* [svn-r14308] new feature test: add a test for the long switch namesPedro Vicente Nunes2007-11-291-1/+9
| | | | tested: linux, solaris
* [svn-r14274] new feature: add some new syntax tests for h5repackPedro Vicente Nunes2007-11-201-2/+2
| | | | tested: linux
* [svn-r14264] new features: 1) new usage for h5diff " A la" h5dump formatPedro Vicente Nunes2007-11-161-2/+2
| | | | | | 2) new usage for h5repack and new command line parsing using the tools library parsing code tested: windows, linux, solaris
* [svn-r14260] bug fix: modified the h5repack script to call h5diff with its ↵Pedro Vicente Nunes2007-11-141-2/+2
| | | | | | brand new syntax tested: linux
* [svn-r14158] Description:Quincey Koziol2007-09-271-23/+13
| | | | | | | | | | | | | | | | Add regression test for h5repack with userblock Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r13451] Pedro Vicente Nunes2007-03-051-1/+1
| | | | | | | h5diff bug fix, attributes differences were not being count for total differences Revision of H5Ocopy call in h5repack
* [svn-r13441] Pedro Vicente Nunes2007-03-011-1/+1
| | | | make 1.7 h5repack more similar to 1.6 h5repack
* [svn-r13261] Updated copyright notices.Albert Cheng2007-02-071-2/+3
| | | | Tested: visual inspection as they are all just comments.