I'm running Stan via R, with a single core. (This is just for testing for now.)
I have a model that ran in about an hour with the R command;
stan(file='fit_SIS_Generic.stan', data=data_trial,iter=100, chains=1, seed=194838, refresh=20)
(I am aware that this is too few iterations, etc. Again, this was for testing.)
I changed that slightly, to
stan(file='fit_SIS_Generic.stan', data=data_trial, iter=100, chains=2, seed=194838, refresh=20),
and the first chain took about 5 times as long, per the updates delivered (the second chain was still running and I killed it after a dozen hours.)
There are other problems with the model, but I was surprised to see that running chains=2, where they run in sequence, not in parallel, should affect the timing - especially given the indetical random seed, which I would think gives the same process and results, though this may not be true when running multiple chains.
I looked at the manual, and the only thing I could find was that there were differences that could occur in how the model runs due to thread safety for multiple chains.
Is there a different / better explanation?