src issueshttps://gitlab.psi.ch/OPAL/src/-/issues2018-04-09T21:41:15+02:00https://gitlab.psi.ch/OPAL/src/-/issues/216FindHDF5 is broken2018-04-09T21:41:15+02:00gsellFindHDF5 is brokenThe FindHDF5 in OPAL is broken. If you link static the order of libraries matters on Linux. Linking with a static HDF5 library will most likely fail since the libraries required by libhdf5.a are not listed after libhdf5.a:
Linking with
...The FindHDF5 in OPAL is broken. If you link static the order of libraries matters on Linux. Linking with a static HDF5 library will most likely fail since the libraries required by libhdf5.a are not listed after libhdf5.a:
Linking with
```
g++ -o opal ... -ldl -lm -lz ... -lhdf5
```
will fail on Linux with a static HDF5 library. This will do:
```
g++ -o opal ... -ldl -lm -lz ... -lhdf5 -ldl -lm -lz
```OPAL-1.6.2gsellgsell