Commit Graph

199 Commits

Author SHA1 Message Date
Quincey Koziol
74a448d084 [svn-r9358] Purpose:
Bug fix

Description:
    Relax restrictions on parallel I/O to allow compressed, chunked datasets
to be read in parallel (collective access will be degraded to independent
access, but will retrieve the information still).

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    IRIX64 6.5 (modi4)
    h5committest
2004-10-04 15:29:31 -05:00
Albert Cheng
28776d1076 [svn-r9317] Purpose:
Code clean up

Description:
The tests used to have their own test file names due to
the original program layout.  Now that it is using the
common test interface, individual test can be invoked
at will (via -o).  There is no need to have different
test filenames.  Only requirement is that certain read
tests must follow immediately the corresponding write
test since they use the same file.

I have combined all test file names into just one common
file name.  This reduces the printout of test file name,
very beneficial when the test is run by large number of processes.
It makes future code maintenance easier too.

Platforms tested:
Tested in Eirene(PP) only.  No h5committest because this is
limited to the parallel tests and the changes are trivial.

Misc. update:
2004-09-24 16:20:24 -05:00
Albert Cheng
ace38083da [svn-r9309] Purpose:
Cleanup

Description:
Remove old hack for H5Eget_auto() which is not needed any more.
Reverse H5E_set_auto_stack(H5EDEFAULT,...) back to previous
code of H5E_set_auto(...).  Same for H5E_get_auto_stack.

Platforms tested:
Only tested in Eirene PP as the change is pretty straight
forward.

Misc. update:
2004-09-22 14:49:32 -05:00
John Mainzer
a4e1edbdba [svn-r9274] Purpose:
Add test to verify the fix of the parallel I/O mode confusion bug.


Description:

While the parallel I/O mode confusion bug is fixed, an automated
regression test for this bug would be useful.


Solution:

Added a modified version of the original bug demonstration program
to testphdf5.

Platforms tested:

copper
h5committested
eirene (parallel)


Misc. update:
2004-09-18 16:38:44 -05:00
Quincey Koziol
eb3e9ccd8a [svn-r9234] Purpose:
Code cleanup

