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

Address optimization issue #2036

Merged
merged 21 commits into from
Jul 29, 2021
Merged

Address optimization issue #2036

merged 21 commits into from
Jul 29, 2021

Conversation

WardF
Copy link
Member

@WardF WardF commented Jul 19, 2021

Addresses optimization-related bug (observed on some architectures, when using recent versions of gcc) by passing compiler flags. The underlying issue will need to be further researched and addressed, but in the short term this approach will let us get 4.8.1 released.

d70-t and others added 19 commits July 22, 2020 17:55
In case HDF5 adds more storage specifications, netcdf4 should be able to
cope with them by default. Further specializations could be added
nonetheless.
It seems like it is part of the design of HDF5 virtual datasets that
objects within a file remain opened while the files is aready "closed".
Setting the fclose degree to SEMI would cause the library to bail out.
This commit makes nc_test4/tst_virtual_dataset succeed.

See also #1799
The nc_sync test fails if the settings are different for file creation
and opening.
Older HDF5 libraries do not support virtual datasets but could otherwise
be supported by netCDF4. This change removes the special case to handle
HDF5 virtual datasets if the installed HDF5 version does not support
virtual datasets.
…on compiler optimizations. Good practice to have these fixed in any event.
…rs reported by static analysis. These errors appeared to be false positives as there was logic that should prevent their occurance, but it's possible that optimization would result in these error states occuring.
@WardF WardF added this to the 4.8.1 milestone Jul 19, 2021
@WardF WardF self-assigned this Jul 19, 2021
@WardF
Copy link
Member Author

WardF commented Jul 19, 2021

Also includes #1828

@WardF WardF merged commit 84f0696 into master Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants