> I'm trying to use an existing library based on Intel TBB in my HPX
> application, however when calling the library within a (single) task the
> application segfaults. Doing the same call in the HPX main() function
> does work.
> 
> Is this expected? Is there some technical conflict between HPX and TBB?

Well, segfaults are never an expected thing ;)

Generally, using TBB together with HPX is probably not a good idea unless you 
make sure to control the core-affinities used by HPX and by TBB. If you don't 
do that then both libraries will fight over the cores. This will cause for your 
application to expose horrible performance.

What TBB facilities do you rely on?

For the segfault - it's difficult to tell what's going on without seeing some 
code. Could you provide us with a minimal self-contained reproducing example?

Regards Hartmut
---------------
http://boost-spirit.com
http://stellar.cct.lsu.edu


_______________________________________________
hpx-users mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to