stan-dev / stan-dev/rstan

Problem between rstan and RcppParallel related to tbb

Open
#867 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

Please see https://github.com/RcppCore/RcppParallel/issues/135#issuecomment-716663576

This issue arises because of the patch used on Debian builds:

https://sources.debian.org/patches/r-cran-rcppparallel/5.0.2+dfsg-3/use_debian_packaged_libtbb.patch/

In particular, RcppParallel uses the system tbb library rather than the bundled version via this patch. However, rstan still assumes that tbb would be available via RcppParallel.

One simple way forward would be for rstan to allow for this path to be missing here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked RcppParallel issue comment and Debian's use_debian_packaged_libtbb.patch, then trace where rstan assumes the TBB path supplied by RcppParallel. Done means Debian's missing path is tolerated without breaking the supported RcppParallel/TBB setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.