cmdstanr icon indicating copy to clipboard operation
cmdstanr copied to clipboard

generate quantities method always reports completion of chains in 0s

Open mike-lawrence opened this issue 1 year ago • 3 comments

Not a big deal, but thought it worth reporting. When running the generate quantities method, compute indeed takes time but the printed progress always reports completion in 0.0s:

Running standalone generated quantities after 6 MCMC chains, 1 chain at a time ...

Chain 1 finished in 0.0 seconds.
Chain 2 finished in 0.0 seconds.
Chain 3 finished in 0.0 seconds.
Chain 4 finished in 0.0 seconds.
Chain 5 finished in 0.0 seconds.
Chain 6 finished in 0.0 seconds.

All 6 chains finished successfully.
Mean chain execution time: 0.0 seconds.
Total execution time: 106.2 seconds.

Current Version:

v2.35.0

mike-lawrence avatar Sep 24 '24 14:09 mike-lawrence

@mike-lawrence what is this the output of? I believe all of the messages you're showing come from cmdstanr, not cmdstan

WardBrian avatar Mar 27 '25 19:03 WardBrian

Ah, yes, I would have been using cmdstanR here.

mike-lawrence avatar Mar 27 '25 19:03 mike-lawrence

Thanks for moving the issue @WardBrian, I hadn't seen this. This isn't at the highest priority on my todo list, but it would be good to figure out why that's happening when I have some time. Thanks for reporting it @mike-lawrence.

jgabry avatar Apr 07 '25 21:04 jgabry