I’m using cmdstanr on a computing cluster, using slurm runs.
It seems that all my runs can finish, with output results. But when I look at the log file I saw lots of error messages from cmdstanr:
Error: No CmdStan config files found. Set ‘save_cmdstan_config=TRUE’ when fitting the model.
I googled but didn’t find anything that’s related. I’d like to ask whether anyone knows what this error message is about, and should I be worried about the run results I got? I’m using:
R 4.4.0
cmdstanr 2.35.0
Many thanks!
This error is safe to ignore, I’m currently preparing a bugfix release of cmdstanr
which resolves this
1 Like
This has now been fixed in cmdstanr
0.8.1.
Release announcement here
Hi! I noticed another error message from my run log:
Error while shutting down parallel: unable to terminate some child processes
Similar to the last one I noted, this doesn’t seem to prevent my runs from finishing and outputting results. It’s just that when I open up the run log, I’d see it there. I wonder whether you might know about this?
Many thanks!!
cmdstanr
doesn’t use parallel
, so I think those are likely caused by a different package
Yeah I’m indeed using foreach and dopar in my other part of the codes, so it’s possible that this error message comes from there. But I noticed someone quoting this exact error message here: Chains finish unexpectedly in new install of CmdStanR - #6 by Fabian_Crespo
That’s why I thought this might be related to cmdstanr …
But do you get the error messages when you’re just using cmdstanr
, without foreach
or dopar
? If you’ve got a reproducible example, that would be a great help for debugging
1 Like
You were right! I just tested that if I don’t use dopar in the other part of the codes, this error won’t show up. So it’s not related to cmdstanr after all!