Commit Graph

8390 Commits

Author SHA1 Message Date
Fang Guo
be67f823c9 [svn-r12027] Purpose:
Maintenance on Windows
Description:
Add in hl examples
Solution:

Platforms tested:

Misc. update:
2006-03-07 14:15:53 -05:00
Fang Guo
781c97ebaf [svn-r12026] Purpose:
Maintenance on Windows
Description:
Move gifconv two project files
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-03-07 14:14:15 -05:00
Fang Guo
b490a1eaee [svn-r12025] Purpose:
Maintenance on Windows
Description:
Remove gifconv two project files
Solution:

Platforms tested:

Misc. update:
2006-03-07 14:11:54 -05:00
Fang Guo
c3bc0d362a [svn-r12024] Purpose:
Maintenance on Windows
Description:
Add H5dbg.c into project file
Solution:

Platforms tested:

Misc. update:
2006-03-07 14:10:32 -05:00
Fang Guo
e5c65dc7b4 [svn-r12023] Purpose:
Maintenance on Windows
Description:
Move gifconv from windows\tools\ to windows\hl\tools
Solution:

Platforms tested:

Misc. update:
2006-03-07 14:09:05 -05:00
Elena Pourmal
c7b701f657 [svn-r12022] Purpose: Small bug fix
Description: Return value from H5Pget_layout is 0 for the compact datasets;
             It was assumed in the code that it was always greater than 0; therefore
             assertion failed when h5stat walked a compact dataset.

Solution: Fixed assertion statement

Platforms tested: h5stat doesn't have testscript yet; tested manually
                  with tfilters.h5 file on heping.
                  Fix is too minor to test it on multiple platforms.

Misc. update:
2006-03-07 09:32:41 -05:00
Leon Arber
9fc71ccba4 [svn-r12021] Purpose:
Bug fix.

Description:
Fix typo.  srand/srandom don't return anything, so don't attempt to return
their value.

Solution:

Platforms tested:
heping

Misc. update:
2006-03-07 01:13:23 -05:00
Leon Arber
840bcbe9ef [svn-r12019] Purpose:
Bug fix/Feature

Description:
Modify the library to use rand_r, when available, instead of srand.  If
rand_r is not available, it will try to use srandom/random, and then finally
fall back to srand/rand.

Solution:
A couple places in the library use the srand() function to seed the random
number generator.  This can cause problems on certain platforms and could theoretically
cause problems for users who expect a certain sequence of random numbers following their
own call to srand().

Most platforms have an implementation of rand_r, which is identical to rand, except that
it allows for explicit storage of the seed value.  The configure script will now check
for the existence of rand_r to facilitate its use in the library.

Two new functions are added, to replace the macros HDsrand/HDrand.  These functions are HDrand and
HDsrand.  HDrand will call rand_r, if available, or random(), if available, and fall back to rand() if neither
of those is available.  HDsrand will store the seed value locally, if rand_r is available.  Otherwise, it will call
srandom if available, and fall back to srand otherwise.


Platforms tested:
heping, mir.  Really need to test on Red Storm, since that platform motivated this fix, but the machine
is currently not available.

Misc. update:
2006-03-06 23:23:24 -05:00
Quincey Koziol
4efe32d542 [svn-r12018] Purpose:
Bug fix

Description:
    Uncomment tests

Platforms tested:
    Linux 2.4 (mir) - 64-bit
2006-03-06 22:26:50 -05:00
Quincey Koziol
5f59c68e7f [svn-r12017] Purpose:
Bug fix

Description:
    Correct problem with new log2(n) routine on 64-bit machines.

Solution:
    Put some casts in to make certain that the values are computed as 32-bit
integers.

Platforms tested:
    Linux 2.4 (mir) - 64-bit
2006-03-06 22:26:31 -05:00
Pedro Vicente Nunes
9e8c16d83c [svn-r12011] Purpose:
update of makefiles for HL examples

Description:

Solution:

Platforms tested:
linux

Misc. update:
2006-03-06 12:05:31 -05:00
Pedro Vicente Nunes
a83d815631 [svn-r12009] Purpose:
add examples

Description:
add examples for HL (image, table and dimension scales)

Solution:

Platforms tested:
linux

Misc. update:
2006-03-06 11:11:11 -05:00
Quincey Koziol
0f8fa98da0 [svn-r12008] Purpose:
Bug fix (sorta)

Description:
    Disable the fractal heap tests until I can look into them more thoroughly.
(they are failing on 64-bit machines currently)

Platforms tested:
    None - trivial change.
2006-03-06 04:47:37 -05:00
Quincey Koziol
13705e7583 [svn-r12007] Purpose:
Bug fix

Description:
    Fix typo in H5HF_dblock_debug() prototype

Platforms tested:
    FreeBSD 4.11 (sleipnir)
2006-03-05 10:39:25 -05:00
Quincey Koziol
dfbf976509 [svn-r12004] Purpose:
New feature & code cleanup

Description:
    Update fractal heap to be able to insert objects into a direct block
