Commit Graph

10542 Commits

Author SHA1 Message Date
Scot Breitenfeld
cc5f029ada [svn-r14979] Purpose:
Added additional verification test for H5Aget_info_f
2008-05-12 15:24:53 -05:00
Pedro Vicente Nunes
cfd4bf26c4 [svn-r14977] update comments, formatting
tested: windows, linux
2008-05-12 15:10:42 -05:00
Pedro Vicente Nunes
ed8882c52d [svn-r14976] Support for external links follow up. The format is to print the target object as part of TARGETPATH, noted with some extra indentation
The previous printing of 
LINKCLASS 64
was removed

HDF5 "textlinksrc.h5" {
GROUP "/" {
   EXTERNAL_LINK "ext_link1" {
      TARGETFILE "textlinktar.h5"
      TARGETPATH "dset"
         DATASET "dset" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 6 ) / ( 6 ) }
            DATA {
            (0): 1, 2, 3, 4, 5, 6
            }
         }
   }
}
}

There is no script test for this behavior so far, because test script uses complete paths that vary from test to test, making not possible to define a valid TARGETFILE in the file

tested: windows, linux, solaris
2008-05-12 14:32:13 -05:00
Scott Wegner
2fd80deb4d [svn-r14975] Purpose: Add Windows fixes for new Fortran code.
Description:
There were a number of small tweaks we needed to make to add the new fortran_1_8 code on Windows.  We create new project files, add new source to them, add the test to our test suite, and fix a few typos in the Windows-specific source code.

Tested:
VS2005 on WinXP
2008-05-12 13:14:12 -05:00
Scott Wegner
f9835e1019 [svn-r14973] Purpose: Fix bug in H5G_get_name_by_addr where buffer size is less than size of name
Description:
In the new tests merged from the fortran_1_8 branch, there is a test that fetches a dataset name in a small buffer.  The call to H5G_get_name_by_addr wrote an extra byte off the end of the buffer.  A simple and sufficient fix is to decrease the buffer size passed to strncmp by 1.  This bug was only caught by Visual Studio 2005 with extra debug checks on.

Tested:
VS2005 on WinXP
kagiso
2008-05-12 13:01:38 -05:00
Scot Breitenfeld
90205aa02c [svn-r14972] Purpose:
Corrected the way the total number of errors are summed up.
2008-05-12 12:48:23 -05:00
Scot Breitenfeld
6614c194d5 [svn-r14971] Purpose:
Added a test for H5Tget_create_plist_f
2008-05-12 12:46:12 -05:00
Mike McGreevy
41d0d0471b [svn-r14970] Purpose: updated RELEASE.txt document
Description: new autotool version information was missing from 1.9 
             documentation. It was added to 1.8, but I forgot to put it in 
             the trunk when I did that update. It's there now.

             New versions: Automake 1.10.1, Libtool 2.2.2

Tested: none needed, doc update only.
2008-05-12 10:25:42 -05:00
Mike McGreevy
63e372c569 [svn-r14969] Purpose: Bug Fix (Bug 1144)
Description: Tests in perform directory were never getting run, and
             h5perf* programs were not being installed.

Solution: Added another build option, 'make check-perform', which runs the 
          tests in the perform directory. Also modified the Makefiles in the
          perform directory to install (with 'make install') h5perf when 
          parallel is enabled, and h5perf and h5perf_serial when parallel
          is disabled.

Tested: kagiso, smirom, linew
2008-05-12 10:15:27 -05:00
HDF Tester
6cdadf3db5 [svn-r14965] Snapshot version 1.9 release 5 2008-05-11 05:41:59 -05:00
Scot Breitenfeld
2e1c8e196d [svn-r14963] Removed dependency on unused routines for the fortranlib_test_1_8
test program.
2008-05-09 15:51:51 -05:00
Scot Breitenfeld
9c6ec1afa0 [svn-r14962] Removed dependency on unused routines for the fortranlib_test_1_8
test program.
2008-05-09 15:47:46 -05:00
Scot Breitenfeld
5e3880e42d [svn-r14961] Fixed DEC$attributes for windows 2008-05-09 15:24:59 -05:00
Elena Pourmal
44b6a4de8f [svn-r14960] Maintenance: IRIX compiler exposed a problem in one of the new APIs. Fixed.
Platforms tested: kagiso and UCAR IRIX machine.
2008-05-09 14:06:12 -05:00
Scot Breitenfeld
c9d5c195cd [svn-r14958] Cosmetic changes and fixed integer type mismatch in C routine wrapper. 2008-05-09 11:13:24 -05:00
Scot Breitenfeld
b7efe1e536 [svn-r14955] Purpose:
* test passing integer constant to subroutine