Description:
    Tweak recent "forward compatibility" changes to the H5E* API (which allowed
for the old H5E API functions to remain unchanged) by allowing for the error
stack callback function (H5E_auto_t) to also remain unchanged from the 1.6
branch.  This required changing the H5E{get|set}_auto routines to have the
old style H5E_auto_t type (which didn't have a stack ID parameter) and the new
H5E{get|set}_auto_stack routines to have a newer "H5E_auto_stack_t" type (which
has a stack ID parameter).  This should make the H5E API changes as forwardly
compatible as possible.
    One side-affect of this change was that it was impossible to determine if
the current auto error callback was the old style (H5E_auto_t) or the new style
(H5E_auto_stack_t) of callback, so a new API function (H5Eauto_is_stack) was
adde to query this.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    IRIX64 6.5 (modi4)
    h5committest
2004-09-08 21:37:02 -05:00
MuQun Yang
4268449794 [svn-r9200]
Purpose:
Shrink HDF5 parallel test

Description:
Previously the collective chunk IO tests created and opened four HDF5 files;
it turned out that all collective chunk IO tests can use one file for testing.


Solution:
To use one file for all collective chunk IO tests with trunc option to be set in H5Fcreate.


Platforms tested:
copper(no need to use h5committest)

Misc. update:
2004-09-03 12:53:42 -05:00
Raymond Lu
cb7f03a26f [svn-r9183] Purpose: New feature
Description:  Restore 6 old error API functions back to the library to be backward
compatible with v1.6.  They are H5Epush, H5Eprint, H5Ewalk, H5Eclear, H5Eset_auto,
H5Eget_auto.  These functions do not have error stack  as parameter.

Solution:  Internally, these functions use default error stack.

Platforms tested:  h5committest and fuss.

Misc. update: RELEASE.txt
2004-09-01 12:43:30 -05:00
Albert Cheng
226f162ce7 [svn-r9179] Purpose:
Text display change

Description:
Changed the test names to much shorter strings for easier
use.

Platforms tested:
No h5committed test.  Only test parallel in eirene.

Misc. update:
2004-08-31 23:07:21 -05:00
John Mainzer
98623b2787 [svn-r9149] Purpose:
Fix of bug/feature which caused testphdf5 to fail when run with more than
32 processes.  This fix was originally applied to the 1.6 branch, and is
now ported to the 1.7 branch.


Description:

32 process limit was a hard coded constant.


Solution:

Modified most of the routines in t_mdset.c to adapt dynamically to
the current number of processes.  In passing, I also tidied up a
few memory leaks.

Note that one new routine had been added to the 1.7 version of
t_mdset.c since the 1.6/1.7 split.  I applied changes to this
routine as well.


Platforms tested:

h5committested

Tested on eirene with 4 and 8 processes.  Couldn't go higher.

I would have like to repeat my 32 - 64 process tests on copper,
but was unable to do so as I don't have access to cu12t at
present.  Perhaps I will be able to manage this in the next
few days.  However, Albert wanted these changes checked in to
the 1.7 branch so he could work with them.


Misc. update:
2004-08-24 16:28:05 -05:00
Albert Cheng
d7a4ce413a [svn-r9141] Purpose:
Code cleanup.

Removed bunch of old options (r,w,v,i,b,e) that are no longer valid
or useful after adopting the general test interface.  Moved the test
of sizeof MPI_Offset into the test routine itself.

Platforms tested:
Eirene and Sol using pp mode.
2004-08-23 19:08:29 -05:00
Albert Cheng
1926a6538e [svn-r9130] Purpose:
bug fix.

Description:
The test routines only print error messages but not all of them
return number of errors detected back to the main routine which
always exit with a 0 status.  Thus make or shell commands could
not detect there were errors.


Solution:
Changed the test routines to return appropriate number of
errors to main routine which in turn exit with the appropriate
exit code if errors found.

Platforms tested:
Tested in Sol and eirene (pp).

Misc. update:
2004-08-20 00:03:28 -05:00
Albert Cheng
3c59678775 [svn-r9115] Purpose:
feature

Description:
Another revamp of the test interface.
TestInit: is used to register Test Program name, test program specific
   Usage and option parsing routines.
TestUsage: will invoke extra usage routine if provided.
TestParseCmdLine: will invoke extra option parsing routine if provided.
GetTestSummary() and GetTestCleanup() replaces the previous Summary and
CleanUp arguments of TestParseCmdLine.

test/testhdf5, test/ttsafe.c, testpar/t_mpi.c, testpar/testphdf5.c:
   All have been updated to use the new Test Routines.

testpar/t_mpi.c:
   Also a fix of a compiler optimization bug when pgcc in Linux is
   used to compile it.  Changed buf[] and expected to unsigned char
   type to avoid a bug that failed to do sign-extension.

Platforms tested:
"h5committested"
Also tested thread-safe option in eirene.
2004-08-19 01:32:47 -05:00
MuQun Yang
ad655bf083 [svn-r9104]
Purpose:
bug fix

Description:
1. The IF-block of skipping collective chunk IO tests when the number of
processes is greater than some number essentially skipped all parallel tests.
2.  John tested at copper with the number of processor = 64 and collective
     chunk IO tests passed, so we increase the number of precessor =24 to 64 for
    skipping the test.


Solution:
1. change the IF block flow so that it only skips collective chunk IO tests when
   the number of process is greater than 64.



Platforms tested:
copper(only change a bit of parallel test code, no needs to test on other platforms).


Misc. update:
2004-08-17 13:44:26 -05:00
Albert Cheng
d1110d4055 [svn-r9081] Purpose:
Feature

Description:
Updated to use the new syntax of TestParseCmdLine().

Platforms tested:
On eirene both serial and parallel.
2004-08-13 17:06:42 -05:00
MuQun Yang
188a2cfdc7 [svn-r9077] Purpose:
Correction of the previous check.

Description:
forget moving "debug #if macro" out of this file.

Solution:
remove that "#if 0 #endif" macro block.

Platforms tested:
Compile at eirene
Too trivial to test
Misc. update:
2004-08-13 08:50:30 -05:00
MuQun Yang
092105b2a3 [svn-r9076] Purpose:
Better collective chunk IO test arrangements

Description:
collective chunk IO tests have been verified with the number of process greater than 24 and
the test is very slow with big number of process.

That may cause confusions to users who run collective chunk IO tests.

Solution:
To avoid possible confusions, A if-block will be used to check whether the number of process
is greater than 24. If yes, the collective chunk tests will be skipped and a message will be printed out.


Platforms tested:
linux 2.4
(too trivial to use h5committest)


Misc. update:
2004-08-13 08:29:43 -05:00
MuQun Yang
2a866e549f [svn-r9071] Purpose:
Make collective chunk IO test more general

Description:
Previously collective chunk IO test is only fit for processor =4 with
the dimension size to be set small; sometimes people would like to test
with more than 4 processors(5,6 or more), the test therefore failed.
Solution:
To make the test case more general, dimensional size of the data is set to be large(right now 288 for each dimension), the disjoint hyperslab selection is re-calculated. Now the test cases should pass with 5,6 or 12 processors. Note, there is nothing wrong with the implementation of the library, it is the test case that causes the failure with the number of processor greater than 4.

Platforms tested:
Only at eirene, since only the test code is modified a little and it is very slow to test the parallel case.

Misc. update:
2004-08-11 22:45:50 -05:00
Albert Cheng
83fb67b922 [svn-r9068] Purpose:
Cleanup and bug fix.

Description:
Bug fix:
the checking of dobig test was done in the wrong place
such that tests added after it would be run even for the -b option.
Moved the dobig test checking to AFTER all tests are added.

Cleanup:
Removed old code now that the new way is working fine.

Platforms tested:
Tested in Eirene parallel only.

Misc. update:
2004-08-11 13:12:07 -05:00
Albert Cheng
7464e1fb1d [svn-r9050] Purpose:
Feature

Description:
Added a feature such that if the test name starts with '-', do not run it
by default.

Platforms tested:
Eirene both serial and parallel.

Misc. update:
2004-08-07 21:26:44 -05:00
Quincey Koziol
daa96590d3 [svn-r8987] Purpose:
Code cleanup

Description:
    Fix another batch of minor differences between the development and release
branches.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-08-02 12:51:50 -05:00
Quincey Koziol
084ed88137 [svn-r8983] Purpose:
Update dependencies

Description:
    Update dependencies after config/depend1.in bugfix

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    IRIX64 6.5 (modi4)
    h5committested
2004-08-02 09:06:07 -05:00
Quincey Koziol
ecd9f0a10e [svn-r8932] Purpose:
Code cleanup

Description:
    Clean up collective chunking code a bit.

    Also, add '--enable-instrument' configure flag to have a mechanism for
determining that optimized operations happened correctly in the library (instead
of just the "normal" way) by allowing 'flag' properties to be set outside the
library and set when the "right" thing happens.  This is mainly for debugging
and regression checks, so we make certain we don't break optimized I/O by
accident.  It's enabled by default when --enable-debug is on (which is on by
default in the development branch and off by default in the release branch),
but can also be independently controlled with its own configure flag.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    IBM p690 (copper) w/parallel
2004-07-22 15:46:27 -05:00
MuQun Yang
c7ca89eeda [svn-r8924] Purpose:
To test collective chunk IO properly.

