Commit Graph

8579 Commits

Author SHA1 Message Date
Raymond Lu
dce0df4607 [svn-r12175] Purpose: Changed Dataset Name
Description: As requested by Pedro, changed the data set name from "IntArray" to
"Array".


Platforms tested: fuss and shanti - simple change.
2006-03-30 08:31:29 -05:00
MuQun Yang
117dbae7f8 [svn-r12174] Purpose:
Adding parallel tests for optional collective chunk APIs

Description:
Three new APIs
"H5Pset_dxpl_mpio_chunk_opt_ratio
H5Pset_dxpl_mpio_chunk_opt_num
H5Pset_dxpl_mpio_chunk_opt"
for optional optimization choices from users
have been added to the libraries.

This check-in adds six tests to verify the funcationality and correctedness
of these APIs.
These tests need to be verified with 3 or more processors and with MPI-IO driver only.


Solution:
Using H5Pinsert, H5Pget, H5Pset to verify that the library indeed goes into the branch we hope for.
Using H5_HAVE_INSTRUMENT macro to isolate these changes so that it won't affect or be misused by the application.

Platforms tested:
h5committest(shanti still refused to be connected)
Parallel tests on heping somehow are skipped. Manually testing at heping. Have checked
1,2,3,4,5 processes.

Misc. update:
2006-03-29 09:35:26 -05:00
MuQun Yang
cf67d9ff84 [svn-r12173] Purpose:
Adding parallel tests for optional collective chunk APIs

Description:
Three new APIs
"H5Pset_dxpl_mpio_chunk_opt_ratio
H5Pset_dxpl_mpio_chunk_opt_num
H5Pset_dxpl_mpio_chunk_opt"
for optional optimization choices from users
have been added to the libraries.

This check-in adds six tests to verify the funcationality and correctedness
of these APIs.
These tests need to be verified with 3 or more processors and with MPI-IO driver only.
Solution:
Using H5Pinsert, H5Pget, H5Pset to verify that the library indeed goes into the branch we hope for.
Using H5_HAVE_INSTRUMENT macro to isolate these changes so that it won't affect or be misused by the application.


Platforms tested:
h5committest(shanti still refused to be connected)
Parallel tests on heping somehow are skipped. Manually testing at heping. Have checked
1,2,3,4,5 processes.

Misc. update:
2006-03-29 09:33:39 -05:00
James Laird
40c79d0602 [svn-r12172] Purpose:
configure refactoring

Description:
Migrated a couple of Fortran macros to standard autoconf macros

Solution:
HDF5 had a couple of macros, AC_TRY_FLINK and AC_CHECK_FLIB, which were
adaptions of standard autoconf macros before those macros supported
F90.
Now Autoconf seems to have better support for f90, so its standard macros
AC_TRY_LINK and AC_CHECK_LIB can do this job (and move the burden of
supporting those macros to autoconf).

Platforms tested:
heping, modi4, copper
2006-03-28 17:13:46 -05:00
Pedro Vicente Nunes
cd25a7690a [svn-r12171] Purpose:
bug fixes

Description:
h5dump/h5ls were not displaying long doubles correctly

Solution:
1) the print datatype functions were incorrectly testing for the valid return value from H5Tequal,
   (TRUE), causing the display of an incorrect name of a dataype in error cases from H5Tequal
2) h5tools_print_str did not have a case for native long double
3) added a file generator for a long double dataset
4) added one script test for the long double data (commented , some sytems don't have a native long double match, and the output differs)
5) added a vms file and h5dump script test


Platforms tested:
linux 32, 64
solaris
AIX

Misc. update:
2006-03-28 16:25:10 -05:00
Fang Guo
194d3dfe52 [svn-r12170] Purpose:
Maintenance on Windows
Description:
update batch file according to Pedro's bug fix (h5dump was not printing attributes for the named datatype cases)
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-03-28 15:09:56 -05:00
Fang Guo
54014d2417 [svn-r12169] Purpose:
Maintenance on Windows
Description:
Del duplicated comments
Solution:

Platforms tested:

Misc. update:
2006-03-28 11:20:17 -05:00
Fang Guo
adce7fe2df [svn-r12168] Purpose:
Maintenance on Windows
Description:
Add in cross_read(dll) tests on Windows
Solution:

