Commit Graph

11021 Commits

Author SHA1 Message Date
Quincey Koziol
8c1762f8a6 [svn-r17231] Description:
Bring r17230 back from trunk to 1.8 branch:
       Various minor tuneups noticed in working on the revise_chunks branch.

Tested on:
    Mac OS X/32 10.5.7 (amazon) debug & production
    full testing done on trunk before bringing change back.
2009-07-23 16:57:52 -05:00
Raymond Lu
434a6d2f8b [svn-r17229] Disable a test as C script does. 2009-07-23 16:08:17 -05:00
Scot Breitenfeld
254eb548cc [svn-r17223] Merged the fortran trunk into the branch:
svn merge -r 17164:17222 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran

tested: smirom (ifort, pgf90, gfortran, g95), linew
2009-07-22 10:28:49 -05:00
Binh-Minh Ribler
b88498636f [svn-r17219] Purpose: Improve readability
Description:
    Divided Attribute::read into specific private functions for fixed-
    and variable-len string data: p_read_fixed_len and p_read_variable_len.

    Added test to write/read array of strings to attributes.

Platforms tested:
    Linux/32 2.6 (jam)
    FreeBSD/64 6.3 (liberty)
    SunOS 5.10 (linew)
2009-07-21 23:12:48 -05:00
Binh-Minh Ribler
3cbb84471a [svn-r17218] Purpose: Improve readability
Description:
    Divided Attribute::read into specific private functions for fixed-
    and variable-len string data: p_read_fixed_len and p_read_variable_len.

    Added test to write/read array of strings to attributes.

Platforms tested:
    Linux/32 2.6 (jam)
    FreeBSD/64 6.3 (liberty)
    SunOS 5.10 (linew)
2009-07-21 23:12:31 -05:00
Albert Cheng
eea0105a54 [svn-r17217] Bug fix (1468)
PathScale was mistaken as the Gcc compiler such that gcc flags were added
to it but PathScale did not honor many of them. (e.g. -Wvariadic-macros,
-Wold-style-definition, -Winit-self, -Wvariadic-macros, -Wmissing-include-dirs,
-Winit-self, -Wc++-compat)

Solution:
Added a pre-condition to detect pathScale compiler before Gcc is
accepted.

Tested:
Sandia Glory where PathScale compiler is available.
2009-07-21 19:06:47 -05:00
Allen Byrne
1bde0ccb95 [svn-r17212] The function h5tools_str_append() incorrectly used the trio of functions: va_start(), HDvsnprintf(), and va_end(). When the boundary of the string buffer was reached and resized, the HDvsnprintf() function recalled without the other two functions in the code loop. This usage exposed bug 1520 by a user.
Tested: linux
2009-07-21 14:45:34 -05:00
Neil Fortner
01c179093f [svn-r17208] Fixed a small bug in the fractal heap code involving filtered fractal heaps.
Tested: jam, linew, smirom (h5committest)
2009-07-21 14:22:17 -05:00
Albert Cheng
cf53b01cb9 [svn-r17200] Changed default Gnu fortran compiler from g95 to gfortran since
gfortran is more likely installed with gcc now.
2009-07-19 18:47:25 -05:00
Albert Cheng
a1b9964716 [svn-r17197] Changed default Gnu fortran compiler from g95 to gfortran since
gfortran is more likely installed with gcc now.

Tested:
jam and amani which covers both linux and linux64.
No h5committest because this is gnu compiler specific, usually
applicable to Linux.
2009-07-19 18:30:33 -05:00
Raymond Lu
5800d12b4e [svn-r17194] Enable h5copy test.
Not tested yet.
2009-07-16 11:14:22 -05:00
Albert Cheng
14adeb6772 [svn-r17186] The ret_value is a (H5A_t *) but FAIL was used. This typo caused a warning
from Linux gcc but resulted in error by AIX xlc compiler.

Solution:
Changed FAIL to NULL.

Tested:
Just compiling in the AIX system.
2009-07-14 19:22:06 -05:00
Raymond Lu
d678c5b596 [svn-r17185] Fixed a typo.
Not tested yet.
2009-07-14 16:39:45 -05:00
Raymond Lu
b9b20ad8f4 [svn-r17183] Fixed and updated the script files.
Not test yet.
2009-07-14 15:46:50 -05:00
Raymond Lu
20fa663053 [svn-r17181] Minor fix - The way that H5Tset_size checks whether the datatype is a string wasn't
correct.  I changed it to use the macro H5T_IS_STRING.

