summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r16979] Description:Quincey Koziol2009-05-211-262/+217
| | | | | | | | | | | | | | | | | | | | | | | Refactor extensible array metadata lookup to abstract common code into single, reusable routine. Re-target existing 'set' & 'get' routines to use new routine. 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 debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.6 (amazon) in debug mode Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r16977] Description:Quincey Koziol2009-05-211-3/+3
| | | | | | | | | | | | | | | | | | | | | Correct error where data block was being marked dirty instead of index block. 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 debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.6 (amazon) in debug mode Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r16973] Description:Quincey Koziol2009-05-212-14/+8
| | | | | | | | | | | | | | | | | | | | | | Refactor chunk cache entry information to remove some [actually] unused fields. 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 debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.6 (amazon) in debug mode Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r16969] Updated perf_serial test to work on windows.Allen Byrne2009-05-217-234/+297
| | | | | Tested: Windows and h5committest
* [svn-r16964] bug fix: the phrase "Not comparable" was not being printed for ↵Pedro Vicente Nunes2009-05-202-2/+2
| | | | | | the case of different classes tested: windows, linux
* [svn-r16955] Lifted the restrictions that major and minor errors must be in ↵Raymond Lu2009-05-151-8/+0
| | | | | | the same class. Tested on jam - simple change.
* [svn-r16952] corrected name of zlib in Section IV, part 3, step 2Allen Byrne2009-05-151-2/+2
| | | | Tested: windows
* [svn-r16947] 1. #1522 (B1) h5ltread_dataset_string_f error with g95Pedro Vicente Nunes2009-05-135-518/+615
| | | | | | | ISSUE: h5ltread_dataset_string_f causes library assertion with g95. SOLUTION: convert the fortran string buffer to a C buffer with HD5f2cstring, and pass this string to the C function TEST: added a test call in the fortran test lite program DOCS: added the note in RELEASE.txt "- Lite: the h5ltread_dataset_string_f and h5ltget_attribute_string_f functions had memory problems with the g95 fortran compiler. (PVN - 5/13/2009) 1522
* [svn-r16945] bug fix. call free on a string allocated by HD5f2cstringPedro Vicente Nunes2009-05-133-2390/+2824
| | | | tested: linux, windows
* [svn-r16938] Purpose:Mike McGreevy2009-05-122-2/+38
| | | | | | | | | | | | | | | | | | Modifying default cache configuration, and adding an #ifdef to allow for a separate default configuration when parallel is enabled. This is being modified in order to address an observed performance problem with the current default configuration. Description of Changes: - increasing maximum cache size from 16MB to 32MB - increasing maximum entry size from 10MB to 32MB - decreasing min_clean_fraction from 0.3 to 0.01 in serial case - increasing flash_multiple from 1.0 to 1.4 in serial case Tested: jam
* [svn-r16897] Description:Quincey Koziol2009-04-302-0/+22
| | | | | | | | Add basic support for using 'aprun' to run parallel commands, when on a Cray. Tested on: Cray @ LBL (franklin)
* [svn-r16885] Update to include the modification in parallel tests.Christian Chilan2009-04-291-0/+10
|
* [svn-r16880] Fixed a bug in H5LTtext_to_dtype. When the data type is ↵Raymond Lu2009-04-283-40/+79
| | | | | | | | enumerate and the super type is different from the native integer, the value wasn't converted. I fixed it and corrected the test, too. Tested with h5committest.
* [svn-r16874] Description:Quincey Koziol2009-04-283-10/+347
| | | | | | | | | | | | | | | | | | | | | Add test for cache client 'notify' callback. 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 debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.6 (amazon) in debug mode Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r16869] Description:Quincey Koziol2009-04-282-2/+7
| | | | | | | | | Reduce overhead for func enter/leave & error handling macros. (Reduces object code size by ~20% for production/~10% for debug, with gcc) Tested on: Mac OS X/32 10.5.6 (amazon) (Too minor to require h5committest)
* [svn-r16863] MS version of strtoull() is named strtoui64()Allen Byrne2009-04-271-0/+1
| | | | | Tested: XP32 VS2005
* [svn-r16859] I fixed some memory leak of H5LTdtype_to_text in the HL ↵Raymond Lu2009-04-242-9/+22
| | | | | | | | library. I fixed some test verification, too. Tested on jam - simple change.
* [svn-r16858] Description:Quincey Koziol2009-04-241-2/+2
| | | | | | | | | | Tweak down the size of datatype created for dataset, so that the elements are a reasonable size and the dataset's size can fit into a 64-bit value for storing in the file. Tested on: FreeBSD/64 6.3 (liberty) (too minor for h5committest)
* [svn-r16851] Description:Quincey Koziol2009-04-2313-62/+69
| | | | | | | | Clean up compiler warnings Tested on: Mac OS X/32 10.5.6 (amazon) (too minor to require h5committest)
* [svn-r16849] Description:Quincey Koziol2009-04-234-11/+383
| | | | | | | | | | | Bring r16848 from revise_chunks branch to trunk: Add test (and bugfixes) for detecting if a filter makes a chunk size larger than can be encoded in a 32-bit variable (in the file). Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committest not needed, multi-platform testing done on branch)
* [svn-r16847] Description:Quincey Koziol2009-04-2324-109/+2321
| | | | | | | | | | | | | Bring r16846 from revise_chunks branch back to trunk: Fix broken (for how long?) H5_ASSIGN_OVERFLOW macro to actually detect overflows during assignments, along with several errors it [now] detected. Cleaned up a fix minor warnings and/or pieces of code also. Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committest not needed - multi-platform test performed on branch)
* [svn-r16845] Description:Quincey Koziol2009-04-231-2/+59
| | | | | | | Updated with new warning flags from gcc 4.4 Tested: FreeBSD/64 6.3 (liberty) w/gcc 4.4.0
* [svn-r16844] Description:Mike McGreevy2009-04-222-0/+6
| | | | | | | | | | | | Adding dependency to h5repack test script. h5repack.sh needs h5repacktst to run first. Tested: Problem only appeared on Glory, but tested the dependence manually on jam by trying to run only the script and checking that it first ran the h5repacktst test program.
* [svn-r16842] Bug fix:Albert Cheng2009-04-223-6/+6
| | | | | | | | | | | | | If the AR command has embedded shell separators such as the case of "AR = ar -X 64", $AR ends up as a blank. Solution: Put quotes around the command substitution string to protect against embedded separators. Applied the same to both AR and RANLIB assignments. Tested: At Up (AIX 5.3) only because that was where I discovered the error when AR is ar -X 64
* [svn-r16839] Added a new test case for h5repack_named_dtypes.h5. Raymond Lu2009-04-221-0/+3
| | | | Not test yet.
* [svn-r16835] Allow an error class to use other class's major or minor ↵Raymond Lu2009-04-223-15/+34
| | | | | | errors. Added a test for it, too. Tested on jam - simple change.
* [svn-r16829] Bug fix.Albert Cheng2009-04-211-1/+1
| | | | | | | | | | | | | | | | In Up (AIX system), the insert_libhdf5_settings() infinite looped because it never found EOF. Man getc in another system said: "If the integer value returned by getc() is stored into a variable of type char and then compared against the integer constant EOF, the com- parison may never succeed, because sign-extension of a variable of type char on widening to integer is implementation-defined." Solution: Changed inchar from type char to int fixed the problem. Morale of the story: RTFM or HTCW (heed the compiler warnings). Tested: Up (AIX 5.3).
* [svn-r16826] Description:Frank Baker2009-04-211-7/+11
| | | | | Updated and restructured "Copyright Notice & License Terms" document per new standard.
* [svn-r16817] Fix problem in H5Z.c with --disable-deprecated-symbolsNeil Fortner2009-04-211-0/+6
| | | | Tested: jam (--disable-deprecated-symbols)
* [svn-r16816] Description:Binh-Minh Ribler2009-04-211-1/+11
| | | | | | | | | | | | | | Added member function Attribute::getInMemDataSize(), which is a wrapper of several C calls, to simplify getting the attribute's data size in memory. Used this new function in Attribute::read to get the fixed-len string attribute data. Added tests to tattr.cpp. Platforms tested: Linux/32 2.6 (jam) FreeBSD/64 6.3 (liberty) SunOS 5.10 (linew)
* [svn-r16815] Description:Binh-Minh Ribler2009-04-212-12/+70
| | | | | | | | | | | | | | Added member function Attribute::getInMemDataSize(), which is a wrapper of several C calls, to simplify getting the attribute's data size in memory. Used this new function in Attribute::read to get the fixed-len string attribute data. Added to tests in tattr.cpp. Platforms tested: Linux/32 2.6 (jam) FreeBSD/64 6.3 (liberty) SunOS 5.10 (linew)
* [svn-r16814] New feature(Bug 230):Albert Cheng2009-04-215-27/+139
| | | | | | | | | | | | | | | | | | | | | | | | Embed the content of libhdf5.settings into the hdf5 executables so that an "orphaned" executables can display (via the Unix strings command, for example) the library settings used to build the executables. This is a prototype implementation. Much improvement is needed. configure.in: Added the --disable-embedded-libinfo option to disable this feature. configure: src/H5config.h.in: Generated by autotools like automake. src/H5detect.c: Implement insert_libhdf5_settings() to insert the contents of libhdf5.settings into the library as an extern string variable so that it is included in all HDF5 executable. Much improvement is needed. fortran/src/Makefile.in: Auto-generated by bin/reconfigure. (i.e., I did make any changes to cause its direct regeneration). Tested: Jam serial, using default and --disable-embedded-libinfo, configure options.
* [svn-r16810] added the words "Not comparable" in the not comparable messagesPedro Vicente Nunes2009-04-2012-23/+23
| | | | tested: linux
* [svn-r16807] Purpose: Fix bug 1533Neil Fortner2009-04-2021-52/+151
| | | | | | | | | | | Description: Previously, there was no versioning for H5Z_class_t. This prevented applications written for 1.6 using custom filters from being able to use the 1.8 library. There is now an H5Z_class1_t and H5Z_class2_t to enable compatibility. H5Zregister is *not* versioned, it determines which version of the struct has been passed in by the value of the first field (id or version, both are ints). Tested: jam, linew, smirom (h5committest), jam (--with-default-api-version=v16)
* [svn-r16806] Purpose: Add new h5repack tests to WindowsScott Wegner2009-04-201-2/+9
| | | | | | | | Description: Three new tests were added to the h5repack test script in rev.16802. This checkin brings those new tests to Windows as well. Tested: VS2005 on WinXP x64
* [svn-r16803] Purpose: Fix bug 1548Neil Fortner2009-04-204-56/+70
| | | | | | | | | Description: When writing data to a dataset, the data transform was performed after type conversion. This caused an error if the file type was non-native. This has been changed so data transforms are always performed on the memory type. Tested: jam, linew. smirom (h5committest)
* [svn-r16800] Purpose: Fix bug 1516Neil Fortner2009-04-206-21/+387
| | | | | | | | | | | 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-r16799] corrected typos in fortran APIScot Breitenfeld2009-04-201-4/+4
|
* [svn-r16797] Changed Scot Breitenfeld2009-04-202-3/+5
| | | | | | | | | | | | | | H5D_CHUNK_CACHE_NSLOTS_DEFAULT_F H5D_CHUNK_CACHE_NBYTES_DEFAULT_F H5D_CHUNK_CACHE_W0_DEFAULT_F to H5D_CHUNK_CACHE_NSLOTS_DFLT_F H5D_CHUNK_CACHE_NBYTES_DFLT_F H5D_CHUNK_CACHE_W0_DFLT_F to get under the 31 limit for variable names
* [svn-r16796] Changed Scot Breitenfeld2009-04-202-9/+12
| | | | | | | | | | | | | | H5D_CHUNK_CACHE_NSLOTS_DEFAULT_F H5D_CHUNK_CACHE_NBYTES_DEFAULT_F H5D_CHUNK_CACHE_W0_DEFAULT_F to H5D_CHUNK_CACHE_NSLOTS_DFLT_F H5D_CHUNK_CACHE_NBYTES_DFLT_F H5D_CHUNK_CACHE_W0_DFLT_F to get under the 31 limit for variable names
* [svn-r16792] Description:Mike McGreevy2009-04-2049-189/+361
| | | | | | | | | | | | - Updated bin/reconfigure to use latest version of automake (1.10.2). Re-generated Makefile.in's by running bin/reconfigure. - Added libtool version numbers to c++, fortran, hl, hl c++, and hl fortran libraries. Tested: jam, liberty, smirom
* [svn-r16789] Bug Fix (Bug 1398):Albert Cheng2009-04-201-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | For gcc v4.3 and v4.4, with production mode, if -O3 is used, H5Tinit.c would fail to compile. Actually bad H5Tinit.c is produced. If -O (same as -O1) is used, H5Tinit.c compiled okay but test/dt_arith would fail with: Testing hard normalized long double -> signed char conversions time: comm and terminated abnormally When -O0 (no optimizatio) is used, H5Tinit.c compilete okay and all tests passed. Solution: Changed the config/gnu-flags to use -O0 for gcc v4.3 and 4.4 for production flags for now so that build and tests would work. Still need to investigate if the error is due to Gcc optimization bug or our code errors. Tested: In liberty with gcc43 and gcc44. Also, tested in jam and smirom with older versions of gcc. There are no gcc 43 or 44 compilers installed in other THG machines that I know.
* [svn-r16787] Description:Binh-Minh Ribler2009-04-192-48/+156
| | | | | | | | | | | | | Fixed to pass parameters to H5Awrite/H5Aread correctly so that all Attribute::write and Attribute::read methods work correctly for both fixed-length and variable-length string attributes. Added more test cases. Platforms tested: Linux/32 2.6 (jam) FreeBSD/64 6.3 (liberty) SunOS 5.10 (linew)
* [svn-r16785] added missing test and compare cases inside compounds for nanPedro Vicente Nunes2009-04-182-673/+1022
| | | | tested: linux
* [svn-r16781] Added information about new fortran wrappers added:Scot Breitenfeld2009-04-171-0/+8
| | | | | | | H5D_h5dget_access_plist_f H5I_h5iis_valid_f H5P_h5pset_chunk_cache_f H5P_h5pget_chunk_cache_f
* [svn-r16780] Description:Scot Breitenfeld2009-04-173-4/+300
| | | | | | | | | | | | | | | Added tests for the new APIs: H5D_H5DGET_ACCESS_PLIST_F H5I_H5IIS_VALID_F H5P_H5PSET_CHUNK_CACHE_F H5P_H5PGET_CHUNK_CACHE_F Platforms tested: smirom: pgf90, ifort linew liberty: gcc43, gfortran43, gcc44, gfortran44
* [svn-r16779] A minor correction of previous checkin. The original files ↵Raymond Lu2009-04-171-8/+6
| | | | | | | | created with v1.6 library could be deleted by cleanup routine. I corrected it in this checkin. Tested on jam - simple change.
* [svn-r16777] Description:Scot Breitenfeld2009-04-172-0/+185
| | | | | | | | | | | Added APIs: H5P_H5PSET_CHUNK_CACHE_F H5P_H5PGET_CHUNK_CACHE_F Platforms tested: smirom: pgf90 ifort
* [svn-r16776] Description:Scot Breitenfeld2009-04-171-0/+9
| | | | | | | | | Added APIs: H5D_mp_H5DGET_ACCESS_PLIST_F H5I_mp_H5IIS_VALID_F H5P_mp_H5PSET_CHUNK_CACHE_F H5P_mp_H5PGET_CHUNK_CACHE_F
* [svn-r16775] Desciption:Scot Breitenfeld2009-04-171-0/+4
| | | | | | | | | Added APIs: H5D_mp_H5DGET_ACCESS_PLIST_F H5I_mp_H5IIS_VALID_F H5P_mp_H5PSET_CHUNK_CACHE_F H5P_mp_H5PGET_CHUNK_CACHE_F