Commit Graph

1822 Commits

Author SHA1 Message Date
Scot Breitenfeld
9c327bc616
append '-WF,' when passing C preprocessor directives to the xlf compiler (#3976)
* append '-WF,' when passing C preprocessor directives to the xlf compiler

* strip path from compiler name
2024-01-31 23:04:43 -06:00
Scot Breitenfeld
3a3501df2d
h5 compiler wrappers now pass all arguments passed to it to the compile line (#3954)
* The issue was that the "allargs" variable was not being used in the final command of the compiler wrapper. Any entries containing an escaped quote (\", \') or other non-matching argument (*) would not be passed to the compile line. I have fixed this problem by ensuring all arguments passed to the compiler wrapper are now included in the compile line.

* added testing for compiler wrappers
2024-01-30 12:20:58 -06:00
Scot Breitenfeld
791915e92a
Fixed XL and gfortran errors (#3968)
* fixed XL and Gfortran errors

* fixed data type len array
2024-01-30 09:05:20 -08:00
Scot Breitenfeld
d79667eb0c
Add API support for Fortran MPI_F08 module definitions. (#3959)
* revert to using c-stub for _F08 MPI APIs

* use mpi compiler wrappers for cmake and nvhpc
2024-01-29 13:13:33 -06:00
Scot Breitenfeld
424f3803ea
fixed BIND name (#3957)
* update H5Ssel_iter_reset_f test
2024-01-24 10:19:47 -06:00
Scot Breitenfeld
54fb809382
Fortran API work. (#3941)
* - 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.
2024-01-23 07:59:10 -08:00
Scot Breitenfeld
9d1fe2c166
renamed defined H5_VERS* to avoid conflicts (#3926) 2024-01-05 06:55:54 -06:00
Scot Breitenfeld
8f1a93f1a2
New Fortran Examples added (#3916)
* added subfiling example

* Added filtered writes with no selection example
2024-01-03 10:55:17 -06:00
Scot Breitenfeld
2fc140079b
Added H5Fdelete_f with test (#3912) 2023-12-30 17:33:31 -06:00
Quincey Koziol
3a21ee0877
Add 'warning density' computation to the warnhist script (#3910)
* Add 'warning density' computation to the warnhist script, along with several
cleanups to it.   Add "--enable-show-all-warnings" configure (and CMake)
option to disable compiler diagnostic suppression (and therefore show all the
otherwise suppressed compiler diagnostics), disabled by default.  Clean up
a buncn of misc. warnings.

Signed-off-by: Quincey Koziol <qkoziol@amazon.com>
2023-12-29 08:42:35 -06:00
Allen Byrne
fc88fcde10
Develop merge examples (#3851)
* Merge examples repo into library

* Change grepTest to be more fault-tolerant

* Update examples macro file

* Exclude all Fortran examples from doxygen
2023-11-27 15:30:15 -06:00
Allen Byrne
3ea21ccb3e
Add HDF5_DISABLE_TESTS_REGEX option to skip tests (#3859) 2023-11-22 07:51:30 -06:00
Scot Breitenfeld
046440400f
Moved the README to markdown and expanded its overview of the files, file generation, and other Fortran wrapper development practices as mentioned in the HDF5 architectural document. I added a new figure and included the SVG file and the original xfig file it was generated from. (#3862) 2023-11-21 09:05:23 -08:00
Allen Byrne
378e99079b
cmakedefine macro uses C comments with "#undef" (#3845)
* Correct CMake macro name
* Use ifdef for H5_HAVE_FLOAT128 like elsewhere
2023-11-13 13:52:31 -06:00
Allen Byrne
66786fa036
Add intel oneapi windows build to CI CMake (#3836) 2023-11-10 07:36:46 -06:00
Scot Breitenfeld
6a3c859e58
Fortran Wrappers H5VLnative_addr_to_token_f and 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
2023-11-03 09:22:00 -07:00
Scot Breitenfeld
5e787741cd
Removed the use of C wrappers from H5P APIs. (#3824)
* fix seg fault on frontier/cray

* fix seg fault on frontier/cray

* fix seg fault on frontier/cray

* removed the use of h5pclose_c

* removed the use of h5pclose_c
2023-11-03 06:02:50 -07:00
Robert Adam
87b3e7c821
Don't build util tests when HDF5_EXTERNALLY_CONFIGURED=ON (#3781)
Fixes #3780
2023-10-30 12:47:06 -05:00
Scot Breitenfeld
207d749a28
Added missing DLL for H5PGET_ACTUAL_SELECTION_IO_MODE_F (#3760)
* add missing H5PGET_ACTUAL_SELECTION_IO_MODE_F dll
2023-10-23 19:02:16 -05:00
Scot Breitenfeld
da3b7ff945
Add h5pget_actual_selection_io_mode fortran wrapper (#3746)
* added h5pget_actual_selection_io_mode_f test

* added tests for h5pget_actual_selection_io_mode_f

* fixed int_f type conversion
2023-10-23 14:55:47 -05:00
Scot Breitenfeld
34f4569cdd
update stat arg for apple (#3726)
* update stat arg for apple

* use H5_HAVE_DARWIN for Apple ifdef

* fix typo

* removed duplicate H5_ih_info_t

* added fortran async test to cmake
2023-10-23 12:35:42 -07:00
Dana Robinson
e4fb67c84a
Clean Autotools files in parallel tests (#3744)
Adds missing files to `make clean` for parallel, including Fortran.
2023-10-22 18:45:22 -07:00
Glenn Song
2d551c9b57
Add -h and --help as flags in h5cc & h5fc (#3729)
Adds these common help flags in addition to -help
2023-10-20 11:28:10 -07:00
Scot Breitenfeld
5672fd8177
Attempt to quiet some warnings with cray compilers. (#3724) 2023-10-19 14:40:08 -07:00
Allen Byrne
65e1bd8ce9
Add NVidia compiler support and CI (#3686) 2023-10-18 12:44:42 -07:00
jhendersonHDF
9557256819
Sync changes that are only in 1.14 branch (#3704) 2023-10-17 21:54:40 -07:00
Allen Byrne
405b0c62f8
Correct fortran CMake generator expressions (#3670) 2023-10-13 23:41:17 -05:00
H. Joe Lee
ffc5fddeb1
Fix link error on clang17/gfortran13/macOS-13 (#3666) (#3671) 2023-10-13 09:40:13 -07:00
Scot Breitenfeld
6aaa960d90
Fixes test failure for gfortran -O2 and -O3, -fdefault-real-16 (#3662)
* added cmake ieee flag for nagfor

* fixes gfortran -O2 and -O3, -fdefault-real-16

* fixed sync

* updated release notes
2023-10-13 09:39:06 -07:00
Scot Breitenfeld
85c176247d
Address nagfor exceptions stoppage. (#3658)
* added cmake ieee flag for nagfor

* generalized determining the nag compiler

* fixing some misc. NAG warnings
2023-10-11 15:16:01 -05:00
Scot Breitenfeld
1e852b94bd
Removed the use of -commons linking option on Darwin (#3581)
Removed the use of -commons linking option on Darwin as COMMON and EQUIVALENCE is no long used
2023-09-25 12:41:48 -07:00
H. Joe Lee
d920a45413
Fix ifx unused variable hdferr warning. (#3568) 2023-09-22 08:45:50 -05:00
Allen Byrne
197596b085
Some minor formatting and text changes (#3563) 2023-09-22 08:44:31 -05:00
Dana Robinson
44a00ef876
Strip HD prefix from string/char C API calls (#3540)
* 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
2023-09-15 15:13:18 -07:00
Scot Breitenfeld
59a90368cd
fixed arg to C H5Dwrite_chunk (#3541) 2023-09-15 11:23:39 -05:00
Scot Breitenfeld
75ba9ec7a6
removed C_INT32_T from Fortran APIs (#3537) 2023-09-14 07:51:39 -07:00
Scot Breitenfeld
a0edeee49f
fixed nvidia compiler issue (#3527) 2023-09-11 11:57:30 -05:00
Scot Breitenfeld
2345f901b2
misc. fortran fixes for failing CI dailty tests (#3523)
* fixed H5Lvisit* interface

* changed integer type for direct write
2023-09-08 17:15:52 -05:00
Scot Breitenfeld
08e115b7d8
Added new Fortran API wrappers (#3511)
* 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
2023-09-07 17:25:07 -05:00
Allen Byrne
37c60bcea8
Add Fortran ES module to deploy list (#3341)
* Add Fortran ES module to deploy list

* Change fortran mod file export to use a list of names
2023-08-04 16:38:20 -05:00
Scot Breitenfeld
1706355ee1
removed the use of encoded single apostrophe (#3261)
* removed the use of encoded single apostrophe, and fix H5Dread_chunk from write to read

* updated sanitizer paragraph
* fixed brief description for H5Fget_info
2023-07-20 09:01:58 -05:00
Scot Breitenfeld
7670d1b753
changed the scope of #ifdef DOXYGEN to now include H5D multi-functions (#3254) 2023-07-18 17:26:38 -05:00
Sean McBride
1903c4b1b0
Fixed more warnings about extra semicolons (#3249)
* Require semi-colon after H5_CHECK_OVERFLOW calls



Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-18 10:35:05 -05:00
Scot Breitenfeld
dfe5cb24b9
addresses compilation fortran warnings on Frontier (#3236) 2023-07-12 13:56:02 -05:00
Dana Robinson
fd933f30b1
Remove programmer/date from comments (#3210)
* Removes Programmer: and Date: fields
* Fixes a few Modifications: fields leftover from previous work
2023-06-29 12:13:29 -07:00
Dana Robinson
942739e6fb
Remove HD/hbool_t from fortran (#3182) 2023-06-27 17:42:29 -07:00
Scot Breitenfeld
e33fd7ecf1
Fixed check for a VOL's async compatibility (#3164)
* cap flag fix in test

* added async comp. output
2023-06-22 08:11:53 -07:00
Scot Breitenfeld
66cee72768
Print out the VOL connector being used in the ASYNC test (#3016)
* Print out the VOL connector being used in the ASYNC test
* Add h5pget_vol_cap_flags_f with test
2023-06-05 09:59:51 -07:00
Dana Robinson
7ecf1d09af
Convert H5F haddr_t macros to H5 (#3039)
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.
2023-06-05 08:04:56 -07:00
Scot Breitenfeld
e08c822c6f
Fixed Fortran Doxygen warnings (#3017)
Fixes Fortran doxygen warnings, #2998
2023-05-26 06:29:38 -07:00