Commit Graph

169 Commits

Author SHA1 Message Date
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
Quincey Koziol
43f06303db [svn-r7492] Description:
Disable "big" parallel tests until I get a chance to look into the
problems (probably during/after the workshop).

Platforms tested:
    Eyeballed
    Too minor to require h5committest
2003-09-18 17:52:14 -05:00
Quincey Koziol
d7bde16f45 [svn-r7480] Purpose:
Bug fix

Description:
    The MPI_File_set_size() routine on ASCI Red is not able to extend files
so that they are larger than 2GB.

Solution:
    Add an extra macro which controls whether MPI_File_set_size() can handle
>2GB offsets or if our "older" way of reading a byte, then writing a byte at
the appropriate offset should be used.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-09-16 12:33:00 -05:00
Albert Cheng
a7d0a58592 [svn-r7396] Purpose:
Bug fix

Description:
Temporary files were not cleaned out because the definiton of
temporary files had not been updated.

Solution:
Updated it.

Platforms tested:
Tested by hand in Copper while i was testing the MPE change.

Misc. update:
2003-08-24 01:00:54 -05:00
Albert Cheng
374ad0ef30 [svn-r7361] Description:
Updated the copyright notice--mostly by rearranging
some text to make them consistent.

Solution:

Platforms tested:
"h5committested"--sol is down, so, no SUn test.

Misc. update:
2003-08-13 23:58:29 -05:00
Raymond Lu
0d22a663df [svn-r7265] *** empty log message *** 2003-07-25 21:55:47 -05:00
Quincey Koziol
4e23c80758 [svn-r7181] Purpose:
Version update

Description:
    Removed 1.4 compatibility code in the library.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-07-07 14:02:46 -05:00
Quincey Koziol
204b899029 [svn-r7019] Purpose:
Compatibility fix

Description:
    The H5P[set|get]_fapl_mpiposix calls changed between v1.4.x and v1.5.x.

Solution:
    Wrap them in the v1.4 backward compatibility #ifdefs and update tests, etc.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/paralle & v1.4 compatibility
    h5committest pointless
2003-06-10 14:05:06 -05:00
Quincey Koziol
33bf3c980d [svn-r7015] Purpose:
Comment cleanup

Description:
    Updated comments for recent changes.
2003-06-10 13:41:20 -05:00
Quincey Koziol
df5ca0fa1d [svn-r7002] Purpose:
Code cleanup

Description:
    Clean up warnings about unused stuff...

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:18:47 -05:00
Quincey Koziol
3fcef502ea [svn-r7001] Purpose:
Code cleanup

Description:
    Reduce warnings when compiled with --enable_hdf5v1_4 compatibility switch.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:16:59 -05:00
Quincey Koziol
c134146b3e [svn-r6975] Purpose:
Bug fix

Description:
    Don't attempt to perform collective I/O on chunked datasets.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committested
2003-06-05 15:05:52 -05:00
Quincey Koziol
ab28d2c820 [svn-r6961] Purpose:
Bug fix

Description:
    An earlier checkin changed some of the assumptions about single block
hyperslabs, causing them to fail in odd ways.

Solution:
    Fix errors with single block hyperslabs by keying off of count==1 instead
of stride==1.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committested
2003-06-04 13:42:20 -05:00
Quincey Koziol
cb01b00e74 [svn-r6953] Purpose:
Code cleanup

Description:
    Correct typo in printf().

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committested
2003-06-04 10:29:55 -05:00
Albert Cheng
13bc7e92af [svn-r6902] Description:
Add printout to identify when the MPIPOSIX driver is being tested instead
of the MPI-IO driver..

Platforms tested:
Tested in copper in parallel mode only since it was just a simple
print statement in the parallel test code.

Misc. update:
2003-05-19 14:55:50 -05:00
Bill Wendling
c12f91908b [svn-r6795] Purpose:
Feature Add

Description:
	Added knob so that the programmer can enable or disable GPFS
	hints during runtime instead of having it only enabled at
	configure/compile time. Some of the public APIs were changed
	to add an extra parameter for this option...

Platforms tested:
	Blue (LLNL). It only affects the MPI/POSIX driver, so no need
	to test it on non-GPFS platforms.

Misc. update:
2003-05-05 15:48:33 -05:00
Albert Cheng
d76dfb1985 [svn-r6755] Purpose:
feature

Description:
added test_fapl_mpiposix_dup to verify the MPIPOSIX is making
duplicates of Communicator correctly.

Platforms tested:
Did not h5committested because these are all MPI code and well protected
by HAVE_PARALLEL.
Tested in eirene and modi4, both parallel mode.

Misc. update:
2003-04-25 09:27:36 -05:00
Albert Cheng
4fa8fe270c [svn-r6741] Purpose:
code cleanup.

Description:
Rename test_comm_info_delete to test_fapl_mpio_dup to better decribe
what it does.  Updated the comments to describe more accurate.

Platforms tested:
Did not run h5commmittest since the changes were all in parallel area.
Ran parallel tests on modi4 and eirene.

Misc. update:
2003-04-23 16:19:51 -05:00
Albert Cheng
d98f0d77c1 [svn-r6740] Purpose:
simple code cleanup.

Description:
While debug a problem in multiple_group_write(), noticed some returned
values were not checked.  Added code to check on all returned code.

Platforms tested:
h5committested.

Misc. update:
2003-04-23 15:21:44 -05:00
Albert Cheng
9e3ab7e5d2 [svn-r6718] Purpose:
bug fix

Description:
The fphdf5.o and similar files are not included in the make clean
target.  So, if the same directory is used again for a different
build, the left behind file could cause a problem (e.g., if
the second build is for a different binary format.)

