TBB_INTERFACE_NEW flag is not working

I was able to solve it by using the information on this thread

Basically need to set STAN_THREADS=TRUE in make/local and rebuild cmdstan.

cmdstan_make_local(
  cpp_options = list(
    'STAN_THREADS' = TRUE
  )
)

rebuild_cmdstan()
1 Like