Sorry about the delay in getting to this. A common issue with running Stan on clusters is that the install c++ compiler can be too outdated for some of the features that we need. You can check this by running:
Hmm, so that looks like your compiler is more than recent enough for Stan. There can be some incompatibility/instability between RStan and R3.6.x, so for this I’d recommend installing cmdstanr and using that for the brms models.
cmdstanr compiles and is now sampling, super cool thank you!
Don’t know if you are directly involved with the CmdStanR folks but just wanted to note that with the default instructions on the website I got:
> install.packages("cmdstanr", repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
Installing package into ‘/p/projects/rd3mod/R/libraries/3.6.3’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository https://mc-stan.org/r-packages/src/contrib:
cannot open URL 'https://mc-stan.org/r-packages/src/contrib/PACKAGES'
Warning message:
package ‘cmdstanr’ is not available (for R version 3.6.3)