I'm trying to fit parameters to a 4 state ODE and I get the error below. The Stan and data files are attached. I'd like to learn the control flow of a Stan program so I can figure out things like this on my own. What's the best way to compile Stan to run with GDB, or am I stuck putting print statements in Stan source code and recompiling every time?
Arya$ coag/rar diagnose data file=coag/rar.data.R
method = diagnose
diagnose
test = gradient (Default)
gradient
epsilon = 9.9999999999999995e-07 (Default)
error = 9.9999999999999995e-07 (Default)
id = 0 (Default)
data
file = coag/rar.data.R
init = 2 (Default)
random
seed = 3933974504
output
file = output.csv (Default)
diagnostic_file = (Default)
refresh = 100 (Default)
Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Exception thrown at line 84: CVode failed with error flag -1
If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
--
You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+...@googlegroups.com.
To post to this group, send email to stan-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<rar.stan><rar.data.R>