HDF5's detect.sh searches for hdf5 in the "usual" directories even when HDF5_DIR is set

Create issue
Issue #2037 new
Roland Haas created an issue

The code in detect.sh passes HDF5_DIR as the "GUESS" (7th) argument of find_lib and eventually that argument is prepended to the list of "usual" directories in bash_utils.sh

local DIRS="$GUESS /usr /usr/local /usr/local/packages /usr/local/apps /opt /opt/local $HOME c:/packages"

This seems wrong. If a HDF5_DIR is given then the configure stage should fail if HDF5 is not found there. Otherwise the system would unexpectedly pick eg a system hdf5 instead of one from a module if the module was updated and its path changed.

Keyword: HDF5

Comments (0)

  1. Log in to comment