-
Notifications
You must be signed in to change notification settings - Fork 32
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
H5CPP doesn't differentiate between HDF5 CAPI versions #6
Comments
I am getting errors when compiling my code with H5CPP on Ubuntu 18.04.1 LTS. There is a scope problem. ||=== Build: Release in ConvolutionModelApplication (compiler: GNU GCC Compiler) ===| It looks very similar to the problem you are reporting above. |
Hello, ./configure --prefix=/usr/local --enable-hl=no && make -j4 && sudo make install There are lot's of changes with HDF5 to make it modern as well as perform well. H5CPP is a collaboration between my consulting company and Gerd Heber from HDFGroup to provide near bare hardware throughput at low latency: both parallel and serial. To achieve that H5CPP relies on newly or not yet published HDF5 routines. |
That did the trick! Thx, |
Does it make sense to comment out offending lines and create pull requests? I am using libhdf5 1.10.0 (latest is 1.10.5) and would strongly prefer to use the system version (Ubuntu 18.04). Are the new features such that h5cpp is impossible, or only the new features will be missing in the wrapper? |
Can you please try: commit 1734913 Date: Wed Jan 23 23:28:59 2019 -0500 and let me know if that worked, so I can tag it. |
I suppose this is a similar problem? |
Hi, |
Oh thanks! I missed the --with-default-api-version (sorry, obviously I didn't rtfm properly) .
|
Yes of course, that is the idea! |
Update 2019-Oct-09: Example implementation:
|
using stock ubuntu 18.04LTS with minimal dependencies there are compile time errors triggered by the following HDF5 CAPI properties:
H5Pset_file_space_page_size, H5Pset_page_buffer_size, H5Pset_evict_on_close, H5Pset_mdc_image_config
how to reproduce error:
sudo apt-get install -y build-essential libhdf5-serial-dev
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo sh -c 'echo "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main" >> /etc/apt/sources.list'
sudo sh -c 'echo "deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main" >> /etc/apt/sources.list'
sudo apt-get update
sudo apt-get -y install clang-tools-7 llvm-7-tools libclang-7-dev
git clone https://github.com/steven-varga/h5cpp.git
git checkout ubuntu-18.04LTS
cd h5cpp && make install
note:
on dev suite: ubuntu@master.vargaconsulting.ca the the offending lines are commented out
The text was updated successfully, but these errors were encountered: