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

Add Intel TBB #709

Closed
wds15 opened this issue Jun 16, 2019 · 2 comments
Closed

Add Intel TBB #709

wds15 opened this issue Jun 16, 2019 · 2 comments
Milestone

Comments

@wds15
Copy link
Contributor

wds15 commented Jun 16, 2019

Summary:

Make the Intel TBB available.

Description:

This is makes the use of the TBB available in Stan.

Reproducible Steps:

Current Output:

Expected Output:

Additional Information:

Provide any additional information here.

Current Version:

v2.19.1

@abdmoussa
Copy link

Hello every body, i am new here
I am trying to use intel TBB toolkit for testing some simple code, but when compiling with c++11 i get error message :

Undefined symbols for architecture x86_64:
  "tbb::interface5::internal::task_base::destroy(tbb::task&)", referenced from:
      tbb::flow::interface10::graph::~graph() in TBB-7fdcbb.o
  "tbb::interface7::internal::task_arena_base::internal_terminate()", referenced from:
      tbb::interface7::task_arena::terminate() in TBB-7fdcbb.o
  "tbb::interface7::internal::task_arena_base::internal_initialize()", referenced from:
      tbb::interface7::task_arena::initialize() in TBB-7fdcbb.o
  "tbb::task_group_context::reset()", referenced from:
      tbb::flow::interface10::graph::wait_for_all() in TBB-7fdcbb.o
  "tbb::task_group_context::~task_group_context()", referenced from:
      tbb::flow::interface10::graph::~graph() in TBB-7fdcbb.o
 "tbb::interface7::internal::task_arena_base::internal_execute(tbb::interface7::internal::delegate_base&) const", referenced from:
      void tbb::interface7::task_arena::execute_impl<void, tbb::flow::interface10::graph::wait_functor const>(tbb::flow::interface10::graph::wait_functor const&) in TBB-7fdcbb.o
  "tbb::task_group_context::is_group_execution_cancelled() const", referenced from:
      tbb::flow::interface10::graph::wait_for_all() in TBB-7fdcbb.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Some body can help.
Thanks in advance

@wds15
Copy link
Contributor Author

wds15 commented Oct 7, 2019

@abdmoussa I am not sure what the issue is here... but so far we haven't supported TBB. This has changed since very recently. So you should be able to grab the latest develop cmdstan and a make build should give you a build Intel TBB library. Please open an issue if you have trouble.

Closing this issue which was addressed in PR #710

@wds15 wds15 closed this as completed Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants