hi
I am getting following error during  make check step of a program
installation.
 I have updated hwloc installed recently by sudo apt-get installed hwloc
command.

 can someone suggest a solution?
someone suggested me  to downgrade to older versions.
 what will be command line for that
 i tried  sudo apt -get hwloc=1.11.3 but getting error cant identify hwloc.
 i am posting complete error list thrown by cmake below.
 *newbie: urgent help *



…

…
[ 92%] Building CXX object
src/gromacs/CMakeFiles/libgromacs.dir/hardware/gpu_hw_info.cpp.o
[ 92%] Building CXX object
src/gromacs/CMakeFiles/libgromacs.dir/hardware/hardwaretopology.cpp.o
/home/nabi/simulations/gromacs-2018/src/gromacs/hardware/hardwaretopology.cpp:
In function ‘int gmx::{anonymous}::parseHwLocNuma(hwloc_topology_t,
gmx::HardwareTopology::Machine*)’:
/home/nabi/simulations/gromacs-2018/src/gromacs/hardware/hardwaretopology.cpp:354:64:
error: ‘struct hwloc_obj’ has no member named ‘memory’
354 | machine->numa.nodes[i].memory =
hwlocNumaNodes[i]->memory.total_memory;
| ^~~~~~
/home/nabi/simulations/gromacs-2018/src/gromacs/hardware/hardwaretopology.cpp:378:49:
error: ‘hwloc_get_whole_distance_matrix_by_depth’ was not declared in this
scope
378 | const struct hwloc_distances_s * dist =
hwloc_get_whole_distance_matrix_by_depth(topo, depth);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nabi/simulations/gromacs-2018/src/gromacs/hardware/hardwaretopology.cpp:381:54:
error: ‘const struct hwloc_distances_s’ has no member named ‘latency_base’
381 | machine->numa.baseLatency = dist->latency_base;
| ^~~~~~~~~~~~
/home/nabi/simulations/gromacs-2018/src/gromacs/hardware/hardwaretopology.cpp:382:54:
error: ‘const struct hwloc_distances_s’ has no member named ‘latency_max’
382 | machine->numa.maxRelativeLatency = dist->latency_max;
| ^~~~~~~~~~~
/home/nabi/simulations/gromacs-2018/src/gromacs/hardware/hardwaretopology.cpp:389:65:
error: ‘const struct hwloc_distances_s’ has no member named ‘latency’
389 | machine->numa.relativeLatency[i][j] = dist->latency[i*dist->nbobjs+j];
| ^~~~~~~
/home/nabi/simulations/gromacs-2018/src/gromacs/hardware/hardwaretopology.cpp:407:65:
error: ‘struct hwloc_obj’ has no member named ‘memory’
407 | machine->numa.nodes[0].memory = hwlocMachine->memory.total_memory;
| ^~~~~~
/home/nabi/simulations/gromacs-2018/src/gromacs/hardware/hardwaretopology.cpp:
In function ‘void
gmx::{anonymous}::parseHwLoc(gmx::HardwareTopology::Machine*,
gmx::HardwareTopology::SupportLevel*, bool*)’:
/home/nabi/simulations/gromacs-2018/src/gromacs/hardware/hardwaretopology.cpp:507:36:
error: ‘HWLOC_TOPOLOGY_FLAG_IO_DEVICES’ was not declared in this scope; did
you mean ‘HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM’?
507 | hwloc_topology_set_flags(topo, HWLOC_TOPOLOGY_FLAG_IO_DEVICES);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM
make[2]: *** [src/gromacs/CMakeFiles/libgromacs.dir/build.make:10782:
src/gromacs/CMakeFiles/libgromacs.dir/hardware/hardwaretopology.cpp.o]
Error 1
make[1]: *** [CMakeFiles/Makefile2:3636:
src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
getting error
_______________________________________________
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/hwloc-users

Reply via email to