summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.h
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r12554] New tests have been added to test the correctness of ↵MuQun Yang2006-08-091-0/+3
| | | | | | | | independent IO with file setview. To activite this test, add the command option -i. For example, at IBM AIX, type "poe testphdf5 -i" will test the library with independent IO with file setview. It simply replaces all the collective IO tests with independent IO with file setview.
* [svn-r12174] Purpose:MuQun Yang2006-03-291-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r12148] Purpose:MuQun Yang2006-03-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r12142] Purpose:MuQun Yang2006-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r11951] Purpose:MuQun Yang2006-02-161-0/+1
| | | | | | | | | | | | | | | | Enhance collective chunk IO supports Description: Add a new test to check the correctness of the HDF5 library behavior for collective IO mode when one process doesn't have any contribution for IO. Solution: Platforms tested: IBM AIX 5.2(copper) Linux (heping) mpich-1.2.6 Misc. update:
* [svn-r11312] Purpose:Albert Cheng2005-08-301-0/+1
| | | | | | | | | | | | | | | | | | Bug #281 Description: A dataset created in serial mode with H5D_ALLOC_TIME_INCR allocation setting was not extendible, either explicitly by H5Dextend or implicitly by writing to unallocated chunks. This was because parallel mode expects the allocation mode be H5D_ALLOC_TIME_INCR only. Solution: Modified library to allocate more space when needed or directed if the file is opened by parallel mode, independent of what the dataset allocation mode is. Platforms tested: Heping pp.
* [svn-r11245] Purpose:Quincey Koziol2005-08-131-85/+85
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11067] Purpose:MuQun Yang2005-07-121-12/+12
| | | | | | | | | | | | | | | | | | Updating phase 2 work of collective IO Description: The current collective IO tests cannot test for number of processors bigger than some values, this change will lift those restriction. However, the test may be slower. Solution: Platforms tested: linux 2.4, AIX 5.1, Linux 2.4 IA64 and IRIX 6.5 (I haven't tested big number of processors with the restriction of the machine) Misc. update:
* [svn-r10546] Purpose:MuQun Yang2005-04-051-10/+10
| | | | | | | | | | | | | | | | Support collective IO for irregular selection. Description: Solution: Platforms tested: Linux with MPICH AIX with mpcc_r Linux with ChaMPIO Altix with intel Misc. update:
* [svn-r10125] Purpose:Albert Cheng2005-03-031-70/+8
| | | | | | | | | | | | | | | Feature--to provide a standalone mode for t_mpi.c so that it can be built outside of PHDF5 environment. Description: Move definitions that are common to all parallel test programs to a new header file called testpar.h. Leave only Parallel HDF5 tests related definitions in testphdf5.h. Platforms tested: heping (pp) and modi4(PP). Copper was down. Misc. update:
* [svn-r9727] Purpose:Quincey Koziol2004-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-) Description: Generally speaking, this is the "signed->unsigned" change to selections. However, in the process of merging code back, things got stickier and stickier until I ended up doing a big "sync the two branches up" operation. So... I brought back all the "infrastructure" fixes from the development branch to the release branch (which I think were actually making some improvement in performance) as well as fixed several bugs which had been fixed in one branch, but not the other. I've also tagged the repository before making this checkin with the label "before_signed_unsigned_changes". Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel & fphdf5 FreeBSD 4.10 (sleipnir) w/threadsafe FreeBSD 4.10 (sleipnir) w/backward compatibility Solaris 2.7 (arabica) w/"purify options" Solaris 2.8 (sol) w/FORTRAN & C++ AIX 5.x (copper) w/parallel & FORTRAN IRIX64 6.5 (modi4) w/FORTRAN Linux 2.4 (heping) w/FORTRAN & C++ Misc. update:
* [svn-r9649] Purpose:MuQun Yang2004-12-081-0/+4
| | | | | | | | | | | | | | Adding routines to test irrgular hyperslab selection inside one chunk. Description: For debugging purpose, tests are turned off now. Solution: Platforms tested: AIX 5.1 and Linux 2.4 with parallel enabled. Misc. update:
* [svn-r9575] Purpose:MuQun Yang2004-11-241-8/+88
| | | | | | | | | | | | | | | | Adding testing code for collective IO implementation Description: Won't affect testing HDF5 library. Not tested yet, only check in for debugging purpose. Solution: Platforms tested: Linux 2.4 + mpich 1.2.6 Aix 5.1 + mpcc_r Misc. update:
* [svn-r9520] Purpose:MuQun Yang2004-11-111-0/+16
| | | | | | | | | | | | | | | | | | Adding general MPI derived datatype testing code. Description: The testing code will not be tested. The purpose of checking in is for better debugging later. HDF5 routine or daily test should not be aware of this. Solution: Platforms tested: Copper(AIX 5.1), Heping(Linux 2.4 + MPICH 1.2.6). Misc. update:
* [svn-r9358] Purpose:Quincey Koziol2004-10-041-1/+4
| | | | | | | | | | | | | | | 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-r9309] Purpose:Albert Cheng2004-09-221-9/+0
| | | | | | | | | | | | | | | 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:
* [svn-r9274] Purpose:John Mainzer2004-09-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r9234] Purpose:Quincey Koziol2004-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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
* [svn-r9071] Purpose:MuQun Yang2004-08-121-2/+2
| | | | | | | | | | | | | | | | 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:
* [svn-r8987] Purpose:Quincey Koziol2004-08-021-0/+1
| | | | | | | | | | | | 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
* [svn-r8932] Purpose:Quincey Koziol2004-07-221-18/+4
| | | | | | | | | | | | | | | | | | | | 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
* [svn-r8924] Purpose:MuQun Yang2004-07-211-0/+2
| | | | | | | | | | | | | | 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:
* [svn-r8907] Purpose:MuQun Yang2004-07-201-0/+22
| | | | | | | | | | | | | | | | | | | | 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:
* [svn-r8867] Purpose:Quincey Koziol2004-07-131-2/+1
| | | | | | | | | | | | | | | | | | | 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-r8533] Purpose: New test.Raymond Lu2004-05-171-0/+1
| | | | | | | Description: Test dataset and attribute of null dataspace for parallel. Platforms tested: copper and verbena(only parallel is concerned)
* [svn-r8294] Purpose:Albert Cheng2004-04-011-20/+29
| | | | | | | | | | | | | 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-r8111] Purpose:Albert Cheng2004-01-241-4/+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: verena (pp). Misc. update:
* [svn-r8096] Purpose:Albert Cheng2004-01-221-3/+11
| | | | | | | | | | | | | | | | 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:
* [svn-r8013] Description:Albert Cheng2004-01-031-1/+1
| | | | | | | | | | | | 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:
* [svn-r8003] Purpose:Albert Cheng2003-12-311-42/+0
| | | | | | | | | | | | | | 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:
* [svn-r7993] Purpose:Quincey Koziol2003-12-291-0/+1
| | | | | | | | | | | | 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
* [svn-r7923] Purpose:Quincey Koziol2003-12-101-0/+40
| | | | | | | | | | | | 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
* [svn-r7701] Purpose:Bill Wendling2003-10-221-59/+65
| | | | | | | | | | | | | | 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:
* [svn-r7615] Purpose:Quincey Koziol2003-10-131-1/+1
| | | | | | | | | | | Code cleanup Description: Clean up various compiler warnings. Platforms tested: FreeBSD 4.9 (sleipnir) w/parallel too minor to require h5committest
* [svn-r7480] Purpose:Quincey Koziol2003-09-161-0/+2
| | | | | | | | | | | | | | | | | 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-r7265] *** empty log message ***Raymond Lu2003-07-261-2/+2
|
* [svn-r6975] Purpose:Quincey Koziol2003-06-051-0/+2
| | | | | | | | | | | Bug fix Description: Don't attempt to perform collective I/O on chunked datasets. Platforms tested: FreeBSD 4.8 (sleipnir) w/parallel h5committested
* [svn-r6795] Purpose:Bill Wendling2003-05-051-1/+9
| | | | | | | | | | | | | | | | 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/+1
| | | | | | | | | | | | | | | 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-0/+1
| | | | | | | | | | | | | | 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-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-0/+2
| | | | | | | | | | | | 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-r6055] Purpose:Quincey Koziol2002-11-051-0/+1
| | | | | | | | | | | | | | 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.
* [svn-r5896] Purpose:Quincey Koziol2002-08-271-0/+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-r5800] Purpose:Quincey Koziol2002-07-151-0/+1
| | | | | | | | | | 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-5/+1
| | | | | | | | | | Code cleanup Description: Removed more compiler warnings, etc. Platforms tested: Linux 2.2.x (eirene) w/parallel
* [svn-r5667] Purpose:Quincey Koziol2002-06-191-2/+12
| | | | | | | | | | Code cleanup Description: Turn on more warnings in the IRIX builds and clean them up. Platforms tested: IRIX64 6.5 (modi4) w/parallel
* [svn-r4975] Description:Albert Cheng2002-02-151-2/+4
| | | | | | | | | | | | | | Users were alarmed by the OFFSET overflow and GB file size tests. Those tests only checks the limits of the MPI implementation, not really as an error. Solution: Changed the VRFY macro to indicate it is an "ERROR". Modified the INFO macro to print messages as "REMARK (not an error)" so that users would not be alarmed. Added an explanation string in the GB file size write/read. Platforms tested: eirene and modi4 (parallel)
* [svn-r4582] Purpose:Albert Cheng2001-11-021-1/+10
| | | | | | | | | | | | | | | | | 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".