Commit Graph

10390 Commits

Author SHA1 Message Date
Scott Wegner
2b8a9569bb [svn-r14998] Purpose: Minor updates to MinGW installation notes
Description:
Small changes, such as commenting out an additional test and fixing the search path, have been added to the MinGW install instructions.

Tested:
MinGW on WinXP
2008-05-14 14:25:06 -05:00
Scott Wegner
4261982ea1 [svn-r14994] Purpose: Add support for building 64-bit Windows binaries from command line
Description:
We can dynamically detect the host architecture using the PROCESSOR_ARCHITECTURE variable.  This allows us to setup our build paths accordingly and build 64-bit Windows binaries from the command line.  This allows us to run autotests on 64-bit Windows as well.

Tested:
VS2005 on WinXP x64
VS2005 on WinXP x86
2008-05-14 09:54:21 -05:00
Elena Pourmal
4297f8cc78 [svn-r14992] Maintenance: Brought changes from trunk into 1.8 branch
Platforms tested: kagiso, will do more testing later with -i8 flag.
2008-05-13 13:37:48 -05:00
Mike McGreevy
ee187da419 [svn-r14989] Purpose: Bug Fix
Description: Typo in the configure.in script. CC_VERSION should be set using
             CC_NOFLAGS, but is currently using CC_NOFLAG, which does not exist.

Tested: kagiso (configure issue)
2008-05-13 11:39:07 -05:00
Scott Wegner
475ce84ae6 [svn-r14986] 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 16:31:45 -05:00
Scott Wegner
8380b1827e [svn-r14983] Purpose: Update h5dump test script on Windows
Description:
One test has been added to h5dump test for custom output formats.  This adds the test on Windows as well.