Solution:
Added fphdf5.c to the TEST_SRC list which indirect form the clean
target list.

Platforms tested:
Did not run h5committest tests because they don't verify this
failure.  I tested the fix in modi4 pp to verify all files are cleaned.

Misc. update:
2003-04-19 21:10:15 -05:00
Albert Cheng
6bf4a73c6c [svn-r6714] Purpose:
Feature

Description:
Test program for the Flexible PHDF5 feature.

Platforms tested:
Tested on modi4 before but the feature is currenly disabled in
configure.  Checking this in for future work.

Misc. update:
2003-04-18 08:32:18 -05:00
Albert Cheng
49fa61246e [svn-r6709] Purpose:
Bug fixes/API changes

Description:
    Previously, the Communicator and Info object arguments supplied
    to H5Pset_fapl_mpio() are stored in the property with its handle
    values.  This meant changes to the communicator or the Info object
    after calling H5Pset_fapl_mpio would affect the how the property
    list function.  This was also the case when H5Fopen/create operated.
    They just stored the handle value.  This is not according to the
    MPI-2 defined behavior of how Info objects should be handled. (MPI-2
    defines Info objects must be parsed when called.)
    The old design was trying to avoid numerous duplicates of the same
    information (e.g., every property object holds one version, every
    file opened holds another version, when all of them are referring to
    the same original version.)  Nevertheless it is safer to implement
    it according to MPI-2 definition.
    Futhermore, the library often needs to do message passing using the
    supplied communicator.  Using the same communicator as the application
    version may result in some messages mix up.
Solution:
    H5Pset_fapl_mpio now stores a duplicate of each of the communicator
    and Info object.
    H5Pget_fapl_mpio returns a duplicate of its stored communicator and
    Info object.  It is now the responsibility of the applications to free
    those objects when done.
    H5Fopen/create also stores a duplicate of the communicator and Info
    object supplied by the File Access Property list.
    H5Fclose frees those duplicates.
    There are a few more internal VFL call back functions that they
    follow this "make duplicates" requirement.

Platforms tested:
"h5committested".
What other platforms/configurations were tested?
    Eirene (mpicc), sol(mpicc), copper(parallel)

Misc. update:
Need to update MANIFEST for the added t_ph5basic.c which tests the
correctness of duplicated communicator and INFO object.
2003-04-17 22:04:56 -05:00
Bill Wendling
91fdb66926 [svn-r6539] Purpose:
Update

Description:
    Updated (and in some cases added) the copyright statement.

Platforms tested:
    Linux (Comment changes...only tested if they compile)

Misc. update:
2003-03-31 13:02:10 -05:00
Raymond Lu
117381d325 [svn-r6421]
Purpose:
    test program modification
Description:
    put part of code into an internal function.  Nothing serious.
Platforms tested:
    eirene
2003-02-19 12:59:46 -05:00
Raymond Lu
941509ab25 [svn-r6419]
Purpose:
    More test.
Description:
    Test independent read of groups and chunked dataset.
Solution:
    This test is similar to multiple group test.  So just add it in the
    testphdf5.c,h.
Platforms tested:
    modi4, eirene.
2003-02-18 16:50:42 -05:00
Albert Cheng
7ff7845b3a [svn-r6414] Purpose:
Bug fix (no id, just noticed myself)
Description:
    Added a barrier before doing file cleanup to ensure all tests are
    completed by then.
    Moved the MPI_Finalize to be very end and insert an H5close before
    it to ensure all potential MPI activities by HDF5 are done by then.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}?  Yes.
2003-02-18 00:12:58 -05:00
Quincey Koziol
0475dd9a70 [svn-r6412] Purpose:
Code cleanup

Description:
    Update dependencies and clean up a few warnings.

Platforms tested:
    Linux 2.2 (eirene) w/parallel
2003-02-17 12:11:03 -05:00
Quincey Koziol
24d8506dd5 [svn-r6387] Purpose:
Bug Fix

Description:
    Metadata cache in parallel I/O can cause hangs in applications which
    perform independent I/O on chunked datasets, because the metadata cache
    can attempt to flush out dirty metadata from only a single process, instead
    of collectively from all processes.

Solution:
    Pass a dataset transfer property list down from every API function which
    could possibly trigger metadata I/O.

    Then, split the metadata cache into two sets of entries to allow dirty
    metadata to be set aside when a hash table collision occurs during
    independent I/O.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
        modi4 (parallel, fortran)}

    FreeBSD 4.7 (sleipnir) serial & parallel

Misc. update:
    Updated release_docs/RELEASE
2003-02-10 12:26:09 -05:00
Albert Cheng
a9c79d6b61 [svn-r6286] Purpose:
bug fix
Description:
    Added a barrier to ensure all processes have finished using
    the file before cleaning it away.
    Added H5close() to ensure all HDF5 stuff are closed before
    calling MPI_Finalize.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}? Yes
2003-01-15 11:06:47 -05:00
Quincey Koziol
98f01e2df2 [svn-r6255] Purpose:
Code cleanup

Description:
    Clean up a few more warnings and update dependencies.

Platforms tested:
    Linux 2.2.18smp (eirene) serial & parallel
2003-01-09 13:40:19 -05:00
Quincey Koziol
22f38d627e [svn-r6055] Purpose:
New feature

Description:
    Add support for scalar dataspaces in parallel I/O.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    Also, FreeBSD 4.7 (sleipnir) serial & parallel
Misc. update:
    Update release_docs/RELEASE for bug fixes, new features, etc.
2002-11-05 11:31:02 -05:00