Skip to content

Commit

Permalink
add docs of set_libraries! for setting custom HDF5 library (#1658)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert authored Oct 5, 2023
1 parent 3f4b0f4 commit bd98469
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/src/parallelization.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd98469

Please sign in to comment.