#2756: SystemTopology fails to handle Intel CPUs with performance and efficiency cores
Reporter:Roland Haas
Status:new
Milestone:
Version:
Type:bug
Priority:major
Component:EinsteinToolkit thorn

SystemTopology fails on new Intel CPUs with an assert similar to:

cactus_sim: configs/sim/build/SystemTopology/system_topology.cc:471: void {anonymous}::set_bindings(hwloc_topology_t, const mpi_host_mapping_t&): Assertion `num_pus % num_cores == 0' failed.

where in the case of a 12th Gen Intel(R) Core(TM) i7-12700

https://en.wikipedia.org/wiki/List_of_Intel_Core_i7_processors#Golden_Cove_+_Gracemont_microarchitecture_(12th_generation)

with performance (16) and efficiency (4) logical cpus hwloc reports:

core_depth 5
num_cores 12
pu_depth 6
num_pus 20

and the assert `num_pus % num_cores == 0` fails (b/c only the 8 performance
cores have hyperthreads).

This has been reported on the mailing list in https://lists.einsteintoolkit.org/pipermail/users/2023-August/009036.html

Not sure if the asserted property is indeed required by SystemTopology or if this is only a sanity check that can be removed

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2756/systemtopology-fails-to-handle-intel-cpus