I've been trying to sample from multiple Stan models in parallel, and chains terminate unexpectedly every single time.

I tried all kinds of workarounds without any success, and eventually found the following bug report:

https://github.com/stan-dev/cmdstan/issues/1169

Containers seemed like overkill; then I discovered `unname` and found that it worked! What a relief. I still have no idea *why* this is necessary ...

#StanMCMC #cmdstan #cmdstanr

Interactions between cmdstan instances through /proc · Issue #1169 · stan-dev/cmdstan

I have a weird issue on an HPC with SLURM where chains of one model crash when a different model that is running simultaneously finishes sampling. The weird part is that as a workaround I had to co...

GitHub

New version of cmdstanr exposes Stan functions and allows you to directly unconstrain parameters (super useful for seeing parameters as the sampler sees them)! A huge win!

https://mc-stan.org/cmdstanr/news/index.html#cmdstanr-060

#Stan #cmdstanr #mcmc_stan #Bayes #rstats

Changelog