Description:

  ! -- CHECK PASSING AN INTEGER CONSTANT IN DIFFERENT FORMS --

  ! 1) call by passing an integer with the _hsize_t declaration 
  
  ! 2) call by passing an integer with the INT(,hsize_t) declaration
  
  ! 3) call by passing a variable with the attribute hsize_t
2008-05-08 12:04:11 -05:00
Scot Breitenfeld
7771660c28 [svn-r14954] re-instated the test_attr_dense_open routine for debugging 2008-05-08 10:59:38 -05:00
Elena Pourmal
908f3a8c8d [svn-r14953] Maintenance: Fixed some minor bugs exposed by the Intel compiler on tungsten.
Platforms tested: tungsten is still configuring.
2008-05-08 10:53:10 -05:00
Pedro Vicente Nunes
d1c3370584 [svn-r14946] added an option to allow a user defined formatting string for printf regarding floating point numbers 2008-05-06 15:05:59 -05:00
Elena Pourmal
4e094b5ee3 [svn-r14944] Maintenance: Disabled -O3 optimization for gcc 4.3 2008-05-06 14:29:56 -05:00
Elena Pourmal
0a896c59a8 [svn-r14941] Maintenance: Cleaned up more test code, fixed more bugs in the test and source codes.
This check-in should address Fortran failures on liberty and smirom.

Platforms tested: kagiso with Intel, smirom with g95 -fPIC, liberty with gfortran42
2008-05-06 13:01:59 -05:00
Mike McGreevy
6827c2f3b2 [svn-r14939] Purpose: Bug Fix (Bug 794)
Description:  Test gcov script on kagiso

Solution:     The bin/gcov_script was not working on kagiso (it was written to
              be used on heping, but since we don't have heping anymore, we 
              need it on kagiso). There was a problem in that the generated
              .gcda files were being created in the /src/.libs directory when
              the script was expecting them to be in the /src directory. Also,
              -lgcov was added to LDFLAGS.

              The script performs configuration of HDF5 and runs the tests, and
              generates code coverage statistics for the source code files,
              which it places in the gcov_logs directory.

              The individual *.gcov files show the number of times each 
              individual line of the associated source file is executed, and
              displays branches tken information as well. The file gcov.log
              shows a summary of each source file's coverage statistics in one
              easily accessible file.

Tested:       kagiso
2008-05-06 12:14:14 -05:00
Pedro Vicente Nunes
bfe4775091 [svn-r14937] fix typo in comment 2008-05-06 11:16:17 -05:00
Pedro Vicente Nunes
db1c4549a6 [svn-r14936] add 2 new files for the h5dump user defined floting point format 2008-05-06 08:46:58 -05:00
Pedro Vicente Nunes
5fffde0c1c [svn-r14935] correct an error in the usage text
tested: windows, linux, solaris
2008-05-05 15:31:21 -05:00
Pedro Vicente Nunes
26d880217b [svn-r14934] Add a test for the floating point user defined printf format
Usage is 

-m T, --format=T

Where T - is a string containing the floating point format, e.g '%.3f'

The test consists of writing a number with 7 fractional digits (default precision display of %f is 6 digits) and have the 7 digits displayed with 

-m %.7f fpformat.h5

Tested: windows, linux, solaris

Note: the output file was generated in linux, it may be possible that platforms other than the ones tested have a different representation of the number
2008-05-05 15:06:22 -05:00
Mike McGreevy
5bd2405c11 [svn-r14933] Purpose: Updating HDF5 to use automake 1.10.1 and libtool 2.2.2
Description: Applying update to autotools that was applied to 1.8 a couple
             of weeks ago to the trunk.

             Updated bin/reconfigure script to reflect the new versions of 
             libtool and automake in the /home1/packages/ directory.

             Rearranged configure.in script. When using libtool 2.2.2, the
             libtool script doesn't generate until later in the configuration
             process, so I had to move a test that parsed through the libtool
             script to a point after where it was actually being generated.

             Ran libtoolize on the project, and ran bin/reconfigure to
             regenerate configure and Makefile.in's throughout.