Tested on jam - simple change.
2009-07-14 11:32:20 -05:00
Raymond Lu
8f25819df5 [svn-r17180] In my last round of checkin (r17176), I forgot to clean up some code. I'm checking in
the fix now.

Tested on jam - simple change.
2009-07-14 10:54:25 -05:00
Raymond Lu
71d75b40ee [svn-r17179] I added a test of H5Tencode/decode for variable-length string type. This test is for
the bug fix of #1585 in last round of checkin.

Tested on jam.  I used h5committest for the same change in the trunk.
2009-07-13 14:08:00 -05:00
Raymond Lu
75800cf6b5 [svn-r17176] In H5Odtype.c, the decoding function used to mark the datatype as on disk. I changed it
to undefined and let the caller functions decide the location of the datatype.  For
H5Tdecode, it should mark the datatype as in memory.  For other callers like H5Dopen or
H5Aopen, they should makr it as on disk.

Tested it on jam, smirom, linew.
2009-07-13 10:39:05 -05:00
Larry Knox
b50178ea1a [svn-r17172] Add simple perl script supplied by user to check for duplicate entries in MANIFEST. Duplicate entries will be reported along with any other MANIFEST errors and cause exit value to be 1.
Tested on jam, linew, smirom, and tg-login2.
2009-07-09 11:44:47 -05:00
Scot Breitenfeld
0b861519c5 [svn-r17165] Description:
Removed extra space after !DEC$ to satisfy absoft compiler.

tested: smirom
2009-07-08 09:53:01 -05:00
Larry Knox
259a4bc92a [svn-r17158] Snapshot version 1.8 release 3 (snap4) 2009-07-05 23:30:23 -05:00
Quincey Koziol
27c6981c41 [svn-r17153] Description:
Bring r17152 from trunk to 1.8 branch:

    Clean up some minor formatting and misc. errors noticed while working on
fixed array code merge.

Tested on:
    Mac OS X/32 10.5.7 (amazon)
    Too minor to require h5committest
2009-07-02 19:33:15 -05:00
Quincey Koziol
856a80b949 [svn-r17150] Description:
Bring r17148:17149 from trunk into 1.8 branch:

   Refactor how chunked dataset information is computed, moving it earlier and
avoiding more recomputation.

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.7 (amazon) in debug mode
   Mac OS X/32 10.5.7 (amazon) w/C++ & FORTRAN, w/threadsafe,
       in production mode
2009-07-02 18:38:38 -05:00
Quincey Koziol
b0df711c3c [svn-r17147] Description:
Bring r17146 from trunk to 1.8 branch:

        Bring a bunch of misc. improvements & tweaks from the revise_chunks
branch back to the trunk, so that future merges won't be so painful.

Tested on:
	FreeBSd/32 6.3 (duty)
	(h5committested on trunk)
2009-07-02 16:17:02 -05:00
Quincey Koziol
55a945c985 [svn-r17139] Description:
Bring r17138 from trunk into 1.8 branch:

    Disable use of temporary file space allocation when using a parallel VFD,
until we've made changes to broadcast the new address of the metadata when it
is relocated down into 'normal' file space.

Tested on:
    Mac OS X/32 10.5.8 (amazon)
    (h5committested on trunk)
2009-07-01 16:26:27 -05:00
Larry Knox
732e64b335 [svn-r17134] Snapshot version 1.8 release 3 (snap3) 2009-07-01 12:13:58 -05:00
Raymond Lu
2d0b2588f6 [svn-r17131] Corrected some typos. No test is needed. 2009-06-30 11:10:00 -05:00
Raymond Lu
2a6efe9e10 [svn-r17127] A revision from last round of checkin (r17124). H5Aopen_name has been deprecated. I
replaced it with H5Aopen in this round.  I also updated some hard-coded numbers with some
macros.

Tested on jam only.  I have tested the same change for the trunk.
2009-06-29 13:24:00 -05:00
Raymond Lu
c0f0e7c419 [svn-r17124] Bug fix #1513. Reading an empty attribute caused seg fault. The flag "initialized" in
the attribute structure wan't set correctly.  It caused some confusion in H5A_read.  This
flag was actually redundant because the library can alwasy check if the data buffer is
present.  To fix it, I removed the "initialized" flag in the attribute structure and let
H5A_read check the data buffer.

I tested it on jam only but have tested the same change for the trunk on jam, smirom, 
and linew.
2009-06-26 15:24:42 -05:00
Neil Fortner
4af1a11dcf [svn-r17121] Add bug number for yesterday's fix. 2009-06-26 14:53:55 -05:00
Albert Cheng
b10f530bdf [svn-r17114] Newer Solaris compiler uses -m64 inplace of -xarch=v9 which is deprecated.
Update the install instruction.

