Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPX fails on startup (setting thread affinity mask) #1245

eschnett opened this issue Sep 5, 2014 · 0 comments


None yet
2 participants
Copy link

commented Sep 5, 2014

I use HPX on OS X, configured with hwloc. The hwloc library is e.g. useful for determining the number of cores and cache sizes. However, on OS X it cannot set thread bindings, as this is not allowed by the OS.

On startup, HPX fails with the error message:

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<hpx::exception> >'
  what():  failed to set thread fe affinity mask: HPX(kernel_error)

(1) This error message is a bit cryptic; it is not clear that "fe" corresponds to a thread mask.
(2) This error is expected; HPX should output a warning instead, and then continue, instead of aborting.

@hkaiser hkaiser added this to the 0.9.9 milestone Sep 5, 2014

@hkaiser hkaiser self-assigned this Sep 5, 2014

@hkaiser hkaiser closed this in bfb6898 Sep 5, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.