FindHDF5 is broken
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