summaryrefslogtreecommitdiffstats
path: root/testpar/t_shapesame.c
Commit message (Collapse)AuthorAgeFilesLines
* Spelling fixes for codespell (#2038)Dana Robinson2022-08-181-6/+6
| | | | | | | * Spelling fixes for codespell * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* clang 13 format #1933 (#1939)Allen Byrne2022-07-271-43/+51
|
* [1.12 Merge]Hdf5 1 12 warnings fixes (#1715)jhendersonHDF2022-05-031-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Warnings fixes (#1680) * Clean stack size warnings in sio_engine (#1687) * Fixes stack size warnings in tcoords.c (#1688) * Address some warnings from casting away of const (#1684) * Fixes stack size warnings in ntypes (#1695) * Fixes stack size warnings in dtransform (#1696) * Fixes stack size warnings in set_extent test (#1698) * Be a bit safer with signed arithmetic, thus quieting some signed-overflow warnings from GCC (#1706) * Avoid a signed overflow: check the range of `entry_ptr->age` before increasing it instead of increasing it and then checking the range. This quiets a GCC warning. * Avoid the potential for signed overflow by rewriting expressions `MAX(0, fwidth - n)` as `MAX(n, fwidth) - n` for various `n`. This change quiets some GCC warnings. * Change some local variables that cannot take sensible negative values from signed to unsigned. This quiets GCC warnings about potential signed overflow. * In a handful of instances, check the range of a signed integer before increasing/decreasing it, just in case the increase/decrease overflows. This quiets a handful of GCC signed-overflow warnings. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Fix object size warnings in cache.c test (#1701) * Fix some const cast and stack/static object size warnings (#1700) * Fix various warnings * Move HDfree_const to H5private.h for wider use * Print output from all ranks in parallel tests on allocation failure * Move const pointer freeing macro to h5test.h for now * Stop lying about H5S_t const-ness (#1209) Hyperslabs can be reworked inside several H5S callbacks, making H5S_t non-const in some places where it is marked const. This change switches these incorrectly const H5S_t pointer parameters and variables to non-const where appropriate. * Fix a few warnings after recent H5S const-related changes (#1225) * Adjustments for HDF5 1.12 Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com> Co-authored-by: David Young <dyoung@hdfgroup.org> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* 1.12: Brings changes from testpar over from develop (#1614)Dana Robinson2022-04-071-32/+32
|
* Merge test changes from develop (#959)Allen Byrne2021-08-251-16/+6
|
* Update URL in source file Copyright headers for web copy of COPYINGLarry Knox2021-02-201-1/+1
| | | | file - files not in src or test.
* 1 12 Whitespace changes after clang-format run (#288)Allen Byrne2021-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | * OESS-98 fix tools test for plugins * sync fork * Merge of changes from dev * Move problem option to bottom of the list until fixed * HDFFV-11106 - fix parsing optional args * HDFFV-11106 add note * grammer fix * Whitespace after clang formatting * Undo format version 11 changes * Update check to working version
* Basic alignment with async branch (#115) (#137)Quincey Koziol2020-11-301-1/+1
| | | | | | | * Basic alignment with async branch - trivial changes to reduce clutter in overall diff. * Update minor error code to reflect change within library * Update the error output to match library
* Merge changes from developAllen Byrne2020-10-081-6/+6
| | | | | Comments and whitespace Skip file-locking and cache changes
* Source formattedAllen Byrne2020-10-011-1984/+1337
|
* Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to developKimmy Mu2020-01-281-6/+1
| | | | | | | | | * commit '406330addf45529ecdd088f4d22e9aab9a03661d': rename macro change condition pick up from Dave's fix leave Wswitch-default for later fix fix Wredundant-decls, Wswitch-default, Wdeclaration-after-statement, Wsign-compare, Wmisleading-indentation, Wshadow
* Merge pull request #2094 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/unused to developKimmy Mu2020-01-281-15/+0
| | | | | | | | | | | * commit '145ef3ceee20c28a443bd11507c58858bea3f889': more cleanup change it back pick up missing piece fix unused related warnings removed unused parameter more fix and address comments remove unsed var,function,macro, etc
* OESS-29 Update HD prefix mostlyAllen Byrne2019-08-241-27/+27
|
* Add H5Sselect_shape_same and H5Sselect_intersect_block API routines, alongQuincey Koziol2019-07-301-162/+63
| | | | with tests and minor cleanups and refactorings.
* Align develop with incoming hyperslab_updates branch changes.Quincey Koziol2019-02-131-16/+16
|
* Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-03-181-854/+852
|\ | | | | | | | | | | merge_func_enter_vol Plus initial steps toward merging API context push into FUNC_ENTER_API* macros
| * Cleanup overuse of include filesAllen Byrne2018-02-141-854/+852
| |
* | Add API context interface and use it throughout the library.Quincey Koziol2018-03-151-1/+1
|/
* fixed missing prototype warningM. Scot Breitenfeld2017-10-091-1/+1
|
* removed always true ifdefM. Scot Breitenfeld2017-10-091-2/+0
|
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* [svn-r30201] Description:Quincey Koziol2016-07-181-0/+6
| | | | | | | | | Switch test framework to dynamically allocate the testing array, and expand the length of the description field. Tested on: MacOSX/64 10.11.5 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r30189] Description:Quincey Koziol2016-07-181-8/+8
| | | | | | | | | Clean up more warnings: drop the warning count from ~1310 down to ~940, with only 31 types of warnings in 148 files (down from 38 types in 167 files). Tested on: MacOSX/64 10.11.5 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r30075] Description:Quincey Koziol2016-06-141-1/+1
| | | | | | | | | | Bring object/dataset/group/named datatype features from revise_chunks branch to trunk. Also CMake support for h5format_convert and a bunch of misc. cleanups. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r29880] Add HD to sleep function callsAllen Byrne2016-05-041-1/+1
|
* [svn-r29079] rename the coll read requirement function.Mohamad Chaarawi2016-02-101-1/+1
|
* [svn-r29077] Description:Quincey Koziol2016-02-101-2/+2
| | | | | | | | Normalize against the trunk, in preparation for final merge. Tested on: MacOSX/64 10.11.3 (amazon) w/serial & parallel (h5committest not required on this branch)
* [svn-r28649] - add new API to toggle collective metadata write.Mohamad Chaarawi2015-12-141-1/+3
| | | | | - set default to FALSE - fix some bugs.
* [svn-r27929] merge from trunk.Mohamad Chaarawi2015-10-011-2/+3
|\
| * [svn-r27768] Description:Quincey Koziol2015-09-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Complete revamp of package initialization/shutdown mechanism in the library. Each package now has a single init/term routine. This new way should avoid packages being re-initialized during library shutdown and is also be _much_ more proactive about giving feedback for resource leaks internal to the library. Introduces a new "module" header file for packages in the library (e.g src/H5Fmodule.h) which sets up some necessary package configuration macros for the FUNC_ENTER/LEAVE macros. (The VFL drivers have their own slightly modified version of this header, src/H5FDdrvr_module.h) Also cleaned up a bunch of resources leaks all across the library and tests, along with addressing many warnings, as I encountered them. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel Linux/64 3.10.x (kituo) w/serial & parallel Linux/64 2.6.x (ostrich) w/serial
* | [svn-r27261] apply metadata enhancement patch that was based on the mdc 3 ↵Mohamad Chaarawi2015-06-211-0/+2
|/ | | | branch.
* [svn-r26279] re-commit 26260 that Dana moved out fixing the versioning of ↵Mohamad Chaarawi2015-02-231-3/+0
| | | | functions to work with v16 default API.
* [svn-r26271] Reverse merge of r26260 which was causing daily test failures.Dana Robinson2015-02-221-0/+3
| | | | Tested on: jam w/ parallel and fortran
* [svn-r26260] - add an attribute callback to call H5_term_library when ↵Mohamad Chaarawi2015-02-201-3/+0
| | | | | | | | | MPI_COMM_SELF is destroyed. - add tests for above. - this is a fix for HDFFV-883. tested h5committest
* [svn-r25921] - wrap MPI 3 usage with MPI_VERSION compile time check.Mohamad Chaarawi2014-12-231-2/+4
| | | | - build out unbuffered stdout/err for windows
* [svn-r25790] fix bug in shapesame test where test fails with more than 10Mohamad Chaarawi2014-11-051-2/+8
| | | | | | | procs. This is a fix in the test itself and does not have to do with the library code. tested cloud machine with parallel.
* [svn-r24864] Description:Quincey Koziol2014-03-211-21/+2
| | | | | | | | | | | | | | | | | | Remove all traces of MPI-POSIX VFD and GPFS detection/code. Remove remaining traces of stream VFD. Remove testpar/t_posix_compliant test (it's not actually verifying anything). Clean up H5D__mpio_opt_possible() further. Moved environment variable that disables MPI collective operations into MPI-IO VFD (instead of it being in src/H5S.c). A few other small code cleanups. Tested on: Mac OSX/64 10.9.2 (amazon) w/parallel & serial
* [svn-r21613] Ported express test tunings and a minor edit back to John Mainzer2011-10-191-3/+3
| | | | | | testpar/t_shapesame.c tested with h5committest
* [svn-r21260] Refactored shape same tests heavily, and added code to skip a ↵John Mainzer2011-08-181-2536/+2765
| | | | | | | | | | | | | | | | | | | | | configurable fraction of the subtests depending on the current express test level. Also added code to display fraction of subtests skipped. The current tables controlling the fraction of tests skipped as a function of express test level is a guess at what will be needed. It will be necessary to tune this table against the express test targets and our worst case system. Initially commit tested on Jam, Koala, and Heiwa, but ran into an unrelated failure on Heiwa (bug reported). Replaced Heiws with Linew and got a clean h5commit test. Also tested parallel on Koala. Initially got very bad results (test timed out roughly 1/3 to 1/2 the way through). Discussed matters with Matthew, and moved the build to the solid state drive on Koala. This dealt with the performance issues completely.
* [svn-r20119] Description:Quincey Koziol2011-02-171-177/+172
| | | | | | | | | | | | | | | | | | | | Clean up MPI resource leaks in parallel tests, along with a bunch of compiler warnings. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.6 (amazon) in debug mode Mac OS X/32 10.6.6 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r19978] Patched in a temporary fix so that:Albert Cheng2011-01-211-8/+11
| | | | | | | | | | | | | | When $HDF5ExpressTest is NOT set or when it is set to 1 or 0, it does not skip test. When $HDF5ExpressTest is set other than values above, it may skip tests. The following message is printed: Test skipped when some tests are really skipped. This is a temporary patch so that v186 can be tested. A more permanent fix is needed, later. Tested: h5committest.
* [svn-r19965] Purpose:Albert Cheng2011-01-181-14/+59
| | | | | | | | This continues the previous work and this one breaks the checker_board_hyperslab_dr_pio_test() into 4 smaller sub-tests. Tested: h5committest plus jam serial.
* [svn-r19961] Purpose:Albert Cheng2011-01-161-19/+66
| | | | | | | | | | | | The shape same tests ran too long. Break them into smaller subtests so that they can finish sub-test in a shorter time. Easier to tell which one sub-test is taking too much time and/or errors occur in one fo the sub-tests. This one breaks the contig_hyperslab_dr_pio_test() into 4 smaller sub-tests. Tested: h5committest
* [svn-r19959] Bug: the VRFY macro, for some reason, called MPI_Finalize() ↵Albert Cheng2011-01-161-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when it encountered error and wanted to exit the test program. This was not good since if only a subset of processes called MPI_Finalize(), the other processes will likely hang. That happened in AIX that it would waited till the alarm signal to kill the processes. Definitely a waste of time. Solution: Changed it to call MPI_Abort. That showed another problem. HDF5 has setup atexit post-process to try to close unclose objects, release resources, etc. But if the MPI processes have encountered an error and has been aborted, it is not likely any more MPI calls can function properly. E.g., it would attempt to free some communicators in the HDF5 MPIO file handle. It would again hang. Solution: need to call H5dont_atexit() to disable any atexit post-processing. This must be done early, like before calling H5open. This is added to each parallel test main program. testphdf5.h: Changed macros VRFY and MESG. Added comments too. testphdf5.c: t_mpi.c: t_cache.c: t_shapesame.c: Added H5dont_atexit. Tested: h5committest.
* [svn-r19941] Purpose:Albert Cheng2011-01-121-0/+4836
Moved the two shape same tests from testphdf5 to a separated executables, named t_shapesame. The shape same tests runs too long for testphdf5. In a separated executalbe, it will be easier to separate any errors in testphdf5 sub-tests from the shape same tests. t_shapesame.c: Contains the shape same tests (cloned from t_rank_projection.c) plus a duplicate of "testphdf5.c" for now. After verifying it is correct, more cleanup is needed. testphdf5.c: Removed the two shape same tests (chsssdrpio & cbhsssdrpio). Makefile.am: Makefile.in: Added t_shapesame as a new test executable. Removed t_rank_projections.c from part of testphdf5. testph5.sh.in: Temporary added the "t_shapesame -p" test for testing shape same tests with MPIO-Posix VFD. Tested: h5committested, plus serial jam.