Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
scemama committed Mar 15, 2024
1 parent dc51f03 commit 8a333ef
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,19 @@ The code should be compliant with the C99
[CERT C coding standard](https://resources.sei.cmu.edu/downloads/secure-coding/assets/sei-cert-c-coding-standard-2016-v01.pdf).
This can be checked with the `cppcheck` tool.

If the configure can not find the hdf5 lib, check your $LIBRARY_PATH variable. Sometimes module only add the lib to the $LD_LIBRARY_PATH and forgot $LIBRARY_PATH.
If you loaded an HDF5 module and the configure script can't find the HDF5 library,
it is probably because the path to the HDF5 library is missing from your `$LIBRARY_PATH`
variable. It happens that when building the HDF5 modules, the system
administrators only append the path to the libraries to the `$LD_LIBRARY_PATH`
variable, but forget to append it also to `$LIBRARY_PATH`, which is required
for linking. A simple workaround for the user is to do

```
export LIBRARY_PATH=$LD_LIBRARY_PATH
```

before running `configure`, but it is preferable to inform the system administators
of the problem.


-----------------
Expand Down

0 comments on commit 8a333ef

Please sign in to comment.