Open spinkney opened 4 years ago
The main issue is that cmdstan currently does not have a general way to include external C++ (that will be fixed but not before the next release). You need to fix the namespace name for every different model which is annoying. Rstan uses a dirty trick there that we can not do in cmdstan.
I have one idea that would make it somewhat simple to add (place a file in the proper spot and rebuild cmdstan), will try it out this week and get back to you.
I take it that this is another possible avenue https://discourse.mc-stan.org/t/using-petsc-library-together-with-stan/17550/6?
Let me know what I can do to help get this done with cmdstan. For some reason, we have issues with rstan crashing R and the ability to just pull the updated cmdstan version from git without worrying about R or Python environments is a huge plus.