When build PBS Pro with 1.11.x, then it works, but with the new version it says:
mom_main.c: In function ‘mom_topology’:
mom_main.c:10790:39: error: ‘HWLOC_TOPOLOGY_FLAG_IO_DEVICES’ undeclared (first use in this function)
HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM | HWLOC_TOPOLOGY_FLAG_IO_DEVICES)
^
mom_main.c:10790:39: note: each undeclared identifier is reported only once for each function it appears in
mom_main.c:10792:4: error: too few arguments to function ‘hwloc_topology_export_xmlbuffer’
|| (hwloc_topology_export_xmlbuffer(topology, &xmlbuf, &xmllen)
^
In file included from /cm/shared/apps/hwloc/current/include/hwloc.h:2255:0,
from mom_main.c:114:
/cm/shared/apps/hwloc/current/include/hwloc/export.h:102:20: note: declared here
HWLOC_DECLSPEC int hwloc_topology_export_xmlbuffer(hwloc_topology_t topology, char **xmlbuffer, int *buflen, unsigned long flags);
Does this mean PBS Pro does not support hwloc2 yet or I am missing something?