Assign NULL to the topology when declaring the variable. It will be changed 
into something else when init() is called.


----- Reply message -----
De : "Gabriele Fatigati" <>
PourĀ : "Hardware locality user list" <>
Objet : [hwloc-users] hwloc topology check initializing
Date : sam., sept. 3, 2011 10:56

Dear hwloc users,

how to check if my hwloc topology is initialized? I have to use
hwloc_topology_check? This code not works:

hwloc_topology_t topology;

if( topology==NULL)

Ing. Gabriele Fatigati

HPC specialist

SuperComputing Applications and Innovation Department

Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy                    Tel:   +39 051 6171722

g.fatigati [AT]

Reply via email to