- changed status to open
- removed comment
hwloc-utils fails due to missing hwloc-assembler (and possibly others)
Issue #1779
resolved
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...
Keyword:
Comments (4)
-
reporter -
- changed title to hwloc-utils fails due to missing hwloc-assembler (and possibly others)
- removed comment
-
- changed status to open
- removed comment
-
- changed status to resolved
- removed comment
Applied.
- Log in to comment