Tested:      kagiso, smirom, linew (h5committest)
2008-05-05 13:35:55 -05:00
Elena Pourmal
e182fc3bb8 [svn-r14930] Maintenance: Fixed more bugs/typos and enabled tests that were failing previously on linew.
Currently only one test (dense attributes) is failing. It looks like C library problem and we
             have a similar bug report in Bugzilla: when dense storage is used, attributes are not written
             to the file; somehow similar C test doesn't expose the problem while Fortran test does.

Platforms tested: linew, kagiso with g95 and PGI
2008-05-04 20:00:37 -05:00
Elena Pourmal
f6069ad57e [svn-r14928] Maintenance: Cleaned up the code to make it compile on smirom with the g95 compiler
Platforms tested: kagiso with PGI compilers, linew, smirom with GCC and g95 compilers;
                  some tests and function calls are commented out with !EP string; we will be
                  working on it.
2008-05-04 11:48:07 -05:00
Elena Pourmal
31b3c34908 [svn-r14927] Maintenance: Enabled all tests that pass on linew. Disabled tests are commented with !!EP for now. 2008-05-04 00:24:04 -05:00
Elena Pourmal
c08112a0c0 [svn-r14926] Maintenance: More cleanup in the test output and enabled another test for linew before daily tests start. 2008-05-03 23:54:06 -05:00
Elena Pourmal
f162bead9a [svn-r14925] Maintenance: Cleaned up reporting of the tests nd enable some tests that pass on linew. 2008-05-03 23:44:26 -05:00
Elena Pourmal
102bd35402 [svn-r14924] Commented out new tests since they failcompletely on linew while passing on smirom and kagiso. 2008-05-03 23:28:05 -05:00
Elena Pourmal
dcad778b42 [svn-r14923] Maintenance: This check-in merges changes from the fortran_1_8 branch back into the trunk (up to revision 14921)
Platforms tested: kagiso with g95 and Intel compilers; more testing will be done after checking in a fresh
                  copy from the trunk. New code itself was tested with all Fortran compilers available at THG
2008-05-03 18:39:37 -05:00
Vailin Choi
8090e1c603 [svn-r14918] Fixed bugs in two tests specific for windows. 2008-05-02 09:57:29 -05:00
Quincey Koziol
d19e5322e2 [svn-r14916] Description:
Clean up files created & cleaned up for dataset tests.

Tested on:
    Max OS X/32 10.5.2 (amazon)
    Too minor to require h5committest
2008-05-01 17:16:39 -05:00
Pedro Vicente Nunes
5b99eac51d [svn-r14913] Introduced a compression ratio = uncompressed size / compressed size
in the printing of the compression with 3 digits of precision per hdf-forum NASA developers suggestion

tested: windows, linux
2008-05-01 15:13:17 -05:00
Pedro Vicente Nunes
de00caed75 [svn-r14910] add mention of new compression ratio feature in h5dump 2008-05-01 14:15:16 -05:00
Pedro Vicente Nunes
7a5edc075a [svn-r14905] Introduced a ratio formula compression ratio = uncompressed size / compressed size
in the printing of the compression with 3 digits of precision per hdf-forum NASA developers suggestion

tested: windows, linux, solaris
2008-05-01 11:45:32 -05:00
Scot Breitenfeld
aec106e324 [svn-r14903] Undoing change committed in r14902. 2008-04-30 14:51:13 -05:00
Scot Breitenfeld
5773fd34bc [svn-r14902] Merged fortran_1_8 branch changes r14505:14901 into the trunk. New fortran wrappers added. 2008-04-30 14:23:26 -05:00
Pedro Vicente Nunes
0138995d1c [svn-r14893] fix typo in comment 2008-04-29 13:16:42 -05:00
Pedro Vicente Nunes
6b41367ac6 [svn-r14892] RFC display compression ratio in h5dump
Here's the current behavior of h5dump regarding the printing of the dataset creation property list

For example

./h5dump -H -p -d filters

