Commit Graph

8507 Commits

Author SHA1 Message Date
Pedro Vicente Nunes
9f94edb329 [svn-r12150] Purpose:
new tests for h5diff

Description:
added new tests for the bat file on windows

Solution:

Platforms tested:
windows

Misc. update:
2006-03-24 09:31:25 -05:00
James Laird
93aa12407f [svn-r12149] Purpose:
Bug fix

Description:
Previous checkin did a bad thing; 'make clean' failed in example directories.

Solution:
Fixed commence.am so that examples no longer break, and fixed a mistake
in conclude.am.

Platforms tested:
heping (minor makefile change)

Misc. update:
2006-03-23 16:26:17 -05:00
MuQun Yang
b22b47ced5 [svn-r12148] Purpose:
Add tests for optional APIs to support collective chunk IO

Description:

In order to test whether library picks up the user's options,
The number of chunks need to be varied for different processes,
Selection of the number of processes selected in one chunk also
need to be varied.
Solution:
Create two cases,

1. Each chunk only selected by one unique process, this case
library should use independent for collective call.
2. One-third of the processes occupies the top half of the whole domain,
   The rest of the processes occupies the lower half of the domain.
   The total number of chunk is a fixed number 8.

Platforms tested:
Linux 2.4 with mpich 1.2.6(only)

Since I only checked in the code that handles the selection, haven't added any new tests yet. So it won't affect any platforms.


Misc. update:
2006-03-23 16:18:02 -05:00
Fang Guo
9e0d6a4add [svn-r12147] Purpose:
Maintenance on Windows
Description:
Add in more bookmarks for website use
Solution:

Platforms tested:

Misc. update:
2006-03-23 14:34:29 -05:00
Pedro Vicente Nunes
61b46d4b54 [svn-r12146] Purpose:
bug fix

Description:
percent relative error was done using integer arythmetic; use floating point instead
added the case for unsigned long long integer to float conversion

Solution:

Platforms tested:
linux (32,64)
AIX
solaris

Misc. update:
2006-03-23 14:27:17 -05:00
James Laird
76a70bc111 [svn-r12145] Purpose:
doc update

Description:
Mentioned bin/deploy tool in INSTALL docs.  Also cleaned up some
inconsistent tabs.


Platforms tested:
doc change only
2006-03-23 13:54:19 -05:00
Elena Pourmal
b20cc15097 [svn-r12144] Purpose: Maintenance
Description: Brought up VMS make file up-to-date

Solution:

