Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: Re: [hwloc-users] Trying to get last cpu location
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2013-03-05 12:25:47

Hello Fabio,
Which hwloc release are you using ? get_last_cpu_location() was only
added in hwloc v1.2. It has always been available since then, even on
when not supported (it will return -1 with errno=ENOSYS in this case).
If this doesn't help, can you send your test program?

Le 05/03/2013 18:01, Fabio Tordini a écrit :
> Hello,
> I'm experiencing a problem using the function
> 'hwloc_get_last_cpu_location(...)': when compiling i first get a
> warning about an implicit declaration of the function, and then it
> gives an "undefined reference" error.
> Everything else works just fine and I was thinking whether I have to
> link some other libraries or perform some other actions in order to be
> able to use the function.
> The tests I'm executing are run on a x86_64 GNU/Linux machine, and as
> far as I know that function should be totally supported on Linux systems.
> thanks,
> Fabio
> _______________________________________________
> hwloc-users mailing list
> hwloc-users_at_[hidden]