Description:
See the previous message.

Solution:
See the previous message.

Platforms tested:
arabica(Sol 2.7), eirene(Linux), copper(AIX)
Misc. update:
2004-07-21 18:42:10 -05:00
MuQun Yang
3176090a03 [svn-r8907] Purpose:
To add collective chunk IO tests.

Description:
three tests are added.
1. Only one hyperslab for each process, and this hyperslab is fit in exactly one chunk.
2. non-contiguous hyperslabs in each process, these hyperslabs are fit in one chunk.
3. Single hyperslab for each process, smaller chunk is assigned. Number of chunks for
  every process is equal.

Solution:
the dataset size is set to be very small, will enlarge later.


Platforms tested:
AIX 5.1(copper)

Misc. update:
2004-07-20 16:41:44 -05:00
Quincey Koziol
803bb3e532 [svn-r8867] Purpose:
Bug fix

Description:
    Fix error in chunked dataset I/O where data written out wasn't read
correctly from a chunked, extendible dataset after the dataset was extended.

    Also, fix parallel I/O tests to gather error results from all processes,
in order to detect errors that only occur on one process.

Solution:
    Bypass chunk cache for reads as well as writes, if parallel I/O driver is
used and file is opened for writing.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-07-13 13:42:47 -05:00
Quincey Koziol
4d3188e588 [svn-r8618] Purpose:
Fix makefiles, dependencies & manifest after source file rename.
2004-06-05 14:32:31 -05:00
Raymond Lu
6123fcd947 [svn-r8533] Purpose: New test.
Description:  Test dataset and attribute of null dataspace for parallel.