hanging off the header.

    Extract "octal dump" code into separate routine so that both the local
heaps & fractal heaps can use it.

    Other code cleanups & support to get this far.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
2006-03-04 17:56:44 -05:00
Quincey Koziol
0e708b387c [svn-r12003] Purpose:
Code cleanup

Description:
    Fix some warnings & formatting issues

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
2006-03-04 17:38:37 -05:00
James Laird
e88e34e5d8 [svn-r12002] Purpose:
Moving gif2h5 from tools/ to hl/tools

Description:
Missed cvs adding hl/tools/Makefiles
2006-03-03 16:52:34 -05:00
James Laird
ea9f792cd7 [svn-r12001] Purpose:
Moved gif2h5 tool to hl directory

Description:
Added a tools directory under the hl directory and moved the gif2h5 tool
to that directory.

Solution:
The gif2h5 tool was originally built in the tools directory, but this
introduced dependency issues that required special checks in the
Makefiles.am and required the top-level build order to be changed
because it depended on the HL library.
For simplicity in the Makefiles now and in the future, the gif2h5 tool
was moved to be underneath the hl library.

Platforms tested:
mir, copper, modi4, shanti
2006-03-03 16:49:10 -05:00
Fang Guo
142705d983 [svn-r11999] Purpose:
Maintenance on Windows
Description:
Correct echo errors.
Echo Start building C++ libraries when start building both C/C++.
Solution:

Platforms tested:

Misc. update:
2006-03-02 10:18:23 -05:00
Pedro Vicente Nunes
2d175aeb4f [svn-r11995] Purpose:
code improvement

Description:
add explaining  comments to the functions

Solution:

Platforms tested:
none

Misc. update:
2006-03-01 11:26:28 -05:00
James Laird
b399040acb [svn-r11994] Purpose:
Adding HL examples

Description:
Forgot to 'cvs add' example files.
2006-03-01 10:05:37 -05:00
James Laird
3f2f490a0f [svn-r11993] Purpose:
Added HL examples

Description:
Examples existed for the HL lite, image, and table interfaces, but
were never included in the distro... until now!

Solution:
Added source files to CVS, updated Makefile and MANIFEST.

Platforms tested:
mir, heping, shanti
2006-03-01 10:04:59 -05:00
Albert Cheng
516c242b04 [svn-r11992] Purpose:
Improvement.

Description:
The t_cache takes a long long time to run and it tests HDF5 calls.
Move it to the back and let more basic tests to run first so that
basic features are tested first.

Platforms tested:
Tested in heping with pp.
2006-03-01 00:54:07 -05:00
Albert Cheng
0004361cc7 [svn-r11991] Purpose:
Porting.

Description:
Red Storm's lustre used srand and rand to initialize their user mode
of lustre.  HDF5 also uses srand and that messes up Lustre.

Solution:
Use -DRED_STORM to block out the HDF5 code that calls srand.
This is a temporary fix since Lustre has fixed its code from
calling srand and rand but the fix is not deployed at Red_storm
yet.

Platforms tested:
Tested at Red-Storm.
2006-02-28 19:27:20 -05:00
Fang Guo
30952f892c [svn-r11990] Purpose:
Add in more comments
Description:

Solution:

Platforms tested:

Misc. update:
2006-02-28 15:19:14 -05:00
Fang Guo
de1e6d4079 [svn-r11989] Purpose:
Fix a error
Description:

Solution:

Platforms tested:

Misc. update:
2006-02-28 15:03:42 -05:00
Fang Guo
00521058bb [svn-r11988] Purpose:
Maintenance on Windows
Description:
Fix typo
Solution:

Platforms tested:

Misc. update:
2006-02-28 14:17:10 -05:00
Fang Guo
779ffdb014 [svn-r11987] Purpose:
Modify documentation according the new improved batch files
Description:

Solution:

Platforms tested:

Misc. update:
2006-02-28 14:12:05 -05:00
Fang Guo
d03c3e9358 [svn-r11986] Purpose:
Batch file improvement
Description:

Solution:

Platforms tested:

Misc. update:
2006-02-28 13:51:39 -05:00
Fang Guo
f31875592a [svn-r11985] Purpose:
Batch file improvements
Description:

Solution:

Platforms tested:

Misc. update:
2006-02-28 13:50:17 -05:00
HDF Admin
9d7b7612c2 [svn-r11984] Purpose:
feature.

Description:
Turn on the release process to generate the doc tarball too.

Platforms tested:
No real test, just eyeballed.
2006-02-28 13:11:10 -05:00
Fang Guo
e49590a6d9 [svn-r11983] Purpose:
Maintenance on Windows
Description:
Update all.sln
Solution:

Platforms tested:

Misc. update:
2006-02-28 12:01:05 -05:00
Fang Guo
a773ba4521 [svn-r11982] Purpose:
Maintenance on Windows
Description:
Update hdf5 on windows accordint to Quincey's check in
Solution:

Platforms tested:

