Commit Graph

10416 Commits

Author SHA1 Message Date
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
Binh-Minh Ribler
bf41e5ed3d [svn-r14852] Purpose: Update bug fixes
Description:
    Added notes about fixes on bugzillas 1045 and 1056.
2008-04-21 00:40:03 -05:00
Binh-Minh Ribler
115689570f [svn-r14850] Purpose: Fixed bugs
Description:
    - Revised Attribute::write and Attribute::read wrappers to handle
    memory allocation/deallocation properly. (bugzilla 1045)
    - Changed free() to H5Dfree(), also needed H5private.h
    - Corrected quite a few typos in documenting!

Platforms tested:
    SunOS 5.10 (linew)
    Linux 2.6 (kagiso)
    FreeBSD (duty) - there was something wrong in the C tests for makecheck
        hung quite a long time; I went ahead with makecheck just in c++ dir,
        since the changes didn't effect the C tests.  I'll keep an eye on
        the tests tonight...
2008-04-20 17:06:37 -05:00
HDF Tester
a0136eda8d [svn-r14849] Snapshot version 1.9 release 3 2008-04-20 06:32:00 -05:00
Vailin Choi
f1d2209a75 [svn-r14848] Fixed a bug in the external link test for windows. 2008-04-17 21:31:20 -05:00
Vailin Choi
a642c440f7 [svn-r14847] 1. test/links.c: add tests specific for windows
remove HDputenv() from external_link_env() test
                 (will add script later to set HDF5_EXT_PREFIX for running the test)
                 modify and add more comments
2. src/H5private.h: remove #define for HDputenv()

Tested on kagiso, linew and smirom.
2008-04-16 12:13:20 -05:00
Scott Wegner
58b37f0a88 [svn-r14846] Purpose: Update MANIFEST for last commit
Description:
Add ./windows/hdf5build_examples.BAT to MANIFEST

Tested:
chkmanifest on kagiso
2008-04-14 16:37:34 -05:00
Scott Wegner
c6ec340c76 [svn-r14845] Purpose: Add new Windows batch script for building example projects
Description:
Just as we have scripts for building and testing the HDF5 library on Windows, hdf5build_examples.BAT is a new script for building HDF5 example projects on Windows.  This is especially useful for our new Windows Daily Tests, to test our examples automatically as well.

Eventually, we will have hdf5check_examples.BAT and hdf5bt_examples.BAT to test our examples as well.

Tested:
VS2005 on WinXP
2008-04-14 16:35:55 -05:00
Scott Wegner
f16de15646 [svn-r14843] 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:23:42 -05:00
Scott Wegner
37d75142e3 [svn-r14841] 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.

Note that this also needs to be updated in the VS.NET project files-- I will make those changes shortly.

Tested:
VS2005 on WinXP
2008-04-14 12:02:10 -05:00
Scott Wegner
994669e01a [svn-r14839] 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:46:03 -05:00
Scott Wegner
0c299e6240 [svn-r14838] 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:21:46 -05:00
Scott Wegner
79e97a0e9e [svn-r14836] 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 10:03:26 -05:00
HDF Tester
0d68a748cc [svn-r14832] Snapshot version 1.9 release 2 2008-04-13 06:56:56 -05:00
Christian Chilan
438095b24c [svn-r14831] Revise file of the serial benchmarking tool.
Tested on kagiso, smirom, linew, and tg-login.
2008-04-12 18:08:08 -05:00
Christian Chilan
512f4ff28f [svn-r14829] Revised files of the serial benchmarking tool.
Tested on kagiso, smirom, and linew.
2008-04-11 16:25:30 -05:00
Christian Chilan
d3e9a4cb40 [svn-r14828] Included files of the serial benchmarking tool. 2008-04-11 16:24:11 -05:00
Christian Chilan
ec1cd05cf6 [svn-r14827] Makefiles configured to build and test the serial benchmarking tool.
Tested on kagiso, smirom, and linew.
2008-04-10 17:36:51 -05:00
Christian Chilan
66bb19b12f [svn-r14826] Files for the serial benchmarking tool, h5perf_serial.
Tested on kagiso, smirom, and linew.
2008-04-10 17:32:53 -05:00
Christian Chilan
8c9c5356a3 [svn-r14825] Files for the serial benchmarking tool, h5perf_serial.
Tested on kagiso, smirom, and linew.
2008-04-10 17:31:27 -05:00
Vailin Choi
0f7c9bcd5e [svn-r14822] 1. src/H5private.h: fixed a bug in CHECK_ABSOLUTE() for windows.
2. test/links.c: fixed one external link test to be the same as in 1.8.
2008-04-09 08:56:52 -05:00
Pedro Vicente Nunes
ae63d4bf4f [svn-r14821] Having this signature
H5_DLL herr_t 	H5_build_extpath(const char *, char **/*out*/);

makes this stupid warning in windows that gets repeated in every source file

c:\_pvn\hdf5\src\h5private.h(958) : warning C4138: '*/' found outside of comment

changed signature to 

H5_DLL herr_t   H5_build_extpath(const char *, char ** /*out*/ );

compiler is happy now

tested: windows, linux
2008-04-08 15:32:38 -05:00
Scott Wegner
9e1746c22b [svn-r14819] Purpose: Update MANIFEST for previous checkin
Tested:
chkmanifest on smirom
2008-04-08 14:23:43 -05:00
Pedro Vicente Nunes
79eec9ff30 [svn-r14818] updated comments 2008-04-08 14:20:38 -05:00
Scott Wegner
17fd32c3c9 [svn-r14817] Purpose: Add new Windows project chunk_info[dll]
Description:
A new source file has been added, ./test/chunk_info.c.  As a result, we need to add new projects for Windows.  This includes projects for VS2005 on VNET.

Tested:
VS2005 on WinXP
VNET on WinXP
2008-04-08 14:17:52 -05:00
Pedro Vicente Nunes
3c998bb36b [svn-r14816] updated comments 2008-04-08 12:25:29 -05:00
Pedro Vicente Nunes
6a0750aba7 [svn-r14815] added comments 2008-04-08 11:52:45 -05:00