You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the topology object keeps a file open while alive, and this object is not destroyed.
This issue leads to a sneaky Too many open fileserror, and makes hwloc return nonsense values which cause segfault later on in the program.
get_topology should call at the end of the scope by calling
The
get_topology
function is responsible to set up severalvector
s with the correct size based on the underlying topology.daphne/src/runtime/local/vectorized/MTWrapper.h
Lines 87 to 96 in ccba938
However, the
topology
object keeps a file open while alive, and this object is not destroyed.This issue leads to a sneaky
Too many open files
error, and makeshwloc
return nonsense values which cause segfault later on in the program.get_topology
should call at the end of the scope by callinghwloc_topology_destroy(topology);
doc: https://www.open-mpi.org/projects/hwloc/doc/v2.10.0/a00139.php#ga9f34a640b6fd28d23699d4d084667b15
I will prepare a pull request
The text was updated successfully, but these errors were encountered: