Hi @bgoodri -
I saw your post about
map_rect working in rstan on Windows starting with R 3.6. That is good news and means that it should be possible to implement CRAN-approved R packages that make use of
map_rect. However, this poses some interesting issues as I (and I assume other package authors, which is why I am posting this here) would probably not want to compile every Stan model using the compiler flags for threading as this lowers performance vis-a-vis non-threaded code. Instead, I think it would be optimal to be able to compile some models with threading support and some without depending to have both options for the user.
I imagine this is probably straightforward with editing the makefile to conditionally compile certain Stan models with certain flags, but could you provide some insight as to the best way to do that/whether
rstantools can be modified to make this an option?
thanks for all your hard work on