Commit Graph

8554 Commits

Author SHA1 Message Date
Dennis Heimbigner
f897b458ea Fix szip handling 2022-04-30 19:06:01 -06:00
Dennis Heimbigner
e667afad36 Update release notes 2022-04-29 14:46:35 -06:00
Dennis Heimbigner
a8aa6e3db3 Remove debug 2022-04-29 14:38:18 -06:00
Dennis Heimbigner
126b3f9423 Support installation of filters into user-specified location
re: https://github.com/Unidata/netcdf-c/issues/2294

Ed Hartnett suggested that the netcdf library installation process
be extended to install the standard filters into a user specified
location. The user can then set HDF5_PLUGIN_PATH to that location.

This PR provides that capability using:
````
configure option: --with-plugin-dir=<absolute directory path>
cmake option: -DPLUGIN_INSTALL_DIR=<absolute directory path>
````

Currently, the following plugins are always installed, if
available: bzip2, zstd, blosc.
If NCZarr is enabled, then additional plugins are installed:
fletcher32, shuffle, deflate, szip.

Additionally, the necessary codec support is installed
for each of the above filters that is installed.

## Changes:
1. Cleanup handling of built-in bzip2.
2. Add documentation to docs/filters.md
3. Re-factor the NCZarr codec libraries
4. Add a test, although it can only be exercised after
   the library is installed, so it cannot be used during
   normal testing.
5. Cleanup use of HDF5_PLUGIN_PATH in the filter test cases.
2022-04-29 14:31:55 -06:00
Dennis Heimbigner
2856ee751d restore 2022-04-29 12:36:33 -06:00
Dennis Heimbigner
1ec459e25a Merge branch 'master' of https://github.com/DennisHeimbigner/netcdf-c 2022-04-29 12:05:28 -06:00
Dennis Heimbigner
94db4d7a56 ckp 2022-04-29 12:04:27 -06:00
Ward Fisher
11f9e00c2d
Merge pull request #2316 from DennisHeimbigner/twofixes.dmh
Two fixes for the price of one!
2022-04-28 17:19:08 -06:00
Dennis Heimbigner
e139d41e29 Forgot to fix CMake 2022-04-28 16:03:28 -06:00
Dennis Heimbigner
65038335bf Two fixes for the price of one!
## Include <getopt.h> in various utilities
re: https://github.com/Unidata/netcdf-c/issues/2303
As noted, some utilities are using getopt() without including
getopt.h, so add as needed.