Platforms tested:  copper and verbena(only parallel is concerned)
2004-05-17 14:59:04 -05:00
Albert Cheng
b6449ce42e [svn-r8501] Purpose:
Improvement


Description:
The MPI atomicity and file_sync tests may hang if a filesystem
is not able to support the operation.  This will block the
whole tests.  PHDF5 is not using either features.  So, removed
them from the default tests.


Platforms tested:
Only in eirene using pp.  Copper is still down.
2004-05-10 14:58:32 -05:00
John Mainzer
60206e959e [svn-r8392] Purpose:
Bug fix.

Description:
The data verification code didn't work.  Also numerous minor bugs.

Solution:
Re-wrote data write and verification code.  In particular, I
modified the verification code so it actually verifies data.

In the future, this test should be modified so it exercises
object deletes and chunk I/O.

Platforms tested:
h5committested
2004-04-19 12:54:07 -05:00
Quincey Koziol
0a29514b9d [svn-r8383] Purpose:
Code cleanup

Description:
    Clean up lots of warnings based on those reported from the SGI compilers
as well as gcc.

Platforms tested:
    SGI O3900, IRIX64 6.5 (Cheryl's SGI machine)
    FreeBSD 4.9 (sleipnir) w/ & w/o parallel
    h5committest
2004-04-17 23:10:09 -05:00
Albert Cheng
3756af13c7 [svn-r8294] Purpose:
feature

Description:
Change testphdf5 to use the common test program syntax.
Needed to change the protocols of all test programs to
fit the requirement of the common test syntax.

Platforms tested:
"h5committested".
Also tested in sol with PP mode.
2004-04-01 18:00:13 -05:00
Albert Cheng
3bf8c96888 [svn-r8161] Purpose:
Bug fix

Description:
make check without doing make first would fail to build testphdf5.

Solution:
Put the testphdf5 back in the target of TEST_PROG_PP and removed
the "testphdf" without any parameter from testph5.sh.

Platforms tested:
copper parallel. This is not relevant to non-parallel cases.

Misc. update:
2004-02-07 12:24:57 -05:00
Albert Cheng
d5fb4dfcef [svn-r8111] Purpose:
Improvement

Description:
Changed parsing of verbose level by the common test library routine.
Change t_mpi.c to use the Verbose control better.

Platforms tested:
verena (pp).

Misc. update:
2004-01-24 18:04:22 -05:00
Albert Cheng
f3113c02d5 [svn-r8096] Purpose:
Improvement.

Description:
Complete change of the verbose control to use the routines provided by
the test/libh5test.a.
Also put in a temporary fix for the H5Eset_auto() and H5Eget_auto()
so that the Compat code are isolated in one place rather than all over
the source file.

Platforms tested:
Tested in Eirene (parallel).

Misc. update:
2004-01-22 18:11:39 -05:00
Albert Cheng
f65948d933 [svn-r8013] Description:
Added a test of fill value before any data is written to a dataset.
Rename short_dataset() as dataset_fillvalue() as it reflects better
the tests.  Also removed the option of -S since the fill value test
will be tested always.

Platforms tested:
"h5committested"

Misc. update:
2004-01-02 21:54:50 -05:00
Albert Cheng
7a510bcb4d [svn-r8003] Purpose:
Code cleanup.

Description:
The H5Eclear() in the VRFY and INFO macros are not needed.
After removing them, there is no need to have a separate
v1.6 Compat version.

Platforms tested:
"h5committested"

Misc. update:
2003-12-31 14:42:19 -05:00
Quincey Koziol
5db6c61f18 [svn-r7993] Purpose:
Code cleanup, bug fixes

Description:
    Wrap up rest of changes necessary for fixing the "short" MPI-I/O read
problem that Robb reported.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-12-29 14:34:11 -05:00
Albert Cheng
3043f95b29 [svn-r7979] Purpose:
Feature.

Description:
Added the short_dataset test (was in v1.6 first.)

Platforms tested:
Tested in eirene (pp) only since these have been tested in v1.6 already.

Misc. update:
2003-12-25 17:52:39 -05:00
Quincey Koziol
1ebb93f0f8 [svn-r7923] Purpose:
Bug fix

Description:
    Clean up a couple more 1.6 compat bugs that showed up when the library
was compiled with parallel support.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/parallel & 1.6 compat
    config not tested with h5committest
2003-12-10 11:52:29 -05:00
Bill Wendling
ce045b62d2 [svn-r7848] Purpose:
Update

Description:
    This completes Phase I of the FPHDF5 testing. This test does the
    following:

        - Creates a file
        - Creates multiple non-root groups
        - For each process:
            For each non-root group:
                Create multiple datasets
            Access all datasets created above
            Write to all datasets created above
        - Close the file
        - Reopen the file and verify the data is correct

Platforms tested:
    AIX (w/ FPHDF5)
    Linux (w/ FPHDF5)
    Solaris (w/ Fortran & C++)

Misc. update:
2003-11-13 15:08:43 -05:00
Albert Cheng
71f3513337 [svn-r7841] Purpose:
new feature.

Description:
Added tests of 1wMr with options to apply Atomicity or File_sync.

Platforms tested:
only tested in eirene and Teragrid as this is just an MPI test.

Misc. update:
2003-11-12 23:01:22 -05:00
Bill Wendling
54434ea95b [svn-r7839] Purpose:
Update

Description:
    Extensive reworking of the code. More modular now. Tests for almost
    all of "Phase 1"s requirements. Need to check that data is correct
    after reopening the file.

Platforms tested:
    Linux (w/ FPHDF5)
    AIX (w/ and w/o FPHDF5)

    FPHDF5-specific fixes...No need for H5committest

Misc. update:
2003-11-12 18:03:02 -05:00
Albert Cheng
8f9eb1ae7f [svn-r7835] Purpose:
new test.

Description:
Added test_mpio_1wMr test which verify if the file system can support
1 process writes, many processes read.

Platforms tested:
h5committested.

Misc. update:
2003-11-11 23:55:46 -05:00
Bill Wendling
c84ab58792 [svn-r7823] Purpose:
Update

Description:
    The FPHDF5 test now writes data simultaneously from all processes to
    all created datasets. It's wicked cool!

Platforms tested:
    Linux (w/ FPHDF5)
    Copper (w/ FPHDF5 & w/o Parallel)

    FPHDF5-specific, so no h5committest

Misc. update:
2003-11-07 02:44:46 -05:00
Bill Wendling
5e835237be [svn-r7815] Purpose:
Update

Description:
    Modified the FPHDF5 test so that a single process creates multiple
    datasets in a non-root group then all of the processes (sans the SAP)
    access it.

    Modularized the code a bit more to make it easy to perform the above
    tests.

    Changed the code a bit so that >3 processes can (theoretically) be
    used to test this.

Platforms tested:
    Linux (FPHDF5 specific change)

Misc. update:
2003-11-04 12:32:33 -05:00
Bill Wendling
7b05686f05 [svn-r7806] Purpose:
Update

Description:
    Expanded the FPHDF5 test to include creating multiple datasets by one
    process in a non-root group.

    Cleaned up the code a bit more to make it more modular and easier to
    work with.

Platforms tested:
    Linux (FPHDF5 specific)

Misc. update:
2003-10-31 16:49:38 -05:00
Bill Wendling
918b657ddd [svn-r7701] Purpose:
Update

Description:
    Added test for FPHDF5 to the testpar/ directory. If you specify
    --enable-fphdf5 during configuration, it'll run this test during a
    "make check".

Platforms tested:
    Linux (FPHDF5 specific).

Misc. update:
2003-10-22 16:17:25 -05:00
Quincey Koziol
4a4f9cd82d [svn-r7615] Purpose:
Code cleanup

Description:
    Clean up various compiler warnings.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2003-10-13 14:26:55 -05:00
Albert Cheng
c84d9f5eab [svn-r7575] Purpose:
Feature, sort of.

Description:
Reactivated the big dataset test.  Changed it
to default off, can be turned on via -b.

Platforms tested:
Only in Copper which is the only local machine safe to run
mulitple GB size files.

Misc. update:
2003-10-08 15:29:27 -05:00
Quincey Koziol
98dfa67e89 [svn-r7551] Purpose:
Bug/feature fix.

Description:
    Relax restriction on parallel writing to compact datasets to allow partial
I/O.

    Updates to reference manual mentioning the issues involved are delayed until
reference manual 'lock' is removed later this week.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-10-06 10:17:09 -05:00