summaryrefslogtreecommitdiffstats
path: root/fortran/test
Commit message (Collapse)AuthorAgeFilesLines
* H5Fget_obj_ids/count no longer returns transient typesMatthew Larson2024-03-081-26/+25
|
* fixes compilation failures due to H5E additions (#4090)Scot Breitenfeld2024-03-081-4/+4
|
* Added new H5E with tests. (#4049)Scot Breitenfeld2024-03-074-88/+374
| | | | | | | | | | | Added Fortran H5E APIs: h5eregister_class_f, h5eunregister_class_f, h5ecreate_msg_f, h5eclose_msg_f h5eget_msg_f, h5epush_f, h5eget_num_f, h5ewalk_f, h5eget_class_name_f, h5eappend_stack_f, h5eget_current_stack_f, h5eset_current_stack_f, h5ecreate_stack_f, h5eclose_stack_f, h5epop_f, h5eprint_f (C h5eprint v2 signature) Addresses Issue #3987
* Rename incorrectly named option (#4067)Allen Byrne2024-03-051-4/+4
| | | | | | | * Rename incorrectly named option * Restore the correct uses of USING_MEMCHECKER * Update release note
* Fix the datatype passed to H5*exists_async APIs in tests. (#4033)Scot Breitenfeld2024-02-231-0/+32
| | | Add a new testing function to verify C_BOOL values.
* Fixed XL and gfortran errors (#3968)Scot Breitenfeld2024-01-301-4/+4
| | | | | * fixed XL and Gfortran errors * fixed data type len array
* fixed BIND name (#3957)Scot Breitenfeld2024-01-241-7/+2
| | | * update H5Ssel_iter_reset_f test
* Fortran API work. (#3941)Scot Breitenfeld2024-01-233-9/+161
| | | | | | | | | | | | * - Added Fortran APIs: H5FGET_INTENT_F, H5SSELECT_ITER_CREATE_F, H5SSEL_ITER_GET_SEQ_LIST_F, H5SSELECT_ITER_CLOSE_F, H5S_mp_H5SSELECT_ITER_RESET_F - Added Fortran Parameters: H5S_SEL_ITER_GET_SEQ_LIST_SORTED_F, H5S_SEL_ITER_SHARE_WITH_DATASPACE_F - Added tests for new APIs - Removed H5F C wrapper stubs - Documentation misc. cleanup.
* Added H5Fdelete_f with test (#3912)Scot Breitenfeld2023-12-301-10/+41
|
* Add HDF5_DISABLE_TESTS_REGEX option to skip tests (#3859)Allen Byrne2023-11-221-0/+18
|
* Add intel oneapi windows build to CI CMake (#3836)Allen Byrne2023-11-101-7/+7
|
* Fortran Wrappers H5VLnative_addr_to_token_f and ↵Scot Breitenfeld2023-11-031-9/+25
| | | | | | | | | H5VLnative_token_to_address_f (#3801) * Added H5VLnative_addr_to_token_f and H5VLnative_token_to_address_f * Added H5VLnative_addr_to_token_f and H5VLnative_token_to_address_f tests * Added H5VLnative_addr_to_token_f and H5VLnative_token_to_address_f tests
* Add h5pget_actual_selection_io_mode fortran wrapper (#3746)Scot Breitenfeld2023-10-231-0/+5
| | | | | | | * added h5pget_actual_selection_io_mode_f test * added tests for h5pget_actual_selection_io_mode_f * fixed int_f type conversion
* Attempt to quiet some warnings with cray compilers. (#3724)Scot Breitenfeld2023-10-1911-60/+15
|
* Correct fortran CMake generator expressions (#3670)Allen Byrne2023-10-141-29/+29
|
* Fixes test failure for gfortran -O2 and -O3, -fdefault-real-16 (#3662)Scot Breitenfeld2023-10-131-2/+1
| | | | | | | | | * added cmake ieee flag for nagfor * fixes gfortran -O2 and -O3, -fdefault-real-16 * fixed sync * updated release notes
* Address nagfor exceptions stoppage. (#3658)Scot Breitenfeld2023-10-112-73/+0
| | | | | | | * added cmake ieee flag for nagfor * generalized determining the nag compiler * fixing some misc. NAG warnings
* Strip HD prefix from string/char C API calls (#3540)Dana Robinson2023-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | * 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
* removed C_INT32_T from Fortran APIs (#3537)Scot Breitenfeld2023-09-141-5/+5
|
* fixed nvidia compiler issue (#3527)Scot Breitenfeld2023-09-111-10/+6
|
* misc. fortran fixes for failing CI dailty tests (#3523)Scot Breitenfeld2023-09-082-3/+10
| | | | | * fixed H5Lvisit* interface * changed integer type for direct write
* Added new Fortran API wrappers (#3511)Scot Breitenfeld2023-09-0713-1161/+1858
| | | | | | | | | | | | | | | | | | | * Added new wrappers for h5get_free_list_sizes_f H5Sselect_intersect_block_f H5Sselect_shape_same_f h5pget_no_selection_io_cause_f h5pget_mpio_no_collective_cause_f H5Lvisit_by_name_f H5Lvisit_f H5Fget_info_f h5dwrite_chunk_f h5dread_chunk_f * added h5pget_file_space_page_size_f, h5pset_file_space_page_size_f, h5pget_file_space_strategy_f, h5pset_file_space_strategy_f, h5info tests * added fortran tests * Update tH5F.F90
* removed the use of encoded single apostrophe (#3261)Scot Breitenfeld2023-07-202-14/+14
| | | | | | * removed the use of encoded single apostrophe, and fix H5Dread_chunk from write to read * updated sanitizer paragraph * fixed brief description for H5Fget_info
* Fixed more warnings about extra semicolons (#3249)Sean McBride2023-07-181-3/+3
| | | | | | | * Require semi-colon after H5_CHECK_OVERFLOW calls Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Remove programmer/date from comments (#3210)Dana Robinson2023-06-2911-128/+2
| | | | * Removes Programmer: and Date: fields * Fixes a few Modifications: fields leftover from previous work
* Remove HD/hbool_t from fortran (#3182)Dana Robinson2023-06-284-25/+25
|
* Print out the VOL connector being used in the ASYNC test (#3016)Scot Breitenfeld2023-06-051-2/+2
| | | | | * Print out the VOL connector being used in the ASYNC test * Add h5pget_vol_cap_flags_f with test
* Convert H5F haddr_t macros to H5 (#3039)Dana Robinson2023-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | Several macros for handling haddr_t values exist in H5Fprivate.h and have H5F prefixes, even though they have nothing to do with a particular file (e.g., H5F_addr_lt()). These macros have been moved to H5private.h and renamed to have an H5 prefix. Affected macros: H5F_addr_overflow H5F_addr_defined H5F_addr_eq H5F_addr_ne H5F_addr_lt H5F_addr_le H5F_addr_gt H5F_addr_ge H5F_addr_cmp H5F_addr_overlap H5F_addr_pow2 was unused and removed instead of converted.
* Updated H5Ovisit_f and H5Ovisit_by_name_f wrappers internals. (#2987)Scot Breitenfeld2023-05-221-18/+12
| | | | | | | | | * * Removed C wrappers for H5Ovisit_f and H5Ovist_by_name_f, modifying the Fortran source accordingly. * The intent for op_data was declared INOUT, even though the pointer address INTENT is, in actuality, IN. gfortran was optimizing out op_data in tests where the values were repeatedly reset to the same value. The values were reset in the test because the data the pointer targeted was updated in the callback. * Made use of the 'verify' function to check value correctness. * changed to useing INTEGER(C_INT) instead of C_BOOL, updated the documentation
* Fix 'datatype' misspellings ('dataype') (#2984)Dana Robinson2023-05-191-1/+1
|
* Fixes failures with gfortran 4.8 (#2979)Scot Breitenfeld2023-05-182-5/+11
|
* Fix CMake generator expression syntax (#2909)Allen Byrne2023-05-051-12/+12
|
* Fixed test failure for when REAL is promoted via a compiler flag (#2873)Scot Breitenfeld2023-05-022-13/+14
|
* Add Fortran Selection IO APIs (#2864)Scot Breitenfeld2023-05-013-20/+227
| | | new selection IO fortran APIs with tests
* Remove "the the" from comments and docs (#2865)Dana Robinson2023-05-011-6/+6
|
* Remove unused variable warning (#2828)H. Joe Lee2023-04-281-1/+1
| | | Polaris FORTRAN compiler reported the unused variable warning.
* Added Fortran Async APIs (#2715)Scot Breitenfeld2023-04-214-29/+226
| | | H5A, H5D, H5ES, H5G, H5F, H5L and H5O async APIs were added.
* Comment cleanup (#2689)Quincey Koziol2023-04-116-27/+0
| | | * Clean up content and redundant logging in comments.
* Fix new codespell issues (#2521)Mark Kittisopikul2023-03-081-1/+1
| | | | | * Fix new codespell issues * Have codespell ignore ./config/sanitizer/sanitizers.cmake
* Pass-through connector testing flexibility (#2399)Quincey Koziol2023-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Correct concurrency bugs when running tests, along with a bugfix & small warning cleanup. * Committing clang-format changes * Allow spaces (and tabs) in VOL connector info string from environment variable. * Parse connector name from HDF5_PLUGIN_PATH environment variable better * Correct H5VLquery_optional to use H5VL routine instead of H5I. Also add an error message to the failure return value from not finding a plugin. * Play nice with existing plugin paths * Use API routine to determine if native connector is terminal. * Committing clang-format changes * Make string size larger, to allow for connectors with longer names. * Be more flexible about testing external pass through connectors, especially if they have registered new optional operations. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: AWS ParallelCluster user <ec2-user@ip-10-0-0-65.us-east-2.compute.internal> Co-authored-by: Koziol <qkoziol@88665a374c70.ant.amazon.com>
* Update FORTRAN VOL connector test for external pass-through testing (#2393)Quincey Koziol2023-01-051-1/+3
| | | | | | | | | | | | | | | | | * Correct concurrency bugs when running tests, along with a bugfix & small warning cleanup. * Committing clang-format changes * Allow spaces (and tabs) in VOL connector info string from environment variable. * Parse connector name from HDF5_PLUGIN_PATH environment variable better * Correct H5VLquery_optional to use H5VL routine instead of H5I. Also add an error message to the failure return value from not finding a plugin. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: AWS ParallelCluster user <ec2-user@ip-10-0-0-65.us-east-2.compute.internal> Co-authored-by: Koziol <qkoziol@88665a374c70.ant.amazon.com>
* fixed unclosed objects in test (#2290)Scot Breitenfeld2022-12-101-6/+10
|
* Update copyright headers (#2184)Larry Knox2022-11-0137-38/+1
| | | | | * 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.
* Multi Dataset (#2120)Neil Fortner2022-10-193-1/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix bug with cross platform compatibility of references within vlens. No testing yet. * Merge from multi_rd_wd_coll_io to a more recent branch from develop. Untested, probably does not work yet. * Committing clang-format changes * Committing clang-format changes * Fix many bugs in multi dataset branch. Mostly works, some issues in SWMR tests. * Committing clang-format changes * Disable test in swmr.c that was failing due to bug in HDF5 unrelated to multi dataset. * Committing clang-format changes * Fixed fortran multi-dataset tests * Fixed xlf errors * Added benchmark code for multi-datasets * loops over datasets * added missing error arg. * Added gnuplot formatting * Jonathan Kim original MD benchmarking code * updated MD benchmarking code * code clean-up * Only make files in feature test mode * misc clean-up * removed TEST_MDSET_NO_LAST_DSET_2ND_PROC option * Committing clang-format changes * Change multi dataset API to use arrays of individual parameters instead of the parameter struct. * Committing clang-format changes * Update to new multi dataset Fortran API and tests. (#1724) * Update to new multi dataset Fortran API and tests. * Sync Fortran with develop. * skipping h5pget_mpio_actual_io_mode_f for now * Fixed issue with dxpl_id, changed to variable size dim. (#1770) * Remove "is_coll_broken" field from H5D_io_info_t struct * Committing clang-format changes * Minor cleanup in multi dataset code. * Committing clang-format changes * Clean up in multi dataset code. * Committing clang-format changes * Committing clang-format changes * Fix speeling * Fix bug in parallel compression. Switch base_maddr in io_info to be a union. * Committing clang-format changes * Implement selection I/O support with multi dataset. Will be broken in parallel until PR 1803 is merged to develop then the MDS branch. * Committing clang-format changes * Spelling * Fix bug in multi dataset that could cause errors when only some of the datasets in the multi dataset I/O used type conversion. * Committing clang-format changes * Integrate multi dataset APIs with VOL layer. Add async versions of multi dataset APIs. * Committing clang-format changes * Spelling fixes * Fix bug in non-parallel HDF5 compilation. * Committing clang-format changes * Fix potential memory/free list error. Minor performance fix. Other minor changes. * Committing clang-format changes * Fix memory leak with memory dataspace for I/O. * Committing clang-format changes * Fix stack variables too large. Rename H5D_dset_info_t to H5D_dset_io_info_t. * Committing clang-format changes * Remove mem_space_alloc field from H5D_dset_io_info_t. Each function is now responsible for freeing any spaces it adds to dset_info. * Committing clang-format changes * fixed _multi Fortran declaration * Refactor various things in (mostly) the serial I/O code path to make things more maintainable. * Committing clang-format changes * updated to array based, doxygen, and examples * Reinstate H5D_chunk_map_t, stored (via pointer) inside H5D_dset_io_info_t. * Change from calloc to malloc for H5D_dset_io_info_t and H5D_chunk_map_t. Switch temporary dset_infos to be local stack variables. * Committing clang-format changes * format cleanup * format cleanup * added coll and ind * Modify all parallel I/O paths to take dset_info instead of assuming dset_info[0]. * Committing clang-format changes * fixed output * Rework parallel I/O code to work properly with multi dataset in more cases. Fix bug in parallel compression. * Committing clang-format changes * Prevent H5D__multi_chunk_collective_io() from messing up collective opt property for other datasets in I/O. Other minor cleanup. Add new test case to t_pmulti_dset.c for H5FD_MPIO_INDIVIDUAL_IO, disabled for now due to failures apparently unrelated to multi dataset code. * Fix spelling * Committing clang-format changes * Replace N log N algorithm for finding chunk in H5D__multi_chunk_collective_io() with O(N) algorithm, and remove use of io_info->sel_pieces in that function. * Committing clang-format changes * Replace sel_pieces skiplist in io_info with flat array of pointers, use qsort in I/O routine only when necessary. * Committing clang-format changes * Add new test case to mdset.c * Committing clang-format changes * Fix spelling * Very minor fix in H5VL__native_dataset_read() * Fix bug that could affect filtered parallel multi-dataset I/O. * Add RM entries for H5Dread_multi(), H5Dread_multi_async(), H5Dwrite_multi(), and H5Dwrite_multi_async() * Unskip test in swmr.c * Committing clang-format changes * Eliminate H5D__pre_read and H5D__pre_write * Remove examples/ph5mdsettest.c. Will fix and re-add as a test. * Enable hyperslab combinations in mdset test * Committing clang-format changes * Clarify H5Dread/write_multi documentation. * Fix bugs in multi-dataset I/O. Expand serial multi dataset test. Update macro in parallel multi dataset test. * Committing clang-format changes * Spelling * Remove obsolete entry in bin/trace * Rework type conversion buffer allocation. Only one buffer is shared between datasets in mdset mode, and it is malloced instead of calloced. * Committing clang-format changes * Fix bug in error handling in H5D__read/write * added multi-dataset fortran check with optional dataset creation id (#2150) * removed dup. dll entry * Address comments from code review. * Remove spurious changes in H5Fmpi.c * Fix issue with reading unallocated datasets in multi-dataset mode. Address other comments from code review. * Committing clang-format changes * Delay chunk index lookup from io_init to mdio_init so it doesn't add overhead to single dataset I/O. * Committing clang-format changes * Fix inappropriate use of piece_count * updated copyright on new file, removed benchmark from testing dir. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: M. Scot Breitenfeld <brtnfld@hdfgroup.org> Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com>
* Fix H5Dfill_f test (#2162)Scot Breitenfeld2022-10-142-115/+176
| | | | | | | * change to integer for legacy H5Dfill_f testing * fixed H5Dfill testing issues with promoted real and integer * updated build fortran dependencies
* Implemented C matching (and general) H5Dfill Fortran wrappers (#2152)Scot Breitenfeld2022-10-112-1/+314
|
* Update CMake code to 3.18 minimum version (#2080)Allen Byrne2022-09-031-1/+1
| | | | | * Update CMake code to 3.18 minimum version * Updated release note
* Corrects more Fortran warnings (#2059)Dana Robinson2022-08-231-1/+2
| | | | | | | | | * Moves -Wunused-dummy-arguments to the developer warnings since this generates a lot of spurious, unfixable noise due to things like callback wrappers * Changes the return cast in h5fget_fileno_c, fixes a comment, and comment on potential badness * Initializes a variable in tH5L_F03.F90 to quiet a 'maybe uninitialized' warning
* Quiets Fortran warnings about large arrays (#2053)Dana Robinson2022-08-221-2/+4
|
* Removes cmake_ext_mod (files moved to cmake) (#2041)Dana Robinson2022-08-191-4/+4
| | | | At one time this content was a git submodule shared between several projects but that time has long passed.