Misc. update:
2006-02-28 11:55:23 -05:00
Fang Guo
408970047b [svn-r11981] Purpose:
Maintenance on Windows
Description:
Update project files to be tested.
Solution:

Platforms tested:

Misc. update:
2006-02-28 11:52:39 -05:00
Fang Guo
435f11aec4 [svn-r11980] Purpose:
Maintenance on Windows
Description:
Remove sheapdll.dsp according to Quincey's check in
Solution:

Platforms tested:
Windows
Misc. update:
2006-02-28 11:51:14 -05:00
Fang Guo
cc841fcf65 [svn-r11979] Purpose:
Maintenance on Windows
Description:
Remove sheap.dsp according to Quincey's check in
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-02-28 11:50:07 -05:00
Fang Guo
3574c087e3 [svn-r11978] Purpose:
Maintenance on Windows
Description:
Remove blocktrackdll.dsp according to Quincey's check in
Solution:

Platforms tested:
Windows
Misc. update:
2006-02-28 11:49:02 -05:00
Fang Guo
a0d3474592 [svn-r11977] Purpose:
Maintenance on Windows
Description:
Remove project file blocktract.dsp according to Quincey's check in
Solution:

Platforms tested:
Windows
Misc. update:
2006-02-28 11:47:56 -05:00
Fang Guo
ba885f53da [svn-r11976] Purpose:
Maintenance on Windows
Description:
Remove b_plus_treedll.dsp according to Quincey's check in
Solution:

Platforms tested:
Windows
Misc. update:
2006-02-28 11:46:32 -05:00
Fang Guo
16378ff9a2 [svn-r11975] Purpose:
Maintenance on Windows
Description:
Remove b_plus_tree.dsp
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-02-28 11:44:02 -05:00
Fang Guo
78c0777b9e [svn-r11974] Purpose:
Maintenance on Windows
Description:
Add in new project file fheapdll.dsp according to Quincey's check in
Solution:

Platforms tested:
Windows
Misc. update:
2006-02-28 11:42:26 -05:00
Fang Guo
b122d0a140 [svn-r11973] Purpose:
Maintenance on Windows
Description:
Add in new project file fheap.dsp
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-02-28 11:41:06 -05:00
Fang Guo
6a259c7b2e [svn-r11972] Purpose:
Maintenance on Windows
Description:
Update workspace according to Quincey's check in.
Remove blocktrack(dll).dsp, b_plus+tree(dll).dsp and sheap(dll).dsp and add in fheap(dll).dsp
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-02-28 11:39:30 -05:00
Fang Guo
1a01fdd60b [svn-r11971] Purpose:
Maintenance on Windows
Description:
Update source files according to Quincey's check in
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-02-28 11:36:36 -05:00
Pedro Vicente Nunes
6c5ed9f8b8 [svn-r11970] Purpose:
new feature

Description
H5LTget_dataset_info did not allow for passing NULL in the arguments when that argument was not requested.:

Solution:
add conditions that allow to pass NULL in the return arguments, when one of them is not needed

Platforms tested:
linux

Misc. update:
2006-02-28 11:25:14 -05:00
Quincey Koziol
658bf4a8fb [svn-r11968] Purpose:
Incrementtal checkin

Description:
    Revise & update v2 B-tree code to separate the internal package-specific
routines from the library-callable "private" routines.

    Similar updates for the fractal heap code.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OSX (amazon)
2006-02-27 09:52:21 -05:00
Quincey Koziol
3713db1174 [svn-r11967] Purpose:
New feature

Description:
    Check in initial "fractal heap" code, for supporting the group redesign.

    Also, remove some remnants of the segmented heap/block tracker/B+tree code
which I didn't find during the last pass.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OSX (amazon)
    Linux 2.4
2006-02-26 22:46:46 -05:00
Quincey Koziol
3e8948df52 [svn-r11966] Purpose:
Code cleanup

Description:
    Style fixes for consistency & other minor cleanups

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OSX (amazon)
    Linux 2.4
2006-02-26 22:30:22 -05:00
Quincey Koziol
b2d288804d [svn-r11965] Purpose:
Maintenance

Description:
    Remove half-built (half-baked? :-) implementation of B+tree, block tracker
and segmented heaps.   (In preparation for starting the new heap coding)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (heping)
2006-02-24 08:45:02 -05:00
MuQun Yang
8962992298 [svn-r11964] Purpose:
bug fix

Description:



ret_value is not set to SUCCEED in H5D_mpio_select_write
That causes the 64-bit intel compiler unhappy.
It will give a non-zero number and cause the testing  fake failure.
Another one is picked up by cmpi again. For one optimization case,
another variable is not initialized properly and compiler set an unhappy number,
cause the test failed.
Solution:
Properly initialize those variables.

Platforms tested:
teragrid:parallel
mir:parallel
heping: parallel and sequential
tungsten:parallel

Misc. update:
h5committest doesn't finish due to no space left on device.
parallel tests still failed at tungsten with cmpi. It looks like it was a bug from cmpi.
2006-02-23 16:47:51 -05:00