[ET Trac] [Einstein Toolkit] #2037: HDF5's detect.sh searches for hdf5 in the "usual" directories even when HDF5_DIR is set
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Sat Apr 29 16:52:17 CDT 2017
#2037: HDF5's detect.sh searches for hdf5 in the "usual" directories even when
HDF5_DIR is set
--------------------+-------------------------------------------------------
Reporter: rhaas | Owner:
Type: defect | Status: new
Priority: unset | Milestone:
Component: Cactus | Version: development version
Keywords: HDF5 |
--------------------+-------------------------------------------------------
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.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/2037>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list