Platforms tested:

Misc. update:
2006-03-28 11:08:02 -05:00
Fang Guo
19cd13e951 [svn-r12167] Purpose:
Maintenance on Windows
Description:
Update solution file
Solution:

Platforms tested:

Misc. update:
2006-03-28 11:05:43 -05:00
Fang Guo
0c213d08ef [svn-r12166] Purpose:
Maintenance on Windows
Description:
Add in new test cross_read(dll) on Windows
Solution:

Platforms tested:
Windows
Misc. update:
2006-03-28 11:05:11 -05:00
Fang Guo
31d673330c [svn-r12165] Purpose:
Maintenance on windows
Description:
Add in new test cross_read on Windows
Solution:

Platforms tested:
Windows
Misc. update:
2006-03-28 11:04:03 -05:00
Fang Guo
7a8ff24ec1 [svn-r12164] Purpose:
Maintenance on Windows
Description:
Add in new test cross_read on Windows
Solution:

Platforms tested:
Windows
Misc. update:
2006-03-28 11:00:56 -05:00
Fang Guo
120f0bf2ec [svn-r12163] Purpose:
Maintenance on Windows
Description:
Add in new tests cross_read on Windows
Solution:

Platforms tested:
Windows
Misc. update:
2006-03-28 10:59:50 -05:00
Quincey Koziol
935d75c50d [svn-r12162] Purpose:
Code checkpoint

Description:
    Check in fractal heap code to add basic support for skipping direct blocks
when an object is too large to fit in one.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
2006-03-28 09:03:46 -05:00
Quincey Koziol
87050be33e [svn-r12161] Purpose:
Code checkpoint

Description:
    Checkpoint fractal heap code at a stable point in development.  It appears
that adding objects to heaps and reading them back out is now working
properly (as long as there are no gaps in the heap and no standalone objects
are created).

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Linux 2.4 (mir) w/64-bit & FORTRAN & C++
    Solaris 9 (shanti) w/64-bit
2006-03-27 16:57:50 -05:00
Pedro Vicente Nunes
26e1b18a57 [svn-r12159] Purpose:
bug fix

Description:
h5repack was not dealing with family files

Solution:
use the toolslib function h5tools_open to open the file instead of H5Fopen in h5repack

Platforms tested:
linux
solaris
AIX

Misc. update:
2006-03-27 15:09:01 -05:00
Pedro Vicente Nunes
983e043587 [svn-r12158] Purpose:
bug fix

Description:
h5dump was not printing attributes for the named datatype cases

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2006-03-27 13:22:55 -05:00
Pedro Vicente Nunes
4c0b3c3d5a [svn-r12157] Purpose:
bug fix

Description:
regenerate a binary file. the previous one was not being open on the scale offeset filter dataset, probably due to a solved bug with the corresponding binary file not being updated

Solution:

Platforms tested:
linux

Misc. update:
2006-03-27 10:25:41 -05:00
Quincey Koziol
9f9f687dc4 [svn-r12155] Purpose:
Code optimization

Description:
    Tweak file free space allocation routines to optimize them a bit.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-25 20:38:30 -05:00
James Laird
d88d363ef9 [svn-r12154] Purpose:
Removed -march flag

Description:
The -march optimization flag is bad in some circumstances

Solution:
Prevented HDF5 from adding the -march archicture-specific optimization
flag, so that users could have one version of HDF5 used by
several different machines.

Platforms tested:
heping (one of the few platforms that affected by this small change)
2006-03-24 15:28:01 -05:00
Raymond Lu
ef9835e89d [svn-r12153] Purpose: Maintainence
Description: Added the new test cross_read.c to this "Makefile".


Platforms tested: Simple change, no test is needed, only affects OpenVMS.
2006-03-24 15:18:42 -05:00
Raymond Lu
981fe01dd1 [svn-r12151] Purpose: New test
Description: cross_read.c is a new program to test reading data created
on an OpenVMS, a little-endian, and a big-endian machine.  The three
data files are vms_data.h5, be_data.h5, and le_data.h5.  To generate
these data files, run gen_cross.c on these machines and change the file
names.


Platforms tested: fuss and h5committest

Misc. update: MANIFEST
2006-03-24 14:36:44 -05:00
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