summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.c
Commit message (Collapse)AuthorAgeFilesLines
* [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.
* [svn-r1899] Chagned to venue to call pause_proc via the profile feature of ↵Albert Cheng1999-12-171-12/+13
| | | | MPI_Init.
* [svn-r1873] added new test for multiple dataset writes to parallel testsChee-Wai Lee1999-12-101-1/+6
|
* [svn-r1858] Changed the default testfiles to be in /tmp instead of current ↵Albert Cheng1999-12-071-1/+5
| | | | | | | directory. Current directory in which the parallel code is compiled is usually not suitable for parallel I/O test.
* [svn-r1554] Changed it to use the tflops predefined __PUMAGON__ to identifyAlbert Cheng1999-08-021-1/+1
| | | | the tflops system.
* [svn-r1417] t_mpi.c:Albert Cheng1999-07-031-1/+26
| | | | | | | | | | Changed it to skip the test instead of aborting when there is not enough processes to do the test. Also corrected an error in the error reporting printf statement. t_dset.c: testphdf5.c: testphdf5.h: Added option for specifying chunk dimensions.
* [svn-r1398] Purpose:Albert Cheng1999-06-301-15/+44
| | | | | | | | | | | | | | | | new feature Makefile.in: Added the dependence of *.c on the testphdf5.h t_dset.c: testphdf5.c: testphdf5.h: testphdf5 now takes optional arguements for dataset dimension sizes. That allows testing with different dimension sizes without recompiling the whole thing. Platform tested: O2K
* [svn-r1222] Cleaned up the code in testphdf5.c, mostly in the -f parsing area.Albert Cheng1999-04-271-50/+33
| | | | | Eliminated most compiler complains. Changed Tflops to use the /pfs_grande file systems. (Old /pfs is retired.)
* [svn-r1177] Changed HDmalloc to malloc to avoid the need of using H5private.h.Albert Cheng1999-04-081-5/+3
| | | | | Removed the #ifndef MPIOTEST. MPIO tests should run all the time now that the test is more efficient.
* [svn-r1071] Moved the MPI test to a file of its own (t_mpi.c) for future ↵Albert Cheng1999-02-171-4/+4
| | | | | | | | | addition of other MPI tests. Changed return code tests from comparing with FAIL to with 0. Updated MANIFEST for the addition of a new file. Tested in O2k.
* [svn-r1035] t_file.c:Albert Cheng1999-01-271-2/+7
| | | | | | | | | | | Added a new test to verify the MPIO can support independent overlapping writes. testphdf5.c: Bracketed the MPIO write test with a #ifdef so that it is tested only when the explicitely turned on. Platform tested: O2K.
* [svn-r564] Purpose:Paul Harten1998-08-031-10/+62
| | | | | | | | | | | | | | | | | | New feature Problem: Source code must be modified prior to compiling to allow full filenames to contain preferred user directories. Source must be recompiled everytime the preferred user directory changes. Solution: Instead, allow file prefixes preferred by user to be passed at runtime using the arguments "-f <prefix>". The "-f" to signal the next argument is to be a file prefix, and the "<prefix>" to be the actual prefix used. Platform tested: ASCI Red
* [svn-r483] Revised for alpha-2 release.Albert Cheng1998-07-131-1/+1
|
* [svn-r461] Purpose:Paul Harten1998-07-071-4/+9
| | | | | | | | | | | | | | | | | | | | | | The purpose of the change is to correct the H5 filenames declared in testphdf5.c when used on the Intel TFLOP PFS system. Problem: The ROMIO library complains of the H5 filenames having no "piofs:", "pfs:", "ufs:", or "nfs:" prefixes on the filenames. The only type currently recognized are the "pfs:" prefixes, and the files must reside in the Intel TFLOP PFS system: /pfs. Solution: (REQUIRED) The compile flag -DPOOMA_ARCH=TFLOP is added to the list of CFLAGS in Makefile.ascired located in the parallel test directory. This compile flag will allow a special set of filenames to be used when compiling testphdf5.c on the Intel TFLOP. In addition, instructions to editing the filenames in testphdf5.c to reside in the user's own /pfs directory are included in INSTALL.ascired. Platform tested: Intel TFLOP
* [svn-r448] Updated with more tests for extendable datasets such as testingAlbert Cheng1998-07-051-1/+5
| | | | | the expected failures in writing data beyond the current dimension sizes and also in attempting to extend a dataset opened RDONLY.
* [svn-r439] Changed the PHDF test programs substantially. Used to be just oneAlbert Cheng1998-07-011-896/+51
| | | | | | | | big testphdf5.c file. Broke it into modules of related routines. testphdf5.c -- main routine and global variables initialization plus some ulitility routines. t_file.c -- tests of file operations using parallel I/O. t_dset.c -- tests of datasets operations.