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

rstan and EpiNow2 #55

Closed
TimTaylor opened this issue May 22, 2024 · 5 comments
Closed

rstan and EpiNow2 #55

TimTaylor opened this issue May 22, 2024 · 5 comments

Comments

@TimTaylor
Copy link

Any chance you can poke rstan and then EpiNow2 and see if they will build.

No problem if not - I know stan can be tricky.

@Enchufa2
Copy link
Member

Mmmh, both fail with:

/usr/local/lib/R/library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:9:10: fatal error: tbb/tbb_stddef.h: No such file or directory
    9 | #include <tbb/tbb_stddef.h>
      |          ^~~~~~~~~~~~~~~~~~

in F40 and rawhide, where tbb 2021 is available. See e.g. https://copr.fedorainfracloud.org/coprs/iucar/cran/build/7475986/. This should be fixed in StanHeaders.

@Enchufa2
Copy link
Member

Added a comment in stan-dev/rstan/issues/1041

@TimTaylor
Copy link
Author

TimTaylor commented May 22, 2024

Cheers for following up. I'd somewhat optimistically seen a new stanHeaders land and thought that would have solved it 😅

@Enchufa2
Copy link
Member

It turns out that tbb autodetection was disabled in RcppParallel RcppCore/RcppParallel/issues/216, and this triggered the other issues. I added a workaround for now, and rstan has been successfully rebuilt. All the others dependent on StanHeaders have been triggered too.

@TimTaylor
Copy link
Author

Great. Thank you as always!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants