-
Notifications
You must be signed in to change notification settings - Fork 262
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
4.6.3-development ncgen hangs on bzip2 filter in install directory #1347
Comments
Actually, I did not intend the .so files in netcdf-c/plugins to be installed. They are
|
Some other suggestions
|
Thanks for the quick response. Glad it works for you. It fails for me on Fedora Core 26. What are the reasons to not install the plugin libraries in
NB: I am not killing the process. The "Killed" output happens automatically. At first I thought it was just hanging but after a minute or so it exits with "Killed". Here is the output with
|
That 'Killed' is so weird. I have never seen it before. The only thing that comes to mind |
I found some info here: |
Thanks. I ran it again and watched memory with "top" and it seems to cause an OOM so the kernel OOM-killer must have been invoked. I agree that the filter libraries either need a new name or their own install location so as not to conflict with existing libraries of the same name. I will try to create a filter for Zstandard and if/when it works might netCDF be interested in distributing it if I create and submit a PR? |
We have never quite decided what to do about providing custom filters. |
re: #1347 It turns out that the plugin libraries (bzip2 and misc) were being installed as part of 'make installed'. This was not intended behavior. But after some discussion in the above issue, it was decided to install the bzip2 plugin. However, in order to avoid naming conflicts, the plugin is installed under the name 'libh5bzip2.so'. Note that this is automake behavior only; the install does not (yet) occur using cmake. Misc. unrelated changes ----------------------- 1. turn off some debug output in ncdump/Makefile.am
I believe the bzip filter should be installed, just as the zstandard filter is to be installed. (See #2294). |
Environment Information
configure
)C
code to recreate the issue?Summary of Issue
ncgen fails to build bzip2.nc from bzip2.cdl when HDF5_PLUGIN_PATH points to the install library directory, though it works when pointing to the build library directory
Steps to reproduce the behavior
bzip2.cdl
here or create it yourself fromnetcdf-c/examples/C/bzip2.nc
.export HDF5_PLUGIN_PATH=${DATA}/tmp/netcdf-c/plugins/.libs
ncgen -k netCDF-4 -b -o ~/nco/data/bzip2.nc ~/nco/data/bzip2.cdl # Works for me
/usr/local
for me)export HDF5_PLUGIN_PATH=/usr/local/lib
ncgen -k netCDF-4 -b -o ~/nco/data/bzip2.nc ~/nco/data/bzip2.cdl # Hangs
Any idea what's going on? This occurs with the latest (20190226 12:30 PT) master branch. Is the install mechanism copying everything needed to the install library directory? Some of the correct libraries seem to be in
/usr/local
:Yet it seems to be missing something that is only in the build directory and does not get installed or configured correctly to work from the install directory. The filter libraries are definitely found in the install directory, otherwise I would get an obnoxious EHDFERR. Instead it just hangs. This does not appear to be related to #1344. Please verify that the filters work expected from the install directory and/or let me know the correct way to invoke filters.
The text was updated successfully, but these errors were encountered: