From bd98469a827b0d0d5a9be50b95e841738ef85c6c Mon Sep 17 00:00:00 2001 From: Joshua Lampert <51029046+JoshuaLampert@users.noreply.github.com> Date: Thu, 5 Oct 2023 07:37:05 +0200 Subject: [PATCH] add docs of set_libraries! for setting custom HDF5 library (#1658) --- docs/src/parallelization.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/src/parallelization.md b/docs/src/parallelization.md index e55471bb256..610aa2cbd95 100644 --- a/docs/src/parallelization.md +++ b/docs/src/parallelization.md @@ -186,6 +186,11 @@ julia> set_preferences!( "libhdf5" => "/path/to/your/libhdf5.so", "libhdf5_hl" => "/path/to/your/libhdf5_hl.so", force = true) ``` +Alternatively, with HDF5.jl v0.17.1 or higher you can use +```julia +julia> using HDF5 +julia> HDF5.API.set_libraries!("/path/to/your/libhdf5.so", "/path/to/your/libhdf5_hl.so") +``` For more information see also the [documentation of HDF5.jl](https://juliaio.github.io/HDF5.jl/stable/mpi/). In total, you should have a file called LocalPreferences.toml in the project directory that contains a section