Platforms tested: VMS server (this change doesn't affect any other platforms)

Misc. update:
2006-03-23 11:32:18 -05:00
James Laird
524d25498f [svn-r12143] Purpose:
Bug fix

Description:
make check-clean didn't clean results of example tests

Solution:
Fixed Makefiles so that check-clean recurses into example directories.
Also a little Makefile cleanup.

Platforms tested:
mir, modi4, heping, copper
2006-03-23 09:22:34 -05:00
MuQun Yang
15f0a2e95c [svn-r12142] Purpose:
change the array size of collective chunking features of parallel tests.

Description:
Previously array size for collective optimization tests
including
cchunk1,
cchunk2,
cchunk3,
cchunk4,
ccontw,
ccontr,
cschunkw,
cschunkr,
ccchunkw,
ccchunkr

are fixed,
They are only valid for some good number of processors(1,2,3,4,6,8,12,16,24,32,48 etc).
Recently there are more requests for parallel tests to be valid on some odd number of processes such as 5,7,11,13 etc.


Solution:
I change the array size to be dynamic rather than static. Now the fastest change array size is a function of mpi_size. dim2 = constant *mpi_size. After some tunings, theoretically the above tests should be valid for any number of processors. However, other parallel tests still need to be tuned.

To verify the correctness of these tests, using mpirun -np 5 ./testphdf5 -b cchunk1 at heping.
Platforms tested:
h5committest(shanti is refused to be connected)
at heping, 5 and 7 processes are used to verify the correctness.

Misc. update:
2006-03-22 21:50:09 -05:00
MuQun Yang
36dda5514c [svn-r12141] Purpose:
portable issue on windows

Description:
setvbuf on visual studio 2005 needs the size to be greater or equal to 2.
<description of setvbuf from msdn library>
Buffer size in bytes. Allowable range: 2 <= size <=
INT_MAX (2147483647). Internally, the value supplied
for size is rounded down to the nearest multiple of 2.

h5import used linebuffer option of setvbuf for stderr and stdout and the size is
0 by default. This causes core dump with visual 2005 on windows 64-bit.

Solution:
1. Use HDsetvbuf inside h5import.c,
2. Define HDsetvbuf inside windows H5pubconf.h for windows to work around
   the core dump of h5import test. This is probably a bug inside visual studio 2005.


Platforms tested:
h5commit(shanti is down)
VS 6.0 on windows XP
VS 8.0 on windows XP-64bit
Misc. update:
2006-03-22 21:32:21 -05:00
MuQun Yang
d80639dda8 [svn-r12140] Purpose:
portable issue on windows

Description:
setvbuf on visual studio 2005 needs the size to be greater or equal to 2.
<description of setvbuf from msdn library>
Buffer size in bytes. Allowable range: 2 <= size <=
INT_MAX (2147483647). Internally, the value supplied
for size is rounded down to the nearest multiple of 2.

h5import used linebuffer option of setvbuf for stderr and stdout and the size is
0 by default. This causes core dump with visual 2005 on windows 64-bit.



Solution:

1. Use HDsetvbuf inside h5import.c,
2. Define HDsetvbuf inside windows H5pubconf.h for windows to work around
   the core dump of h5import test. This is probably a bug inside visual studio 2005.

Platforms tested:
h5committest( shanti refuses to be connected)
windows 6.0 at XP
visual 2005 at XP-64bit
Misc. update:
2006-03-22 21:25:10 -05:00
MuQun Yang
54f02fdaf2 [svn-r12139] Purpose:
portibility issue to windows
Description:
setvbuf on visual studio 2005 needs the size to be greater or equal to 2.
<description of setvbuf from msdn library>
Buffer size in bytes. Allowable range: 2 <= size <=
INT_MAX (2147483647). Internally, the value supplied
for size is rounded down to the nearest multiple of 2.

h5import used linebuffer option of setvbuf for stderr and stdout and the size is
0 by default. This causes core dump with visual 2005 on windows 64-bit.

Solution:
1. Use HDsetvbuf inside h5import.c,
2. Define HDsetvbuf inside windows H5pubconf.h for windows to work around
   the core dump of h5import test. This is probably a bug inside visual studio 2005.

Platforms tested:
h5committest
windows 6.0 at XP
visual 2005 at XP-64bit

Misc. update:
2006-03-22 21:20:12 -05:00
Elena Pourmal
391e474379 [svn-r12138] Purpose: VMS port
Description: Unix remove function removes only the latest version of a file
             on VMS. Some of our tests create multiple versions of the testfiles
             and as a result, test programs may be confused, give false negative result,
             etc.

Solution: Created HDremove_all function for VMS that removes all versions of the files.
          HDremove on VMS is an alias to HDremove_all.

Platforms tested: VMS server and heping (to check that nothing is borken on UNIX side)

Misc. update:
2006-03-22 17:52:07 -05:00
Raymond Lu
9a560ba31a [svn-r12137] Purpose: Update
Description: OpenVMS doesn't support denormalized floating-point values.
Disable the denormalized and special values for floating to floating-point
tests.


Platforms tested: OpenVMS - the only concerned machine.

Misc. update:
2006-03-22 16:43:24 -05:00
Raymond Lu
cbfc669139 [svn-r12136] Purpose: Update
Description: A few macro names have been changed.  Enabled a few for test.


Platforms tested: OpenVMS - the only concerned machine.

Misc. update:
2006-03-22 16:41:28 -05:00
Fang Guo
1b60c48c1d [svn-r12135] Purpose:
Maintenance on Windows
Description:
Add in more comments
Solution:

Platforms tested:

Misc. update:
2006-03-22 16:02:56 -05:00
Pedro Vicente Nunes
b269dbf0ae [svn-r12134] Purpose:
bug fix

Description:
1) added a more explainative usage message
2) the percent relative error for the integer type (division) was being done using integer arythmetic; use floating point arythmetic instead
3) added a new test for integer percent

Solution:

Platforms tested:
linux (32,64)
AIX
solaris

Misc. update:
2006-03-22 15:53:05 -05:00
Quincey Koziol
433fdf2bf8 [svn-r12133] Purpose:
Code cleanup

Description:
    Update a couple of files that bin/reconfigure rearranged for me... :-)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-22 14:15:53 -05:00
Quincey Koziol
5135181d31 [svn-r12132] Purpose:
Code cleanup

Description:
    Add H5E header to this header, to make certain that the errors in the
"inline" routines are handled correctly.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Mac OSX (amazon)
2006-03-22 13:50:19 -05:00
Quincey Koziol
6c8a082596 [svn-r12131] Purpose:
Code update

Description:
    Add new minor error, for heap metadata operations.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Mac OSX (amazon)
2006-03-22 13:46:08 -05:00
Quincey Koziol
4b703ef698 [svn-r12130] Purpose:
Disable debugging feature

Description:
    Disable the "function stack" by default & take out it's dependency on
the "enable-debug" configure flag.  The function stack code can slow things
down quite a bit and shouldn't be enabled for the upcoming alpha testing.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Mac OSX (amazon)
2006-03-22 13:44:55 -05:00
James Laird
ff67dcf8ba [svn-r12129] Purpose:
Bug fix

Description:
The snapshot script was trying to install-doc, even though the docs are
no longer included in the cvs repo.

Solution:
Replaced 'make install install-doc' with 'make install-all', which should
have the same effect (installing the library and examples).

Platforms tested:
very minor change
2006-03-22 13:35:23 -05:00
Quincey Koziol
3424f9f5d1 [svn-r12128] Purpose:
Code cleanup

Description:
    Clean up some compiler warnings (esp. those flagged on Windows builds)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-22 13:11:24 -05:00
Pedro Vicente Nunes
bd73819e26 [svn-r12126] Purpose:
bug fix

Description:
the compare check for the datatype sign was not done in the correct place, causing invalid
comparisons to be made

Solution:
put it on the correct place

Platforms tested:
linux 32, 64
AIX

Misc. update:
2006-03-21 11:01:42 -05:00
Quincey Koziol
2db47ff504 [svn-r12125] Purpose:
Code checkpoint

Description:
    Update fractal heap code to insert & read heaps up to 64MB in size
(with my current configuration paramaters) and add initial support for
iteratively walking down nested indirect blocks.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Solaris 9 (shanti)
    Linux 2.4 (mir) w/64-bit
2006-03-20 21:59:06 -05:00
Pedro Vicente Nunes
a2f9ebb3ab [svn-r12124] Purpose:
bug fix

Description:
1) the compare flag test was not being put in a correct place, making comparisons attempts that were not supposed to be done
2) some duplicate warnings were being made

Solution:
eliminate the duplicate warnings, put the if compare flag on the correct place

Platforms tested:
linux 32, 64
solaris

Misc. update:
2006-03-20 14:39:46 -05:00
MuQun Yang
ebc9e3981b [svn-r12123] Purpose:
Add more comments

Description:
Add more comments to H5Dmpio.c, which describes a little bit more about collective IO management.

Solution:

Platforms tested:
Only test at heping since only comments were added.

Misc. update:
2006-03-20 12:13:36 -05:00
Quincey Koziol
a53790e16a [svn-r12122] Purpose:
Code update

Description:
    Add basics of routine for reading information back out of a fractal heap.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-18 16:33:48 -05:00
Elena Pourmal
cac506d3fb [svn-r12121] Purpose: Maintenance
Description: cache_api test was missing in the make.com file

Solution: Added the missing file


Platforms tested: VMS

Misc. update:
2006-03-18 12:18:43 -05:00
Elena Pourmal
90a10efb5c [svn-r12120] Purpose: Maintenance
Description: VMS stat structure doesn't have st_blocks filed. H5_HAVE_STAT_ST_BLOCKS
             was defined in h5pubconf.h and therefore compilation of big.c
             failed on VMS.

Solution: Undefined H5_HAVE_STAT_ST_BLOCKS in h5pubconf.h

Platforms tested: VMS server (change is local to VMS only)

Misc. update:
2006-03-18 11:48:41 -05:00
Elena Pourmal
438b30798c [svn-r12119] Purpose: Maintenance
Description: Linking of cache test failed on VMS  due to the missing
             cache_common.* files

Solution: Added cache_common.* files to the approriate places in the make.com file.


Platforms tested: VMS server (this change is for VMS only)

Misc. update:
2006-03-18 10:39:13 -05:00
Quincey Koziol
2315bc4dda [svn-r12118] Purpose:
Checkpoint code

Description:
    Rework code to support increasing size of root indirect block, in order
to add [at least] a second row of direct blocks.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Solaris 9 (shanti) w/64-bit
    Linux 2.4 (mir)
2006-03-17 22:16:40 -05:00
MuQun Yang
68385c1746 [svn-r12117] Purpose:
Enhancing the optimiziation of collective IO per chunk

Description:
When the user does one of the following two things:
1. to do collective IO per chunk without using our optimization code
2. or the user passes the percent of number of process per chunk to be 0 when choosing
   to do collective IO per chunk

It is not necessary that the library uses MPI-IO collective calls to do any optimization.
Solution:
Modify the code so that no MPI communication-involved analyses will be done for the above cases. Chunk addresses are obtained globally  and IO modes are assigned to collective always.



Platforms tested:
h5committest

Misc. update:
2006-03-17 21:59:32 -05:00
Raymond Lu
e2a8d4e044 [svn-r12116] Purpose: Bug fix.
Description: Two semicolons were missing in the code change for VAX support.

Solution: Fixed.

Platforms tested: fuss - too simple.

