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

zfp not found on Ubuntu #1368

Open
eschnett opened this issue Feb 24, 2025 · 4 comments
Open

zfp not found on Ubuntu #1368

eschnett opened this issue Feb 24, 2025 · 4 comments

Comments

@eschnett
Copy link
Contributor

The libzfp-dev package on Ubuntu installs the library into /usr/lib/x86_64-linux-gnu/libzfp.so. This isn't recognized by conduit's zfp detection logic, and there doesn't seem to be a way to specify the path manually.

@cyrush
Copy link
Member

cyrush commented Feb 26, 2025

You found ZFP_DIR, that is the proper way.

We opt for explicit TPL directories to avoid surprises with unintended detection of system libraries.

@cyrush cyrush closed this as completed Feb 26, 2025
@eschnett
Copy link
Contributor Author

To be clear: I do provide ZFP_DIR, and conduit still doesn't find the library. I point ZFP_DIR to /usr. The zfp include files are in /usr/include, but the zfp libraries are in /usr/lib/x86_64-linux-gnu, and conduit doesn't find them. Even when setting ZFP_DIR I cannot build with zfp on Ubuntu.

@cyrush cyrush reopened this Feb 26, 2025
@cyrush
Copy link
Member

cyrush commented Feb 26, 2025

Understood, we usually build zfp ourselves, but we can try to look at how to detect this case.
If ZFP is built with cmake for ubuntu, we might be able to check an extra path for cmake install info.

@eschnett
Copy link
Contributor Author

I'd also be happy to specify ZFP_INCLUDE_DIR AND ZFP_LIBRARY_DIR separately.

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