No test needed.
2009-06-26 07:52:13 -05:00
Elena Pourmal
a9733bd0e9 [svn-r17113] Maintenance: Removed duplicated entry from the MANIFEST file. 2009-06-25 16:21:27 -05:00
Neil Fortner
f5fddfb7c1 [svn-r17109] Purpose: Fix bug in H5Z_filter_info
Description:
Previously, when H5Z_filter_info was called for a filter that was not present,
it would succeed and return the information from one position past the end of
the pipeline, possibly causing a segfault.  This affected at least
H5Pget_fitler_by_id1/2, and possibly other API functions.  Fixed to properly
return failure.

Tested: jam, linew, smirom (h5committest)
2009-06-25 13:58:51 -05:00
Allen Byrne
c76a57f557 [svn-r17107] Added new windows build examples batch file 2009-06-25 07:37:09 -05:00
Allen Byrne
1da12c1410 [svn-r17102] Added missing Windows batch file. 2009-06-24 14:36:16 -05:00
Allen Byrne
96e548223d [svn-r17100] Corrected batch file to test C++ examples 2009-06-24 14:00:59 -05:00
Scot Breitenfeld
e9e393a494 [svn-r17086] Description:
Removed debugging print statements.
2009-06-18 14:55:13 -05:00
Quincey Koziol
b1b2c88b2c [svn-r17084] Description:
Bring r17038-17039,17045,17062 from trunk to 1.8 branch:

	Switch fractal heap direct & indirect blocks to use temp. space alloc.

	Improvements to metadata accumulator

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.7 (amazon) in debug mode
        Mac OS X/32 10.5.7 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
2009-06-18 12:49:17 -05:00
Quincey Koziol
b6cfe32b73 [svn-r17083] Description:
Bring r17010,17017,17021-17022,17029-17031,17035 back from trunk:

	"temporary" file allocation space changes.

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.7 (amazon) in debug mode
        Mac OS X/32 10.5.7 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
2009-06-18 12:20:50 -05:00
Larry Knox
79a41596f5 [svn-r17082] Disable hanging invalid files test. 2009-06-18 10:33:51 -05:00
Allen Byrne
c75dd8fadc [svn-r17078] Implemented nowrap option (Bug 811) equivalent to h5ls tool. Also updated usage output.
Tested: linux
2009-06-17 13:49:51 -05:00
Pedro Vicente Nunes
86fa22c385 [svn-r17077] merge 17076 from trunk
bug fix: h5repack was not applying a requested contiguous layout for a dataset with filters
added a test to the C program test (not to the script), that verifies the layout and filters

tested: linux
2009-06-17 13:42:23 -05:00
Pedro Vicente Nunes
93a6cd92d7 [svn-r17060] merge 17058 from trunk
added some "dummy" declarations for d_status
tested: linux
2009-06-16 15:44:14 -05:00
Allen Byrne
8be813993f [svn-r17057] Rev 17053 added new test to h5repack test script, which requires that the windows batch file be updated.
Tested: Windows XP32
2009-06-16 13:06:14 -05:00
Allen Byrne
eb668be994 [svn-r17055] Added missing windows vnet project files. 2009-06-16 07:51:43 -05:00
Pedro Vicente Nunes
a44e5df96e [svn-r17053] merge 17052 from trunk
Add a run to the h5repack shell script to read a family file
The file used for input is located in the common source tools for testfiles, in tools/testfiles
Modified the h5repack shell script to read files from this location (h5repack reads its input files from a dedicated testfiles location in h5repack/testfiles)
Changed the h5diff open file call to use h5tools_fopen, so that it can open all file drivers


Tested: linux
2009-06-15 14:25:04 -05:00
Scot Breitenfeld
6ce6f90de8 [svn-r17051] merge changes from the trunk into the branch
svn merge -r 16797:17050 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran


platforms tested: smirom: ifort, icc
2009-06-15 11:56:13 -05:00
Allen Byrne
2c6356db6e [svn-r17050] Added perf_serial project files to Windows vnet folder.
Tested: Windows XP32
2009-06-15 10:22:15 -05:00
Larry Knox
93e72bbde4 [svn-r17048] Snapshot version 1.8 release 3 (snap2) 2009-06-14 16:06:17 -05:00
Allen Byrne
214fce63a9 [svn-r17044] Corrected Windows solution files for branch
Tested: windows
2009-06-12 09:27:05 -05:00