#1923: make utils and simfactory ignore HWLOC=BUILD and try to copy hwloc executables from /usr/bin
Reporter:V M
Status:open
Milestone:
Version:development version
Type:bug
Priority:minor
Component:SimFactory

Changes (by Roland Haas):

status:open (was new)

Hello!

Trying to install the Einstein toolkit on a new machine, we came across this seemingly wrong behaviour:

setting HWLOC=BUILD in the optionlist, the ET is built with the bundled hwloc successfully.

However, upon building the utilities, it gives an error when it tries to copy hwloc-ls from /usr/bin to /exe/sim

The error results from hwloc-ls being a broken symlink in the system, but the weird thing is that it actually copies the executables from /usr/bin when we have actually built hwloc using the bundled version.

The same behaviour can also be seen here, where some hwloc executables are copied from /usr/bin, while others are copied from the hwloc bundle:

http://lists.einsteintoolkit.org/pipermail/test/2014-January/000047.html

Copying hwloc-assembler from https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/configs/sim/scratch/external/hwloc/bin/hwloc-assembler to https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/exe/sim Copying hwloc-assembler-remote from https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/configs/sim/scratch/external/hwloc/bin/hwloc-assembler-remote to https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/exe/sim Copying hwloc-bind from /usr/bin/hwloc-bind to https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/exe/sim Copying hwloc-calc from /usr/bin/hwlo

Comment (by Roland Haas):

Please review.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/1923/make-utils-and-simfactory-ignore-hwloc