On Jun 4, 2013, at 5:11 AM, Brice Goglin <brice.gog...@inria.fr> wrote:

> 2) custom test with ltdl: The program just silently fails to load hwloc
> symbols. Equivalent to passing the topology flag above.


One option might be to try to lt_dlsym one of the hwloc symbols that you know 
you'll need in the plugin (or any public hwloc symbol, for that matter).  If 
ltdl_sym gets NULL back for the hwloc global symbol, then the plugin should 
disqualify itself and have itself unloaded (perhaps with some way of reporting 
what/why it did that).

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to