HDF5 "tfilters.h5" {
DATASET "deflate" {
   DATATYPE  H5T_STD_I32LE
   DATASPACE  SIMPLE { ( 20, 10 ) / ( 20, 10 ) }
   STORAGE_LAYOUT {
      CHUNKED ( 10, 5 )
      SIZE 385 
    }
   FILTERS {
      COMPRESSION DEFLATE { LEVEL 9 }
   }
   FILLVALUE {
      FILL_TIME H5D_FILL_TIME_IFSET
      VALUE  0
   }
   ALLOCATION_TIME {
      H5D_ALLOC_TIME_INCR
   }
}
}


The proposed behavior is to add this information after SIZE

SIZE 385 (51.9%COMPRESSION)

That percentage is obtained trough

Per = (b-a) / a

Where a = theoretical size obtained by multiplying datum size times number of elements
b =  size obtained with H5Dget_storage_size

The final print would look like

HDF5 "tfilters.h5" {
DATASET "deflate" {
   DATATYPE  H5T_STD_I32LE
   DATASPACE  SIMPLE { ( 20, 10 ) / ( 20, 10 ) }
   STORAGE_LAYOUT {
      CHUNKED ( 10, 5 )
      SIZE 385 (51.9%COMPRESSION)
    }
   FILTERS {
      COMPRESSION DEFLATE { LEVEL 9 }
   }
   FILLVALUE {
      FILL_TIME H5D_FILL_TIME_IFSET
      VALUE  0
   }
   ALLOCATION_TIME {
      H5D_ALLOC_TIME_INCR
   }
}
}

tested: windows, linux, solaris
2008-04-29 13:02:05 -05:00
Scott Wegner
9017a8113c [svn-r14867] Purpose: Add new source files to Windows projects
Description:
Two new source files have been added, H5Dchunk.c and H5Dscatgath.c.  This checkin adds the files to the Windows project files as well.

Tested:
VS2005 on WinXP
2008-04-28 09:04:29 -05:00
HDF Tester
5ab3c53745 [svn-r14864] Snapshot version 1.9 release 4 2008-04-27 06:18:36 -05:00
Quincey Koziol
495ca9c7bb [svn-r14860] Description:
Omnibus raw data I/O revisions, with wide-ranging changes and
refactoring, in order to prepare for implementing "fast append" feature.

	These changes remove the majority of the code duplication for raw data
I/O which has crept in over the last ten years and introduces a more object-
oriented design for operating on different types of dataset storage.

	Chunked storage no longer has it's own I/O routines, it is now handled
as either contiguous (if chunk is not pulled into the cache) or compact (if the
chunk is cached in memory).

	No bug or feature changes, at least intentionally... :-)

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-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.5.2 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2008-04-24 10:03:41 -05:00
Scott Wegner
16d4cae5b1 [svn-r14857] Purpose: Fix typo in Windows test script
Description:
A small typo in the main Windows test script was causing the C++ library tests not to run by default.

Tested:
VS2005 on WinXP x64
2008-04-21 13:04:39 -05:00
Scott Wegner
84d3ea8e8b [svn-r14855] Purpose: Fix error message when with Windows pthreads
Description:
When building HDF5 with thread safety on Windows, the err_compat test was failing because our output was being parsed incorrectly.  Rather than having a thread number in the error stack trace, there will be the string "some thread: no way to know the thread (IDs): from pthread on windows:".  This checkin now takes this into account, and modifies the output accordingly.

Tested:
VS2005 on WinXP with Pthreads
2008-04-21 12:33:23 -05:00
Scott Wegner
775bbddc28 [svn-r14854] Purpose: Remove many spurious compiler warnings in Visual Studio
Description:
On Windows, many POSIX functions have been replaced by a similarly-named function with some additional security-checking.  Visual Studio issues a warning each time the POSIX version is used, recommending that we replace it with the new version.  This results in thousands of errors when building the HDF5 library.

This checkin adds a Visual Studio "Property Sheet", which has been applied to all library projects, and defines a number of preprocessors to suppress these warnings.  The warnings have been disabled only in Visual Studio 2005 project files, as VS.NET doesn't support property sheets.

Tested:
VS2005 on WinXP
2008-04-21 09:03:59 -05:00
Scott Wegner
aa53664128 [svn-r14853] Purpose: Comment-out 2 windows-specific tests
Description:
Vailin has been working on some new tests for converting Windows paths.  She found a bug that is making these two tests fail, but didn't have time to fix it.  We've commented out the two tests until she has time to fix the bug.  This won't affect other platforms because it's Windows-specific code.

Tested:
VS2005 on WinXP
2008-04-21 08:35:54 -05:00