#1764: Error with compilation of HWLOC ------------------------------------+--------------------------------------- Reporter: maxim.barkov@… | Owner: eschnett Type: defect | Status: assigned Priority: blocker | Milestone: ET_2015_05 Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: HWLOC ------------------------------------+---------------------------------------
Comment (by eschnett):
In this case, MPI should also be set to "build".
We need to decide whether it is okay to ask for new packages to be installed on Ubuntu. Currently we do ask for packages, and if so, asking for hwloc-dev and numa-dev etc. should be fine. With these, hwloc is not broken any more; we just add -lnuma to the list of hwloc libraries.
Alternatively, we say that no new package should be required. We then call the system "hwloc" broken, since hwloc-dev may not be present. We then need to make sure we don't use it, neither directly nor indirectly. Every Ubuntu package that may use hwloc then cannot be used. Thus we need to build MPI ourselves, and possibly also HDF5 if we cannot ensure that the system HDF5 is a serial one. Overall, I don't think this is a good idea for Ubuntu in general.
Maybe we should have a "standalone.cfg" option list that does not expect anything from the system, but builds everything, unless we are really sure that a system library that we find is good. Given that libraries depend on each other, that's difficult to detect.