Skip to content

Commit

Permalink
Use the same generic paths for HDF5 lib in user documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
scopplestone committed Jan 10, 2023
1 parent 7cc17d0 commit dabb1c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/documentation/userguide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,15 @@ Depending whether HDF5 was installed using *configure* or *CMake*, different set

* Configure

export HDF5_DIR = /opt/hdf5/1.X.X/
export HDF5_DIR = /opt/hdf5/1.X.X

* CMake

export HDF5_DIR = /opt/hdf5/1.X.X/shared/cmake/XXX

If your CMake version is above 3.9.X, CMake uses a new `findPackage` routine, requiring that `HDF5_ROOT` is set

export HDF5_ROOT=/opt/hdf5/1.10.0-patch1/mpi/
export HDF5_ROOT=/opt/hdf5/1.X.X

For convenience, you can add these lines to your `.bashrc`.

Expand Down Expand Up @@ -181,7 +181,7 @@ The cause of the problem is that `export HDF5_ROOT=/opt/hdf5/vX.X.X/...` sets th
to HDF5 being built with possibly a different version (or compiler settings) for HOPR and CGNS.
The variable is also exposed in cmake

HDF5_ROOT /opt/hdf5/1.12.2/gcc/12.2.0/openmpi/4.1.4
HDF5_ROOT /opt/hdf5/1.X.X

Note that it does not matter if the correct path is exported via `export HDF5_DIR=...` if the variable **HDF5_ROOT** is also set as
CGNS automatically searches for the latter.
Expand Down

0 comments on commit dabb1c8

Please sign in to comment.