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

Support for HDF5 #477

Closed
Tux opened this issue May 30, 2024 · 2 comments
Closed

Support for HDF5 #477

Tux opened this issue May 30, 2024 · 2 comments

Comments

@Tux
Copy link

Tux commented May 30, 2024

PDL tries to use Alien::HDF4 to find support for PDL::IO::HDF

My box with openSUSE Tumbleweed only has hdf5:

hdf5-1.12.3-1.1.x86_64
hdf5-devel-1.12.3-1.1.x86_64
hdf5-devel-data-1.12.3-1.1.x86_64
libhdf5-200-1.12.3-1.1.x86_64
libhdf5_cpp200-1.12.3-1.1.x86_64
libhdf5_fortran200-1.12.3-1.1.x86_64
libhdf5_hl200-1.12.3-1.1.x86_64
libhdf5_hl_cpp200-1.12.3-1.1.x86_64
libhdf5hl_fortran200-1.12.3-1.1.x86_64

Of course Alien::HDF4 will not find that, so PDL won't be able to support hdf5

@mohawk2
Copy link
Member

mohawk2 commented May 30, 2024

Use https://metacpan.org/pod/PDL::IO::HDF5 for HDF5.

@mohawk2 mohawk2 closed this as completed May 30, 2024
@mohawk2
Copy link
Member

mohawk2 commented May 30, 2024

For posterity; thank you @Tux for supplying your build log. That showed the build process saying it was skipping HDF, no problem.

The actual failure was that t/inlinepdlpp.t was generating code using the installed (pre-2.086) PDL::PP, then C-compiling that against 2.089 pdlcore.h, which unsurprisingly failed. This is likely to be because the test_harness did not pass on its PERL5LIB correctly.

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

No branches or pull requests

2 participants