## Turn off run_diskless2.sh when ENABLE_PARALLEL is true
re: https://github.com/Unidata/netcdf-c/issues/2315
Ed notes that this test hangs when running parallel.  The test
is attempting to create a very large in-memory file, which is
the proximate cause. But no idea what's the underlying cause.
2022-04-28 15:51:20 -06:00
Ward Fisher
6f01a87df1
Merge pull request #2311 from edwardhartnett/ejh_c99 2022-04-27 13:47:02 -06:00
Ward Fisher
0cd01f8bdc
Merge pull request #2312 from wkliao/tst_cdf5format 2022-04-27 13:46:04 -06:00
Edward Hartnett
5982b1c5ef change to trigger CI 2022-04-27 09:52:00 -06:00
Dennis Heimbigner
ad62ed2d41 ckp 2022-04-26 17:58:20 -06:00
wkliao
3cc31e8100 allow to test tst_cdf5format when PnetCDF is enabled 2022-04-26 17:09:45 -05:00
Edward Hartnett
01bbc0471d declared a variable outside for loop 2022-04-26 14:39:51 -06:00
Ward Fisher
f37313d1cf
Merge pull request #2309 from edwardhartnett/ejh_summary
added BENCHMARKS to the build summary
2022-04-26 12:37:43 -06:00
Ward Fisher
885e2cc4ae
Merge pull request #2307 from edwardhartnett/ejh_warn
fixed all code warnings
2022-04-26 11:05:11 -06:00
Ward Fisher
248e263d0e
Merge pull request #2289 from mjwoods/mingw-w64-static-tests
Fix dll exports for ncxml
2022-04-26 11:03:43 -06:00
Ward Fisher
8714b51ebf
Merge pull request #2310 from edwardhartnett/ejh_pnetcdf
fix for inq_dimlen() bug with unlimited dimensions on parallel I/O builds
2022-04-26 09:43:57 -06:00
Edward Hartnett
5400018593 fixing parallel I/O bug with dim length for unlimited dimensions 2022-04-26 08:00:20 -06:00
Edward Hartnett
d7efa7da82 fixing parallel I/O bug with dim length for unlimited dimensions 2022-04-26 07:59:24 -06:00
Edward Hartnett
1bcb87fb0c fixing parallel I/O bug with dim length for unlimited dimensions 2022-04-26 07:58:05 -06:00
Edward Hartnett
08b6ea65a4 fixing parallel I/O bug with dim length for unlimited dimensions 2022-04-26 07:54:47 -06:00
Edward Hartnett
e723b1d570 added BENCHMARKS to the summary 2022-04-26 06:18:52 -06:00
Edward Hartnett
8d8fdfd12c fixed warnings 2022-04-26 05:31:07 -06:00
Edward Hartnett
155467ba2d merged master 2022-04-25 10:50:34 -06:00
Ward Fisher
ec89d8828c
Merge pull request #2300 from edwardhartnett/ejh_par
fixed parallel functions for netcdf-fortran build
2022-04-25 10:45:51 -06:00
Edward Hartnett
5d1d09bf75 fixed parallel functions for netcdf-fortran build 2022-04-24 05:46:55 -06:00
Edward Hartnett
e3f305908e fixed parallel functions for netcdf-fortran build 2022-04-24 05:41:14 -06:00
Ward Fisher
62c1220ace
Merge pull request #2298 from WardF/fix_win_download_url.wif
Update URL for windows downloads.
2022-04-22 09:13:13 -06:00
Ward Fisher
09e362f209 Update URL for windows downloads. 2022-04-22 09:10:54 -06:00
Ward Fisher
460c0e62de
Merge pull request #2297 from WardF/fix_workflow_trigger.wif
Remove on-push trigger for OSX-based workflows.
2022-04-21 16:01:28 -06:00
Ward Fisher
516c73b5d9 Made the parallel build action label mention pnetcdf. 2022-04-21 14:34:18 -06:00
Ward Fisher
b533d4a175
Merge pull request #2292 from edwardhartnett/ejh_mpi_file_2
ensuring that MPI_File_close() is only called on open MPI file handle
2022-04-21 14:28:53 -06:00
Ward Fisher
ad9650604f Remove on-push trigger for OSX-based workflows. 2022-04-21 14:23:53 -06:00
Ward Fisher
cf1a0b8bb7
Merge pull request #2295 from WardF/gh2161.wif
2161 re-run tests
2022-04-19 13:02:53 -06:00
Ward Fisher
982b258c46 Merge branch 'dimscale_attachement_optional' of https://github.com/gsjaardema/netcdf-c into gh2161.wif 2022-04-19 11:06:34 -06:00
Edward Hartnett
9ffc8d6d42 ensuring that MPI_File_close() is only called on open MPI file handle 2022-04-18 08:36:14 -06:00
Edward Hartnett
e9ac9bda1c working on parallel numrec problem 2022-04-18 08:22:50 -06:00
Edward Hartnett
60a0f07ccc attempts to get working 2022-04-12 07:52:16 -06:00
Edward Hartnett
b7d832b37f adding test to demonstrate parallel I/O numrecs problem 2022-04-12 06:56:23 -06:00
Milton Woods
f546d95aa2 Fix dll exports for ncxml 2022-04-12 19:16:58 +10:00
Ward Fisher
dd4edd09eb
Merge pull request #2282 from edwardhartnett/ejh_no_util_tests
turning off tests that depend on ncpathcvt when --disable-utilities is used
2022-04-11 15:11:18 -06:00
Ward Fisher
58660cd438
Merge pull request #2286 from edwardhartnett/ejh_fix_netcdf_meta
fixed missing NC_HAS_QUANTIZE
2022-04-11 14:58:10 -06:00
Ward Fisher
cda16fd893
Merge pull request #2284 from edwardhartnett/ejh_pnetcdf_tests
fixing some of the problems with nc_test when --enable-pnetcdf is used
2022-04-11 14:53:12 -06:00
Ward Fisher
1cb28a9e66
Merge pull request #2105 from mjwoods/mingw-w64-pwd
Use Windows paths in tests of mingw-w64 executables
2022-04-11 13:22:59 -06:00
Ward Fisher
24835e0794
Merge pull request #2287 from edwardhartnett/ejh_add_zstd_meta
added ZSTD to netcdf_meta.h and libnetcdf.settings
2022-04-11 10:40:48 -06:00
Ward Fisher
c0f319de3c
Merge branch 'main' into mingw-w64-pwd 2022-04-11 10:39:10 -06:00
Ward Fisher
04e8af3842
Merge pull request #2240 from iridl/changelog-link
Fix incorrect PR link
2022-04-11 10:37:39 -06:00