Tested:
VS2005 on WinXP
2008-05-12 15:47:31 -05:00
Pedro Vicente Nunes
7f54a6cbeb [svn-r14981] - h5dump: support for external links, display the object that the external link
points to. (PVN - 2008/05/12)
2008-05-12 15:37:29 -05:00
Pedro Vicente Nunes
20c6bdda65 [svn-r14978] 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 15:20:00 -05:00
Scott Wegner
f02082b568 [svn-r14974] 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:03:05 -05:00
Mike McGreevy
7e7e7c7aef [svn-r14968] 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 09:48:32 -05:00
HDF Tester
c48f37b327 [svn-r14967] Snapshot version 1.8 release 0 (snap6) 2008-05-11 21:06:42 -05:00
Scot Breitenfeld
8d4ae7e283 [svn-r14964] merged the fortran trunk into the branch, used the command:
(svn merge -r 14942:14963 http://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran)
2008-05-09 16:38:52 -05:00
Elena Pourmal
9d8bed8483 [svn-r14959] Maintennce: IRIX compiler exposed a problem in one of the new APIs. Fixed.
Platforms tested: kagiso and UCAR IRIX machine
2008-05-09 14:05:05 -05:00
Scot Breitenfeld
a42154c441 [svn-r14957] Fixed integer type mismatch in c function 2008-05-09 11:10:13 -05:00
Scot Breitenfeld
4e261a5427 [svn-r14956] re-instated the test_attr_dense_open routine for debugging 2008-05-08 16:40:30 -05:00
Vailin Choi
cb79e86d4b [svn-r14952] 1. test/links.c: put in external link tests for windows
2. src/H5private.h: remove #define for HDputenv()
2008-05-08 08:30:30 -05:00
HDF Tester
a67435cf3b [svn-r14951] Check in fixes for compilation errors on tungsten. 2008-05-07 17:18:20 -05:00
Elena Pourmal
4b2c3c5e07 [svn-r14949] Maintenance: brought serial h5perf tool from trunk; use
svn merge -r 14824:14945 http://svn.hdfgroup.uiuc.edu/hdf5/trunk/perform
             command to bring changes in.

Platforms tested: kagiso with Intel compilers, smirom with GNU compiler
2008-05-06 15:51:39 -05:00
Pedro Vicente Nunes
eb9ba954a5 [svn-r14948] 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-06 15:08:11 -05:00
Elena Pourmal
41bf2001b1 [svn-r14943] Maintenance: Added files missed in the previous check-in.
Platforms tested: bin/chkmanifest on kagiso
2008-05-06 14:27:02 -05:00
Elena Pourmal
0bfb17bf00 [svn-r14942] Maintenance: Merged new Fortran APIs and tests from trunk into hdf5_1_8 branch
(used svn merge -r 14505:14941 http://svn.hdfgorup.uiuc.edu/hdf5/trunk/fortran 
              command).
             Updated MANIFEST
             Disabled -O3 optimization for gcc 4.3 (long due check-in)

Platforms tested: kagiso with PGI compilers, smirom with g95 and v16 option, linew
2008-05-06 14:23:32 -05:00
Mike McGreevy
464e4619f6 [svn-r14940] Purpose: Bug Fix (Bug 794)
Description: Test gcov script on kagiso

Solution: The bin/gcov script was not working on kagiso. The script was
          retooled and now works correctly on kagiso, placing code coverage logs
          into the generated gcov_logs directory when run.

Tested: kagiso
2008-05-06 12:18:48 -05:00
Mike McGreevy
1e313e76ff [svn-r14932] Purpose: updating RELEASE.txt document
Description:   added new autotool version information (updated libtool from 
               1.5.22 to 2.2.2 and automake from 1.10 to 1.10.1) to RELEASE.txt

Tested:        none needed, documentation update only
2008-05-05 09:33:51 -05:00
HDF Tester
c44f697040 [svn-r14931] Snapshot version 1.8 release 0 (snap5) 2008-05-04 20:44:48 -05:00
Quincey Koziol
06dc01d40e [svn-r14917] Description:
Clean up files created & cleaned up for dataset tests.

Tested on:
    Mac OS X/32 10.5.2 (amazon)
    Too minor to require h5committest
2008-05-01 17:19:40 -05:00
Pedro Vicente Nunes
8e184de40a [svn-r14915]
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:22:03 -05:00
Pedro Vicente Nunes
433c62542f [svn-r14911] add mention of new compression ratio feature in h5dump 2008-05-01 14:18:09 -05:00
Pedro Vicente Nunes
bee6951ac6 [svn-r14906] 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:46:58 -05:00
Pedro Vicente Nunes
b2a2c17c44 [svn-r14895] 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 14:15:53 -05:00
Scott Wegner
c954ba63a4 [svn-r14868] 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:
VS.NET on WinXP
2008-04-28 09:09:50 -05:00
HDF Tester
8340a57349 [svn-r14866] Snapshot version 1.8 release 0 (snap4) 2008-04-27 21:07:59 -05:00
Mike McGreevy
82198aa9c5 [svn-r14862] Purpose: Disallow use of c++ or fortran with threadsafe.
Description:   Threadsafety is incompatible with c++ and with fortran, so if 
               the user specifies either at configure along with threadsafe, 
               throw an error.

Tested:        kagiso (configure change only, doesn't affect build or testing).
2008-04-24 15:41:51 -05:00
Quincey Koziol
e66cb6fec6 [svn-r14861] Description:
Bring revision 14860 back to 1.8 branch, change log for rev 14860 is:

        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.

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:
    Mac OS X/32 10.5.2 (amazon) w/production
2008-04-24 10:39:32 -05:00
Scott Wegner
ed32d8e900 [svn-r14858] 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:05:34 -05:00
Scott Wegner
e3e9bbafce [svn-r14856] 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:35:25 -05:00
HDF Tester
b6017c5cd1 [svn-r14851] Snapshot version 1.8 release 0 (snap3) 2008-04-20 19:00:23 -05:00
Scott Wegner
b6fc679940 [svn-r14844] Purpose: Fix link input in Windows HL Fortran examples
Description:
Previously, our Windows projects for HL Fortran examples were using outdated library names for our cstub code.  As a result, they wouldn't build correctly.  This checkin brings them up-to-date.

Also, add hdf5_hl.lib as a dependency to hdf5_hl_fortran.lib.  This goes un-noticed when building the complete VS solution, but should be required when only building hdf5_hl_fortran.lib

Tested:
VS2005 on WinXP
2008-04-14 16:32:39 -05:00
Scott Wegner
8fb201dd65 [svn-r14842] Purpose: Fix Windows Fortran examples runtime libraries
Description:
In the Windows Fortran example projects, the runtime library used for linking static-debug version was set incorrectly.  This was a result of the project being upgraded from VS6 where we used Single-threaded libraries.  Those libraries are no longer supported, so we use [Debug] Multithreaded [DLL] now instead.

Tested:
VS2005 on WinXP
2008-04-14 12:13:10 -05:00
Scott Wegner
af355e20a4 [svn-r14840] Purpose: Add new Windows macro for links test
Description:
Many new path-specific tests have been added via the "links" test.  Because Windows' path format is non-standard, we need a special macro defined to handle it specially.  Note that 2 tests still fail with this macro defined, but it should be fixed soon.

Tested:
VS2005 on WinXP
2008-04-14 10:47:49 -05:00
Scott Wegner
ac378bcfb1 [svn-r14837] Purpose: Remove ohdr_gentst from Windows projects
Description:
The ohdr_gentst project exists in order to re-create test input files that are distributed with the source.  These projects aren't built by default on most platforms, and the source isn't distributed in release builds.  To avoid confusion and bloat, we remove the Windows version of this project.

Tested:
None, only removed
2008-04-14 10:15:03 -05:00
Scott Wegner
e622c634d5 [svn-r14835] Purpose: Remove English-specific code from Windows test scripts
Description:
In previous versions of Windows, the builtin 'FC' command (diff equivalent) didn't return proper exit status.  As a work-around, we parsed the message returned to check status.  This relies on English return messages.

In current Windows XP and Windows Vista, FC will return exit status as expected, so we can remove this workaround.  Older platforms where we would need this workaround are no longer supported.

Tested:
VS2005 on Windows XP
Small test on Windows Vista
2008-04-14 09:59:52 -05:00
HDF Tester
740769d37f [svn-r14834] Snapshot version 1.8 release 0 (snap2) 2008-04-13 21:06:52 -05:00
Mike McGreevy
8f0879c89e [svn-r14830] Purpose: Update libtool to version 2.2.2
Description: Changing libtool from 2.2 to 2.2.2. The newer version was released
             last week and I missed the announcement before upgrading to 2.2
             yesterday afternoon.

             The new version is installed in home1/packages/libtool/, and the
             bin/reconfigure script was updated and executed.

Tested:      h5committest (smirom, linew, kagiso)
2008-04-11 16:56:25 -05:00
Mike McGreevy
934d532544 [svn-r14824] Purpose: Updating HDF5 1.8 to use automake 1.10.1 and libtool 2.2
Description:     Updated bin/reconfigure script to reflect the new versions of
                 libtool and automake in the /home1/packages/ directory.

                 Rearranged configure.in script. For some reason, when using
                 libtool 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, tg-login
2008-04-10 15:52:14 -05:00
Vailin Choi
19077b27d0 [svn-r14823] Fixed a bug in CHECK_ABSOLUTE() for windows.
Fixed declaration for H5_build_extpath() to remove the warning messages.
Tested on kagiso, linew, smirom.
2008-04-09 09:56:17 -05:00
Scott Wegner
b4bae33f23 [svn-r14820] Purpose: Disable ohdr_gentst project by default on Windows.
Description:
The ohdr_gentst project exists to dynamically generate the test files for ohdr test, which also exist in the repository.  The test is only run on other platforms when the configure flag --enable-build-all is specified.  Moreover, the source code ohdr_gentst.c is marked as _DO_NO_DISTRIBUTE_ in the MANIFEST.

As a result, there was a problem in the release tarball that the Windows projects would fail when trying to build this project.  To correct this, we no longer build this by default.  We will also need to release a FAQ/patch for the HDF5 1.8.0 release.

Tested:
VS2005 on WinXP
2008-04-08 15:10:41 -05:00
Vailin Choi
a5030f853b [svn-r14810] Add fix for H5Lcreate_external() to the list of bug fixes. 2008-04-08 10:50:26 -05:00
Pedro Vicente Nunes
202a3d4a6f [svn-r14803] mention to bug fixed 2008-04-07 10:59:51 -05:00
Pedro Vicente Nunes
59f29fa02f [svn-r14802] bug fix: #1106 h5dump -b will dump ASCII values for datasets after the first one. One variable that controls the binary output was incorrectly reset to zero after a binary output was done a first time. The effect was that on cases of several datasets, the ones after the first were not binary written. Eliminated the resetting of that variable and tested a file with several datasets. Modified the test file so that it is easier to test with the tool binread, that reads the binary output of h5dump.
tested: windows, linux
2008-04-07 10:53:35 -05:00
HDF Tester
7c6a99f05c [svn-r14801] Snapshot version 1.8 release 0 (snap1) 2008-04-06 21:10:35 -05:00