[ET Trac] [Einstein Toolkit] #1779: hwloc-utils fails due to missing hwloc-assemlber (and possibly others)
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Thu May 28 09:45:36 CDT 2015
#1779: hwloc-utils fails due to missing hwloc-assemlber (and possibly others)
-----------------------------------+----------------------------------------
Reporter: knarf | Owner:
Type: defect | Status: new
Priority: minor | Milestone: ET_2015_11
Component: EinsteinToolkit thorn | Version: development version
Keywords: |
-----------------------------------+----------------------------------------
Currently, make sim-utils fails for me:
{{{
make[1]: *** No rule to make target '/home/knarf/ET_dev/exe/sim/hwloc-
assembler', needed by 'utils'. Stop.
Makefile:870: recipe for target 'sim-utils' failed
}}}
Indeed, I don't have the tool hwloc-assembler installed, although I do
have the hwloc library installed, and it is picked up by the hwloc thorn,
and Cactus succeeds in building the executable. In fact, no binary is
installed with the standard hwloc library package, there is another
package for the utilities. As long as we don't need these utilities I
suggest to not depend on them.
The following patch follows the example of PAPI and only installs known
tools that are actually present in the installation.
{{{
Index: make.configuration.defn
===================================================================
--- make.configuration.defn (revision 66)
+++ make.configuration.defn (working copy)
@@ -1,4 +1,5 @@
# make.configuration.defn file for thorn hwloc
# Define the hwloc utilities
-ALL_UTILS += hwloc-assembler hwloc-assembler-remote hwloc-bind hwloc-calc
hwloc-distances hwloc-distrib hwloc-info hwloc-ls hwloc-ps lstopo lstopo-
no-graphics
+STD_HWLOC_UTILS = hwloc-assembler hwloc-assembler-remote hwloc-bind
hwloc-calc hwloc-distances hwloc-distrib hwloc-info hwloc-ls hwloc-ps
lstopo lstopo-no-graphics
+ALL_UTILS += $(filter $(STD_HWLOC_UTILS), $(notdir $(wildcard
$(HWLOC_DIR)/bin/*)))
}}}
We might even think about backporting this change. I would support this,
but would not go ahead without at least one other maintainer approving.
Obviously after testing...
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1779>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list