Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIO 2.5.4 and NetCDF-4.8.1 (HDF5-1.12.1) #1889

Closed
rjdave opened this issue Dec 3, 2021 · 6 comments
Closed

PIO 2.5.4 and NetCDF-4.8.1 (HDF5-1.12.1) #1889

rjdave opened this issue Dec 3, 2021 · 6 comments
Assignees
Labels

Comments

@rjdave
Copy link

rjdave commented Dec 3, 2021

I have not tried auto-tools, but cmake (v3.19.1) configure fails with NetCDF-4.8.1 because NC_DISPATCH_VERSION has changed from 2 to 3 in the latest release. I changed line 369 in CMakeLists.txt to:

#if !(NC_DISPATCH_VERSION == 2 || NC_DISPATCH_VERSION == 3)

and configure completed and make, make tests completed but I get 7 failed tests with ctest:

The following tests FAILED:
         43 - pio_file_fail (Timeout)
        104 - tst_async_multi (Failed)
        105 - tst_ncint_async_perf (Failed)
        106 - tst_ncint_perf (Failed)
        107 - tst_pio_async (Failed)
        108 - tst_pio_udf (Failed)
        109 - tst_var_compress (Failed)

I found this pull request and this issue about NC_DISPATCH_VERSION so I'm betting you already know some changes (possibly to src/ncint/ncintdispatch.{c&h}) are probably necessary to account for the switch from filter_actions to filter_ids and filter_info. Unfortunately, I don't know nearly enough about filters or dispatch tables to help much.

@edwardhartnett edwardhartnett self-assigned this Dec 3, 2021
@jedwards4b
Copy link
Contributor

@edwardhartnett Can you help with this issue?

@edwardhartnett
Copy link
Collaborator

Try building PIO without the --enable-netcdf-integration and see if that works...

@jedwards4b
Copy link
Contributor

@edwardhartnett that does work, the issue is supporting the NC_DISPATCH_VERSION=3

@jedwards4b
Copy link
Contributor

@edwardhartnett I would like to make a new PIO tag - any chance we can make NC_DISPATCH_VERSION=3
work before I do that? Thanks.

@edwardhartnett
Copy link
Collaborator

Sorry, I didn't have time and may not until the next release of netcdf-c, in which the dispatch table will change again.

What I am doing is working on new compression in netCDF, and this will also require some new functions in PIO to use these capabilities...

@jedwards4b
Copy link
Contributor

Resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants