Hello,
hwloc 2 is to be released sooner or later, and it introduces a few API
changes. The build log for version slurm-llnl-17.02.7 of slurm shows:
../../../../../src/plugins/task/cgroup/task_cgroup_cpuset.c: In function
'_get_cpuinfo':
../../../../../src/plugins/task/cgroup/task_cgroup_cpuset.c:643:2: warning:
implicit declaration of function 'hwloc_topology_ignore_type'; did you mean
'hwloc_topology_export_xml'? [-Wimplicit-function-declaration]
hwloc_topology_ignore_type (topology, HWLOC_OBJ_CACHE);
^~~~~~~~~~~~~~~~~~~~~~~~~~
hwloc_topology_export_xml
../../../../../src/plugins/task/cgroup/task_cgroup_cpuset.c:643:40: error:
'HWLOC_OBJ_CACHE' undeclared (first use in this function); did you mean
'HWLOC_OBJ_L5CACHE'?
hwloc_topology_ignore_type (topology, HWLOC_OBJ_CACHE);
^~~~~~~~~~~~~~~
HWLOC_OBJ_L5CACHE
There might also be other issues.
To test against the development tree for hwloc 2, one can use
git clone http://github.com/open-mpi/hwloc.git
Samuel