summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r9359] Purpose:Quincey Koziol2004-10-041-1/+14
| | | | | | | | | | | | | | | 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
* [svn-r9318] Purpose:Albert Cheng2004-09-241-45/+43
| | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r9235] Purpose:Albert Cheng2004-09-091-9/+6
| | | | | | | | | | | | | | | Shrink HDF5 parallel test (folded what Kent has done in v1.7 to v1.6.) 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: eirene (no need to use h5committest)
* [svn-r9180] Purpose:Albert Cheng2004-09-011-24/+24
| | | | | | | | | | | | | 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:
* [svn-r9142] Purpose:Albert Cheng2004-08-241-67/+27
| | | | | | | | | | | 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.
* [svn-r9116] Purpose:Albert Cheng2004-08-191-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [svn-r9103] MuQun Yang2004-08-171-11/+12
| | | | | | | | | | | | | | | | | | | | | 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 parallel test, no needs to test oh other platforms). Misc. update:
* [svn-r9082] Purpose:Albert Cheng2004-08-131-29/+26
| | | | | | | | | | Feature Description: Updated to use the new syntax of TestParseCmdLine(). Platforms tested: On eirene both serial and parallel.
* [svn-r9078] Purpose:MuQun Yang2004-08-131-0/+2
| | | | | | | | | | | | | | | For collective chunk IO test, only let the main process(process 0) generate the "skipped message". Description: Solution: Platforms tested: linux 2.4 Too trivial to use h5committest. Misc. update:
* [svn-r9075] Purpose:MuQun Yang2004-08-131-0/+7
| | | | | | | | | | | | | | | | | | | | Parallel HDF5 Collective chunk IO testing message added 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: To trivial for h5committest,testing platform: eirene. Misc. update:
* [svn-r9067] Purpose:Albert Cheng2004-08-111-106/+9
| | | | | | | | | | | | | | | | | | 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:
* [svn-r9051] Purpose:Albert Cheng2004-08-081-2/+4
| | | | | | | | | | | | | 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:
* [svn-r8989] Purpose:Quincey Koziol2004-08-021-2/+15
| | | | | | | | | | | | | | Backport feature Description: Backport Kent's collective chunk I/O work to date into the release branch. Also, minor code cleanups, etc. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel IRIX64 6.5 (modi4) h5committested
* [svn-r8868] Purpose:Quincey Koziol2004-07-131-10/+19
| | | | | | | | | | | | | | | | | | | 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
* [svn-r8293] Purpose:Albert Cheng2004-04-011-0/+90
| | | | | | | | | | | | | 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.
* [svn-r8110] Purpose:Albert Cheng2004-01-241-3/+6
| | | | | | | | | | | | | 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: Eirene (pp). Misc. update:
* [svn-r8095] Purpose:Albert Cheng2004-01-221-2/+1
| | | | | | | | | | | | | Improvement. Description: Complete change of the verbose control to use the routines provided by the test/libh5test.a. Platforms tested: Tested in Eirene (parallel). Misc. update:
* [svn-r8014] Description:Albert Cheng2004-01-031-13/+4
| | | | | | | | | | | 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"
* [svn-r7977] Purpose:Albert Cheng2003-12-251-1/+1
| | | | | | | | | A small correction of the old_func declaration. Platforms tested: Only in eirene(pp) since it is trivial. Misc. update:
* [svn-r7973] Purpose:Albert Cheng2003-12-181-3/+16
| | | | | | | | | | | | | | | | New feature. Description: Added a test (short_dataset) that writes only part of a dataset and then reads the whole dataset back in. Verify the unwritten part were set to fill value. Solution: Platforms tested: Tested in copper, eirene, LANL theta & QSC. Misc. update:
* [svn-r7557] Purpose:Albert Cheng2003-10-071-6/+3
| | | | | | | | | | | | | | Feature Description: Reactivate the big dataset test. Set it default to off. Solution: Platforms tested: Misc. update:
* [svn-r7493] Description:Quincey Koziol2003-09-181-0/+4
| | | | | | | | | 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
* [svn-r7481] Purpose:Quincey Koziol2003-09-161-3/+36
| | | | | | | | | | | | | | | | | 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
* [svn-r7019] Purpose:Quincey Koziol2003-06-101-0/+4
| | | | | | | | | | | | | | 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
* [svn-r6975] Purpose:Quincey Koziol2003-06-051-0/+6
| | | | | | | | | | | Bug fix Description: Don't attempt to perform collective I/O on chunked datasets. Platforms tested: FreeBSD 4.8 (sleipnir) w/parallel h5committested
* [svn-r6953] Purpose:Quincey Koziol2003-06-041-1/+1
| | | | | | | | | | | | Code cleanup Description: Correct typo in printf(). Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ FreeBSD 4.8 (sleipnir) w/parallel h5committested
* [svn-r6902] Description:Albert Cheng2003-05-191-0/+6
| | | | | | | | | | | 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:
* [svn-r6795] Purpose:Bill Wendling2003-05-051-3/+4
| | | | | | | | | | | | | | | | 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:
* [svn-r6755] Purpose:Albert Cheng2003-04-251-0/+3
| | | | | | | | | | | | | | | 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:
* [svn-r6741] Purpose:Albert Cheng2003-04-231-2/+2
| | | | | | | | | | | | | | 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:
* [svn-r6709] Purpose:Albert Cheng2003-04-181-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [svn-r6539] Purpose:Bill Wendling2003-03-311-0/+14
| | | | | | | | | | | | Update Description: Updated (and in some cases added) the copyright statement. Platforms tested: Linux (Comment changes...only tested if they compile) Misc. update:
* [svn-r6419] Raymond Lu2003-02-181-2/+20
| | | | | | | | | | | | 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.
* [svn-r6414] Purpose:Albert Cheng2003-02-181-3/+12
| | | | | | | | | | | | 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.
* [svn-r5896] Purpose:Quincey Koziol2002-08-271-1/+1
| | | | | | | | | | | Code cleanup Description: Cleaned up some compiler warnings. Platforms tested: FreeBSD 4.6 (sleipnir) w/serial & parallel. Will be testing on IRIX64 6.5 (modi4) in serial & parallel shortly.
* [svn-r5879] Raymond Lu2002-08-201-4/+17
| | | | | | | | | Purpose: Design for compact dataset Description: Compact dataset is stored in the header message for dataset layout. Platforms tested: arabica, eirene.
* [svn-r5800] Purpose:Quincey Koziol2002-07-151-0/+15
| | | | | | | | | | New feature. Description: Added MPI-posix VFL driver support. Platforms tested: FreeBSD 4.6 (sleipnir) w/parallel & IRIX64 6.5 (modi4) w/parallel
* [svn-r5674] Purpose:Quincey Koziol2002-06-191-6/+6
| | | | | | | | | | Code cleanup Description: Removed more compiler warnings, etc. Platforms tested: Linux 2.2.x (eirene) w/parallel
* [svn-r5222] Purpose:Albert Cheng2002-04-221-1/+3
| | | | | | | | feture Description: add calls to show hostname. Platforms tested: eirene (linux 2.2) parallel.
* [svn-r5205] Purpose:Albert Cheng2002-04-191-1/+1
| | | | | | | | | | | | | | Code cleanup Description: Platform dependent code related to the struct stat and fstat calls polluted source codes. Hard to maintain. Solution: Platform dependent code are moved to H5private.h and then internal code can #include H5private.h. Repeat those macro definition for the stdio and multi drivers since they area examples for writing a virtual file driver. They must not use any internal code. Platforms tested: eirene (parallel), modi4 (serial including gass driver.)
* [svn-r4582] Purpose:Albert Cheng2001-11-021-60/+57
| | | | | | | | | | | | | | | | | New test feature Description: Added create_faccess_plist() that create just MPIO or split+MPIO file-access property list. This in turn can run parallel tests with just MPIO or with Split-file VFD too. Added -s option for split-file Plus MPIO tests. For testphdf5.c: removed a bunch of old debug code that got left in by mistake. Platforms tested: Modi4 and eirene parallel. But it has uncovered errors in the library. The test program is correct though. Checking the test program in so that it won't get lost and can be used for debugging. Also, the -s is not used by default during test. At least it won't abort "make check".
* [svn-r4024] Purpose:Raymond Lu2001-06-201-12/+35
| | | | | | | | | | | | Multiple-group testing Description: Added multiple groups under root group and multiple subgroups of certain levels. Also writes several datasets in each group in parallel. Solution: Platforms tested: MPICH(IRIX 6.5, IRIX64 6.5(64), IRIX64 6.5(N32), Linux, SunOS 5.6) and SGI MPI(IRIX64 6.5).
* [svn-r3913] Purpose:Bill Wendling2001-05-111-6/+4
| | | | | | | | | | | Bug Fix Description: FILENAME_MAX is short on some systems. It's better to use PATH_MAX which tends to be longer (we hope). Solution: Removed FILENAME_MAX and replaced it with PATH_MAX instead. Platforms tested: Skinner (SDSC HP N9000).
* [svn-r3780] Purpose:Bill Wendling2001-04-051-1/+1
| | | | | | | | | | | | | | Update Description: Changed #include <hdf5_file.h> to #include "hdf5_file.h" to be consistent with the new way of generating dependencies.
* [svn-r3119] Purpose:Albert Cheng2000-12-121-8/+18
| | | | | | | | | | | | | | | | | | | New features Description: Some testers found the filename lengths too short. Changed it to use the FILENAME_MAX usually defined in stdio.h. If not, set it to 512 which should be sufficient for users but should not exceed any system limits. Also added a new test parameters of ndatasets so that the tester can specific a different number of datasets for the multiple datasets tests. Changed the datatype of datasets created to DOUBLE. This eliminates the current racing conditions. But the racing bugs during conversion still need to be tracked down and squashed. Platforms tested: Modi4 -64.
* [svn-r3007] Purpose:Albert Cheng2000-11-281-9/+9
| | | | | | | | | | Feature, kind of Description: Moved the multiple dataset test out of the write-test part so that it can be skipped or tested independent of the other tests. Platforms tested: IRIX64,-64,parallel.
* [svn-r2710] Purpose:Albert Cheng2000-10-201-16/+11
| | | | | | | | | | | | | | Features, kind of. Description: Separated the MPI features test into its own independent program so that it can be tested on its own without too much HDF5 stuff involved. Added automatic removal of temporary test files after the tests completed. Reduced the size of the dataset dimensions to avoid tripping the SGI MPI problems of running out of internal mpi type entries. Platforms tested: O2K -64
* [svn-r2641] Purpose:Albert Cheng2000-10-091-13/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added features Description: There were no automatic tests for transfering zero elements. Solution: t_dset.c: Added two new patterns of ZROW (zero rows for process 0) and ZCOL(zero columns for process 0). ZROW test was added but it failed because the current library does not accept it. Not compiled in now. Need to fix the library before turning it back on again and also to add the ZCOL test. t_mdset.c: Added statement to show progress. Also the MPI_Barrier() call get processes synchornoized. It eliminates the racing condition but this is not a permenant solution. The library code needs to be fixed. testphdf5.c: Added a bunch of MPI_Type_XXX debug code. Added the -md option to skip the multiple datasets tests. Changed the cosmitic appearance of the banner messages. testphdf5.h: When an error is detected, the old way was to call MPI_Finalize() before exiting. This sometimes hangs because some processes may be waiting for a message of a different tag. Changed to call MPI_Abort() for now so that the whole MPI job would abort rather than hanging due resource limits exceeded. Added the definition of ZROW and ZCOL. Platforms tested: Modi4 -64.
* [svn-r1947] Changed the test files prefix to use the h5_fixname() in ↵Albert Cheng2000-01-261-33/+32
| | | | | | | | | | | | test/libh5test.a. Makefile.in: Added test/ as one of the -I directories to search for header files. Needed because <h5test.h> is used. t_file.c t_mpi.c testphdf5.c testphdf5.h: Added FILENAME to meet the assumption in h5test.h. (May use CLEANUP in the future.) Moved the prefix setting to the h5_fixname().
* [svn-r1914] t_mdset.c:Albert Cheng1999-12-201-1/+1
| | | | | | | Increase the test size to 32. Put in a check to make sure number of processes are not bigger than SIZE. testphdf5.c: Fixed a mistake in the prototype of pause_proc to reflect no arguments.