Modify

Opened 17 months ago

#2037 new defect

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

Reported by: Roland Haas Owned by:
Priority: unset Milestone:
Component: Cactus Version: development version
Keywords: HDF5 Cc:

Description

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.

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
Next status will be 'confirmed'.
The owner will be changed from (none) to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.