Brice,
Ah, okay. That’s pretty slick. I have some renaming to do :-).
Thank you,
Sam
On Oct 10, 2019, at 11:14 AM, Brice Goglin
mailto:brice.gog...@inria.fr>> wrote:
Yes.
Once you call HWLOC_SET_SYMBOL_PREFIX(), hwloc takes care of automatically
renaming your external callers and our inter
Yes.
Once you call HWLOC_SET_SYMBOL_PREFIX(), hwloc takes care of
automatically renaming your external callers and our internal hwloc
code. The idea is that none of us has to change your code when enabling
renaming. That's how OMPI manages to support both renamed embedded hwloc
and non-renamed ext
Sorry, I sent the previous email too quickly.
Is the recommended usage of embedded hwloc when using HWLOC_SET_SYMBOL_PREFIX
to use the non-renamed symbols and avoid altogether the prefixed ones?
Thank you,
Sam
On Oct 10, 2019, at 10:30 AM, Brice Goglin
mailto:brice.gog...@inria.fr>> wrote:
L
Thank you, Brice. A prudent approach. I’ll carry on.
Best,
Sam
On Oct 10, 2019, at 10:30 AM, Brice Goglin
mailto:brice.gog...@inria.fr>> wrote:
Le 10/10/2019 à 17:38, Gutierrez, Samuel K. via hwloc-users a écrit :
Good morning,
I have a question about expected name mangling behavior when usin
Le 10/10/2019 à 17:38, Gutierrez, Samuel K. via hwloc-users a écrit :
> Good morning,
>
> I have a question about expected name mangling behavior when using
> HWLOC_SET_SYMBOL_PREFIX in hwloc v2.1.0 (and perhaps other versions).
>
> Say, for example, I do the following in a project embedding hwloc
Good morning,
I have a question about expected name mangling behavior when using
HWLOC_SET_SYMBOL_PREFIX in hwloc v2.1.0 (and perhaps other versions).
Say, for example, I do the following in a project embedding hwloc:
HWLOC_SET_SYMBOL_PREFIX(foo_internal_)
HWLOC_SETUP_CORE(…)
...
Now, entry po