summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_main.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r29537] Added "latest format" tests to h5copy and h5repack from ↵Dana Robinson2016-03-231-5/+5
| | | | | | | | revise_chunks. Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools serial cmake serial
* [svn-r29534] Normalization w/ revise_chunks in preparation for big merge.Dana Robinson2016-03-231-1/+1
| | | | | | | | | tools directory Also fixes a minor Java test output error. Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools serial w/ Java, Fortran, & C++
* [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-011-1/+1
| | | | | | | | * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* [svn-r24270] checkin coverity changes from 10/4/2013.Mohamad Chaarawi2013-10-091-1/+2
| | | | tested with h5committest
* [svn-r24167] HDFFV-8513, HDFFV-8522 Plugin testing in h5repack, h5dump.Allen Byrne2013-09-191-13/+24
| | | | | | | Add more usage info for UserMacros. Add new option information about the Plugin default path. Tested: local linux, jam
* [svn-r24124] HDFFV-8345: Changed usage txt to use dsetN instead ofletters ↵Allen Byrne2013-09-111-74/+37
| | | | | | for objects in examples. Tested: local linux
* [svn-r24116] Correct indentation and create single exit point.Allen Byrne2013-09-091-534/+571
| | | | Tested : local linux
* [svn-r24104] HDFFV-8345: add User Defined filters to h5repack.Allen Byrne2013-09-061-0/+8
| | | | | | Reviewed in H5T-61 Tested: local linux - cmake and autotools
* [svn-r24050] HDFFV-8498: --minimum option was disabled by HDFFV-8214. ↵Allen Byrne2013-08-211-1/+1
| | | | | | Reverted code change and changed default to 0 from 1024. Changed limit test to use h5dump to compare repacked file instead of h5diff. Tested local linux with CMake
* [svn-r23964] Corrected "continuous" layout to "contiguous in h5repack -h ↵Larry Knox2013-08-021-1/+1
| | | | | | | | output and comment. Jira issue HDFFV-8493. No test - text only change.
* [svn-r22277] Purpose:Jonathan Kim2012-04-111-0/+2
| | | | | | | | | | | | 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#. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), Cmake (jam)
* [svn-r22180] Description:Quincey Koziol2012-03-291-23/+11
| | | | | | | | | Add new "metadata block size" command line option ('-M <x>' or '--metadata_block_size=<x>') for h5repack. Tested on: Mac OSX/64 10.7.3 (amazon) w/debug) (h5committest upcoming)
* [svn-r22024] Add HD prefix to tools library based tests. Cleaned ↵Allen Byrne2012-03-051-15/+15
| | | | | | allocation/free in tests. Tested: local linux/ changes h5committetest against 1.8 version
* [svn-r22004] Reduced warnings and fixed conflicts resulting from including ↵Allen Byrne2012-02-281-0/+1
| | | | | | h5tools.h Tested: local linux
* [svn-r21985] Tools must call h5tools_init before command_line parsing or ↵Allen Byrne2012-02-241-0/+3
| | | | | | | | using tools_mesg functions. Tools library uses alais variables for stdout, stderr and tools library uses HDfprintf() functions. Tested: local linux
* [svn-r21982] Correct HD prefix in tools for exitAllen Byrne2012-02-241-16/+16
| | | | Checked for HD support.
* [svn-r21586] Description:Jonathan Kim2011-10-141-0/+4
| | | | | | | | | Added a funtion to reset dataset & hyperslab buffer size for h5repack from an environment variable. This is performance debugging purpose for now. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), Windows (32-LE), cmake
* [svn-r20103] Purpose:Jonathan Kim2011-02-141-19/+15
| | | | | | | | | | | | Change to use HDxxx macros. Description: Originally this started for fixing incorrect pointer usage. But that got fixed through coverity merge. So this is mainly changing to use HDxxx macros and clean up some related code. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r18759] pull r18757 from 1.8 branchAllen Byrne2010-05-111-19/+22
| | | | | | | | | Enable tools lib to be built as a dll on windows. Added two get/set functions for progname and d_status. Also add windows import/export declarations to functions. Updated error_mesg() and warn_mesg() to remove progname argument and use get functions Tested: Windows, linux
* [svn-r18650] Description:Quincey Koziol2010-04-271-1/+1
| | | | | | | | | | | | | | | | | | | Bring back various minor tweaks & cleanups from the revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, 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 Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r18413] Description:Quincey Koziol2010-03-171-11/+1
| | | | | | | | | | | | | | Unify srcdir handling for test executables and allow them to use the srcdir setting from configure time without requiring the 'srcdir' environment variable be set (although you still can, to override the built in setting). Attempted to get this right for Windows builds also. Also add dependency between src/H5Tinit.c and src/libhdf5.settings, so that the test/testcheck_version.sh script works correctly. Tested on: Linux/32 2.6 (jam) Mac OS X/32 10.6.2 (amazon)
* [svn-r18197] Description:Quincey Koziol2010-01-301-14/+14
| | | | | | | | | Trim trailing whitespace from source code files with this command: find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.f90" \) -print |xargs -n 1 sed -i "" 's/[[:blank:]]*$//' Tested on: None - eyeballed only
* [svn-r17703] Bug fix: (1192)Albert Cheng2009-10-211-5/+7
| | | | | | | Changed exit(1) to exit(EXIT_FAILURE) and exit(0) to exit(EXIT_SUCCESS) for better coding. Tested: jam.
* [svn-r17646] 1. tools/h5repack/h5repack_main.c: accept string for strategy ↵Vailin Choi2009-10-151-14/+30
| | | | | | | | | | | | | | | | | | instead of a number 2. tools/h5stat/h5stat.c: clean up and activate options as stated in usage 3. tools/h5stat/testfiles/*.ddl: modified according to the latest output -This line, and those below, will be ignored-- M tools/h5repack/h5repack_main.c M tools/h5stat/testfiles/h5stat_newgrat.ddl M tools/h5stat/testfiles/h5stat_filters.ddl M tools/h5stat/testfiles/h5stat_help1.ddl M tools/h5stat/testfiles/h5stat_help2.ddl M tools/h5stat/testfiles/h5stat_tsohm.ddl M tools/h5stat/testfiles/h5stat_filters-F.ddl M tools/h5stat/h5stat.c
* [svn-r17582] Description:Quincey Koziol2009-10-021-3/+27
| | | | | | | | | | | | | | | | | | | | | Bring changes from file free space branch back to the trunk. *yay!* Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers, 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 Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.8 (amazon) in debug mode Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r17553] Description:Quincey Koziol2009-09-291-42/+42
| | | | | | | | | | | | | | | | | | | | | | Bring general fixes/improvements from file_free_space branch back to trunk. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers 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 Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.8 (amazon) in debug mode Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r17313] Description:Quincey Koziol2009-08-101-3/+2
| | | | | | | | | | | | | | | | | | | | | Bring back various minor code cleanups from the file free space branch Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (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-amd64 2.6 (smirom) w/Intel compilers 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 Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.8 (amazon) in debug mode Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r16301] Add a mention to the usage that the default minimum size for ↵Pedro Vicente Nunes2009-01-131-1/+1
| | | | | | | | | | compression is 1024 bytes M - is an integer greater than 1, size of dataset in bytes (default is 1024) #bgz 1426 tested: windows, linux
* [svn-r15993] Pedro Vicente Nunes2008-10-291-186/+45
| | | | | | Merge with 1.8 rev 15985 reorganized the code to deal with deprecated -i -o for in/out files to avoid duplicated code Tested: linux
* [svn-r15792] Bug fix. When detecting the user requested filters, the "all" ↵Pedro Vicente Nunes2008-10-061-2/+2
| | | | | | option was not taken in consideration when printing the compression ratio Tested: windows, linux
* [svn-r15653] cleaned warningsPedro Vicente Nunes2008-09-181-55/+13
| | | | tested: windows, linux
* [svn-r15635] add info regarding user block to usagePedro Vicente Nunes2008-09-161-1/+2
| | | | tested: windows, linux
* [svn-r15628] Description:Quincey Koziol2008-09-161-102/+102
| | | | | | | | | | | | | Remove trailing whitespace from C/C++ source files, with the following script: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Tested on: Mac OS X/32 10.5.5 (amazon) No need for h5committest, just whitespace changes...
* [svn-r15551] 1) There are 2 new command line parameters for h5repack. ↵Pedro Vicente Nunes2008-08-281-17/+44
| | | | | | | | | | | | 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-r15526] userblock optionsPedro Vicente Nunes2008-08-251-1/+1
| | | | | | only write the user block of a pre-existing file with user block in case there is no input user block file tested: windows, linux
* [svn-r15521] #1184Pedro Vicente Nunes2008-08-221-4/+24
| | | | | | | | | | 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-r15421] bug fixPedro Vicente Nunes2008-07-281-5/+5
| | | | | | | the parsing of the command line strings for the shared object header message type was not being done correctly (strcmp) fix: substituted by strncmp tested: windows, linux
* [svn-r15047] bug fix regarding change from -i to -d regarding number of ↵Pedro Vicente Nunes2008-05-201-1/+1
| | | | | | links in indexed format tested: windows
* [svn-r15044] backward compatibility for old -i infile -o outfile optionsPedro Vicente Nunes2008-05-201-16/+186
| | | | | | | | | | | | | | | | | 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-r14368] clean code and reshufle functions between modules, remove ↵Pedro Vicente Nunes2008-01-031-1/+123
| | | | | | unused functions tested: windows, linux
* [svn-r14311] enhancement: change the usage example for multiple filtersPedro Vicente Nunes2007-11-291-2/+2
| | | | | | to note that SHUF should be used before GZIP and that the order specified in command line is the order filters are applied tested: windows, linux
* [svn-r14310] error check in command line: check for a wrong input of the 2 ↵Pedro Vicente Nunes2007-11-291-0/+8
| | | | | | file names being the same tested: windows, linux
* [svn-r14305] updated commentsPedro Vicente Nunes2007-11-291-0/+2
| | | | tested: windows, linux
* [svn-r14300] new feature: add a mention of multiple filters use in usagePedro Vicente Nunes2007-11-281-0/+4
| | | | tested: windows, linux
* [svn-r14299] new feature: add support for h5repack to handle several global ↵Pedro Vicente Nunes2007-11-281-392/+181
| | | | | | | | filters usage is to repeat the -f option tested: windows, linux, solaris
* [svn-r14292] enhancement: clarify usage of the -s optionPedro Vicente Nunes2007-11-261-2/+2
| | | | tested: windows, linux
* [svn-r14291] enhancement: clarify the usage of the -m optionPedro Vicente Nunes2007-11-261-2/+2
| | | | tested: windows, linux, solaris
* [svn-r14269] bug fix: in the usage message example syntaxPedro Vicente Nunes2007-11-191-1/+1
| | | | tested: linux
* [svn-r14268] enhancement: commnents and correct syntax for h5repack optionsPedro Vicente Nunes2007-11-191-4/+6
| | | | tested: linux
* [svn-r14264] new features: 1) new usage for h5diff " A la" h5dump formatPedro Vicente Nunes2007-11-161-178/+493
| | | | | | 2) new usage for h5repack and new command line parsing using the tools library parsing code tested: windows, linux, solaris