Misc. update:
2006-03-17 15:47:21 -05:00
Raymond Lu
b6e8651a3a [svn-r12115] Purpose: Change codes in a more appropriate way.
Description:  Yesterday, H5E_NONE_MAJOR and H5E_NONE_MINOR were added to error
API by hand.

Solution: Today, correct the change by hand with the tool hdf5/bin/make_err.
The change by hand is only in src/H5err.txt.

Platforms tested: fuss - simple change.

Misc. update:
2006-03-17 15:14:14 -05:00
Quincey Koziol
3597bbd700 [svn-r12114] Purpose:
Code cleanup

Description:
    Re-alphabetize the POSIX routines (again).  Also, add proper prototype
to HDrand() definition.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-17 14:54:40 -05:00
Leon Arber
11a590c02b [svn-r12113] Purpose:
Bug fix

Description:
There was a duplicate definition for HDsrandom and HDsrand left over in H5private.h

Solution:
Removed the two duplicate definitions.

Platforms tested:
heping (minor change)

Misc. update:
2006-03-17 12:24:35 -05:00
Pedro Vicente Nunes
ddf2b95cbd [svn-r12112] Purpose:
bug fixes

Description:
1) the option logic for the print of long types was done incorrectly (extra lines of code that were not supposed to be there)
2) the print of loong long types was incorrect

Solution:
1) removed the incorrect code
2) made a long long cast on the printf call

Platforms tested:
linux (32 and 64)
solaris

Misc. update:
2006-03-17 09:43:28 -05:00
MuQun Yang
a0653c727f [svn-r12111] Purpose:
minor change for collective code

Description:

Solution:

Platforms tested:
mir

Misc. update:
2006-03-17 09:12:17 -05:00
Leon Arber
bac394c495 [svn-r12110] Purpose:
Optimization

Description:
Get rid of unnecessary function call for systems that don't have rand_r.

Solution:
If rand_r isn't present on a system, then macros can be used to simply call
the underlying random function instead of calling the HDrand/HDsrand functions
that keep track of the random seed within the library.


Platforms tested:
heping (minor change)

Misc. update:
2006-03-16 16:35:32 -05:00
Raymond Lu
6e8ba9561d [svn-r12109] Purpose: Backward compatibility support
Description: Added H5E_NONE_MAJOR and H5E_NONE_MINOR as a major and minor
error message.  Their messages are "no error", but because the old library
had them, they're added in for backward compatibility.


Platforms tested: fuss - simple change.
2006-03-16 16:29:23 -05:00
Quincey Koziol
2d6bcc3212 [svn-r12108] Purpose:
Code cleanup

Description:
    Move VAX floating-point definitions down by the other machine specific ones.

    Re-work the version handling for VAX byte ordered floating-point numbers.
Version numbers ought to be strictly increasing, not a bit-field.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
2006-03-16 16:14:14 -05:00
Raymond Lu
4e6b22e04d [svn-r12107] Purpose: Minor change
Description: Changed macro from VMS to H5_VMS.


Platforms tested: no test needed.
2006-03-16 15:27:27 -05:00
Raymond Lu
f533416713 [svn-r12106] Purpose: Minor change
Description: changed macro VMS to H5_VMS


Platforms tested: no test needed
2006-03-16 15:26:36 -05:00
Elena Pourmal
42d61839d1 [svn-r12105] Purpose: Fix a typo
Description: Raymond discovered a typo in the file while testing
             on the VMS server.

Solution: Fixed

Platforms tested: VMS

Misc. update:
2006-03-16 15:17:30 -05:00
Quincey Koziol
58db790d25 [svn-r12104] Purpose:
Code cleanup

Description:
    Re-alphabetize POSIX macros.

Platforms tested:
    None, just eyeballed, too minor.
2006-03-16 13:49:29 -05:00
Fang Guo
92e8a4d365 [svn-r12103] Purpose:
Maintenance on Windows
Description:
Update contents on HL C Examples
Solution:

Platforms tested:

Misc. update:
2006-03-16 13:45:01 -05:00
Quincey Koziol
357dc7ee99 [svn-r12102] Purpose:
Code cleanup

Description:
    Clean up formatting & comments, etc.

Platforms tested:
    None, very minor
2006-03-16 13:43:26 -05:00
Fang Guo
b0bf1e8c52 [svn-r12101] Purpose:
Maintenance on Windows
Description:
Changes on  project settings
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-03-16 12:51:01 -05:00
Fang Guo
d596ce8b81 [svn-r12100] Purpose:
Maintenance on Windows
Description:
Replace the old source code with the new check in

Solution:

Platforms tested:
Windows XP
Misc. update:
2006-03-16 12:49:43 -05:00