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

Installation issue on MacOS #105

Closed
KokoFan16 opened this issue Jun 22, 2023 · 0 comments
Closed

Installation issue on MacOS #105

KokoFan16 opened this issue Jun 22, 2023 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation
Milestone

Comments

@KokoFan16
Copy link

I installed hdf5-mpi via "brew install hdf5-mpi" on MacOS, and the "cmake .. " can find it correctly.

-- Found HDF5: -- Found HDF5: /usr/local/Cellar/hdf5-mpi/1.14.1/lib/libhdf5.dylib;/usr/local/opt/libaec/lib/libsz.dylib;/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/lib/libz.tbd;/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/lib/libdl.tbd;/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/lib/libm.tbd (found version "1.14.1-2")  
-- Using HDF5 version: 1.14.1-2
-- Looking for H5_HAVE_SUBFILING_VFD
-- Looking for H5_HAVE_SUBFILING_VFD - not found

But when I tried to make it, 'hdf5.h' file cannot be found.

./h5bench/commons/h5bench_util.c:17:10: fatal error: 'hdf5.h' file not found
#include <hdf5.h>
     ^~~~~~~~
1 error generated.

I then tried the command "export CPATH="/usr/local/Cellar/hdf5-mpi/1.14.1/", and some new errors showed up:

./h5bench/h5bench_patterns/h5bench_write.c:340:9: error: implicit declaration of function 'H5Pset_dxpl_mpio' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        H5Pset_dxpl_mpio(*plist_id_out, H5FD_MPIO_COLLECTIVE);
        ^
./h5bench/h5bench_patterns/h5bench_write.c:931:9: error: implicit declaration of function 'H5Pset_all_coll_metadata_ops' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        H5Pset_all_coll_metadata_ops(fapl, 1);
        ^
./h5bench/h5bench_patterns/h5bench_write.c:932:9: error: implicit declaration of function 'H5Pset_coll_metadata_write' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        H5Pset_coll_metadata_write(fapl, 1);
        ^
@jeanbez jeanbez self-assigned this Jul 10, 2023
@jeanbez jeanbez added bug Something isn't working documentation Improvements or additions to documentation labels Jul 10, 2023
@jeanbez jeanbez added this to the v.1.5 milestone Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants