summaryrefslogtreecommitdiffstats
path: root/testpar/t_file.c
Commit message (Collapse)AuthorAgeFilesLines
* HDF5 API test updates (#3835)jhendersonHDF2023-11-131-2/+38
| | | | | | | | | | | | | | | | | | | | | * HDF5 API test updates Removed test duplication from bringing API tests back into the library from external VOL tests repo Synced changes between API tests and library's tests Updated API tests CMake code to directly use and install testhdf5, testphdf5, etc. instead of creating duplicate binaries Added new h5_using_native_vol() test function to determine whether the VOL connector being used is (or the VOL connector stack being used resolves to) the native VOL connector * Remove duplicate variable
* Fix memory corruption in 'MPI I/O FAPL preserve' test (#3806)jhendersonHDF2023-10-311-22/+22
|
* Preserve MPI-I/O file hints when fapl is closed (#3755)vchoi-hdfgroup2023-10-251-0/+102
| | | * Fix for issue #3025: Save the MPI info in the file struct so H5Fget_access_plist() can retrieve it from there.
* Fix H5Pset_evict_on_close failing regardless of actual parallel use (#3761)Glenn Song2023-10-241-0/+59
| | | | | Allow H5Pset_evict_on_close to be called regardless of whether a parallel build of HDF5 is being used Fail during file opens if H5Pset_evict_on_close has been set to true on the given File Access Property List and the size of the MPI communicator being used is greater than 1
* Strip HD prefix from string/char C API calls (#3540)Dana Robinson2023-09-151-8/+8
| | | | | | | | | | | | | | | | | | | | | * Strip HD prefix from string/char C API calls * HD(f)(put|get)(s|c) * HDstr* * HDv*printf * HD(s)(print|scan)f * HDperror But NOT: * HDstrcase* * HDvasprintf * HDstrtok_r * HDstrndup As those are not C99 and have portability work-around implementations. They will be handled later. * Fix th5_system.c screwup
* Consistent initialization of hid_t in the tests (#3521)Scot Breitenfeld2023-09-081-1/+1
|
* Convert hbool_t --> bool in testpar (#3495)Dana Robinson2023-09-051-37/+37
|
* chore: match function call and VRFY() output (#3428)H. Joe Lee2023-08-251-3/+3
|
* Fix assertion failure during file close on error (#3387)jhendersonHDF2023-08-181-0/+51
|
* Work around a testphdf5 failure on Cray MPICH machines (#3361)jhendersonHDF2023-08-081-7/+10
|
* test(parallel): verify FALSE case (#3356)H. Joe Lee2023-08-051-11/+17
|
* Fixes the last of the -Wextra-semi-stmt warnings (#3326)Sean McBride2023-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Fixed extra semi warning by adjusting alternative macro definitions * Find-replace H5E_END_TRY; -> H5E_END_TRY * Made H5Epush_goto a do-while loop, fixed indentation * Made GOTOERROR and ERRMSG do-while loops * Made Hgoto_error and Hgoto_done do-while loops * Made vrfy_cint_type and vrfy_ctype do-while loops * Made TEST_TYPE_CONTIG and others do-while loops * Removed extraneous semi-colons * Committing clang-format changes --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Remove HD from HDmem* calls (#3211)Dana Robinson2023-06-291-1/+1
|
* Remove HD from memory allocate/free calls (#3195)Dana Robinson2023-06-281-8/+8
| | | | | | * HDcalloc * HDfree * HDmalloc * HDrealloc
* Rename HD(f)printf() to (f)printf() (#3194)Dana Robinson2023-06-281-2/+2
|
* Rename HDassert() to assert() (#3191)Dana Robinson2023-06-281-1/+1
| | | | | * Change HDassert to assert * Fix bin/make_err
* Many clang -Wextra-semi-stmt fixes (#2537)Sean McBride2023-06-161-2/+2
| | | | | * Adds semicolons to function-like macros * Adds a do..while(0) loop to some macros * Removes semicolons when inappropriate, especially H5E_TRY_BEGIN/END
* Remove unnecessary fields from cache structs (#2951)Quincey Koziol2023-05-151-3/+0
| | | | | | | | | | | | * Remove unnecessary 'magic' field from cache structs Signed-off-by: Quincey Koziol <quincey@koziol.cc> * Committing clang-format changes --------- Signed-off-by: Quincey Koziol <quincey@koziol.cc> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Synchronize HDF5 tests with VOL tests (#2628)jhendersonHDF2023-04-031-7/+9
|
* Update copyright headers (#2184)Larry Knox2022-11-011-1/+0
| | | | | * Updated source file copyright headers to remove "Copyright by the Board of Trustees of the University of Illinois", which is kept in the top-level COPYING file.
* Develop clang 13 format (#1933)Allen Byrne2022-07-261-8/+8
| | | | | * Update format source to clang 13 * More format changes
* Snprintf2 (#1399)Sean McBride2022-01-281-8/+8
| | | | | | | | | | | | | * Replaced many uses of sprintf with safer snprintf Many very straightforward, but in a few cases added a length parameter to some private functions, because buffer length was otherwise unknowable. * Removed unnecessary use of static on small buffers This improves thread safety. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* OESS-168: Remove clang warnings. (#1282)H. Joe Lee2021-12-101-1/+1
| | | | | | | * OESS-168: Remove clang warnings. * OESS-168: Remove commented-out code. * OESS-168: Address @gnuoyd review.
* Fixed Spelling Errors (#1166)Scot Breitenfeld2021-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed missed closing of a dataset * fixed missed closing of a dataset * fixed typo in error return * Committing clang-format changes * minor edits * code format * Committing clang-format changes * code format * minor edit * switched from using MPI_count, to actual bytes written for H5FD_mpio_debug rw debugging * Committing clang-format changes * changed size_i in printf to reflect the I/O. * Committing clang-format changes * Fixed seg fault with xlf on BE with -qintsize=8 * fixed error function string * spelling corrections via codespell, added new spell check github actions * Committing clang-format changes * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * work around for https://github.com/codespell-project/codespell/issues/2137 * misc * added missing file * misc * misc. * misc * switch to using Codespell with GitHub Actions * misc. * misc. * fixed more sp errors * Fix new typos found by codespell. * fixed proceed with precede * fixed variable in fortran test * fixed minnum * updated spelling list Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Fix several warnings (#747)jhendersonHDF2021-06-161-3/+2
|
* Brings the native implementation of H5Fdelete() from Bitbucket (#524)Dana Robinson2021-04-161-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Committing clang-format changes * Brings the native VFD H5Fdelete() implementation from Bitbucket Only brings the 'del' callbacks, not the 'open/close' scheme. * Formatter changes * Committing clang-format changes * Fixes direct VFD callback name * Removes UNUSED macro from family API call * Adds barrier and rank 0 check to MPI-I/O VFD delete * Revert "Adds barrier and rank 0 check to MPI-I/O VFD delete" This reverts commit 909765f759d9d96e84f4b8b1cc14f7d2b3ac8143. * Revert "Revert "Adds barrier and rank 0 check to MPI-I/O VFD delete"" This reverts commit 9b04bef1157853fc79fcb8fcc3e8ba1371091702. * Adds a second barrier after the delete in MPI-I/O VFD * Only delete files in the core VFD when the backing store flag is set * Fixes string issues in multi VFD Also, h5test.c cleanup code now uses H5Fdelete(). * Formatted source * Rework fapl checks for MPI-I/O VFD delete callback Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Update clang config (#473)Quincey Koziol2021-03-171-1/+4
| | | | | | | * Update clang config to put H5E_BEGIN_TRY / H5E_END_TRY on separate lines, empty C++ methods on separate lines, understand that ALL_MEMBERS / UNIQUE_MEMBERS are foreach macros, and properly skip the 'config' directory in the find command without emiting a warning * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Update license url part2 (#333)Larry Knox2021-02-171-1/+1
| | | | | | * Modify temporary rpath for testing in java example scripts. * Update URL in source file Copyright headers for web copy of COPYING file - files not in src or test.
* Add flag to H5CX_pop that allow setting the properties to return to ↵Quincey Koziol2020-12-011-4/+4
| | | | application to be skipped. (#134)
* Clang-format of source filesAllen Byrne2020-09-301-231/+243
|
* Trim trailing whitespaceQuincey Koziol2020-04-201-1/+1
|
* squash cast warning fixkmu2020-01-231-8/+8
|
* Made code review edit suggested by Jerome, plus various code updates to ↵Richard Warren2019-10-071-5/+5
| | | | files that I touched to eliminate compile warnings (on my Linux box).
* Make the initial bug fixes to allow >2GB writes with Independent IORichard Warren2019-10-051-2/+1
|
* Add comment to add tests later to verify conflicting values for MPI-specific ↵Vailin Choi2019-09-021-0/+5
| | | | properties on multiple opens.
* Merge branch 'develop' into H5Pset_fapl_mpiDana Robinson2019-08-271-50/+49
|\
| * OESS-29 Update HD prefix mostlyAllen Byrne2019-08-241-51/+50
| |
* | Added H5Pset/get_mpi_params calls and unified them with the MPI-I/ODana Robinson2019-08-261-13/+90
|/ | | | VFD info in H5FDmpio.c.
* First pass of converting H5PB_* routines to use shared file pointers.Quincey Koziol2019-08-191-1/+1
|
* enabled commented-out codeM. Scot Breitenfeld2019-08-011-4/+1
|
* Cleanup API context function usage.Quincey Koziol2018-03-191-19/+36
|
* Add API context interface and use it throughout the library.Quincey Koziol2018-03-151-41/+60
|
* 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.
* Final merge of page buffering branch to developQuincey Koziol2017-03-141-2/+613
|
* [svn-r29545] Minor normalization w/ trunk in preparation for big merge.Dana Robinson2016-03-241-5/+8
| | | | | | Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools serial autotools parallel (MPICH 3.1.4)
* [svn-r29088] - Add a test for retrieving the property values for the new ↵Mohamad Chaarawi2016-02-111-0/+113
| | | | | | | | | coll md functions. - ifdef some code that don't need to be built in parallel - more minor enhancements tested on bb-8 with parallel and serial
* [svn-r24864] Description:Quincey Koziol2014-03-211-2/+1
| | | | | | | | | | | | | | | | | | 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-r20119] Description:Quincey Koziol2011-02-171-2/+4
| | | | | | | | | | | | | | | | | | | | 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-r17318] Did some code cleanup.Albert Cheng2009-08-111-4/+4
| | | | | | | | | | t_file.c: replace the old variable, color, with a more meaningfule name of is_old. t_mpi.c: use the official mpi_file_delete, instead of remove, to delete a file in MPI environment. Tested: Only jam in parallel as changes are trivial.
* [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.