<html>#1923: make utils and simfactory ignore HWLOC=BUILD and try to copy hwloc executables from /usr/bin
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>V M</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>open</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td>development version</td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>SimFactory</td></tr>
</table>

<p>Changes (by Roland Haas):</p>
<p><table>
<tr><td>status:</td><td>open (was new)</td></tr>
</table></p>
<p>Hello!</p>
<p>Trying to install the Einstein toolkit on a new machine, we came across this seemingly wrong behaviour:</p>
<p>setting HWLOC=BUILD in the optionlist, the ET is built with the bundled hwloc successfully.</p>
<p>However, upon building the utilities, it gives an error when it tries to copy hwloc-ls from /usr/bin to /exe/sim </p>
<p>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. </p>
<p>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:</p>
<p><a href="http://lists.einsteintoolkit.org/pipermail/test/2014-January/000047.html" rel="nofollow" class="ap-connect-link">http://lists.einsteintoolkit.org/pipermail/test/2014-January/000047.html</a></p>
<p>Copying hwloc-assembler from <a href="https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/configs/sim/scratch/external/hwloc/bin/hwloc-assembler">https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/configs/sim/scratch/external/hwloc/bin/hwloc-assembler</a> to <a href="https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/exe/sim">https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/exe/sim</a>
Copying hwloc-assembler-remote from <a href="https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/configs/sim/scratch/external/hwloc/bin/hwloc-assembler-remote">https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/configs/sim/scratch/external/hwloc/bin/hwloc-assembler-remote</a> to <a href="https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/exe/sim">https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/exe/sim</a>
Copying hwloc-bind from /usr/bin/hwloc-bind to <a href="https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/exe/sim">https://build.barrywardell.net/job/EinsteinToolkitReleased/ws/exe/sim</a>
Copying hwloc-calc from /usr/bin/hwlo
<p>Comment (by Roland Haas):</p>
<p>Please review.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/1923/make-utils-and-simfactory-ignore-hwloc'>https://bitbucket.org/einsteintoolkit/tickets/issues/1923/make-utils-and-simfactory-ignore-hwloc</a></p>
</html>