Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: [hwloc-users] Re : hwloc topology check initializing
From: Brice Goglin (brice.goglin_at_[hidden])
Date: 2011-09-03 05:26:28

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" <g.fatigati_at_[hidden]>
Pour : "Hardware locality user list" <hwloc-users_at_[hidden]>
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]