aflaxman / dismod_pde

(S)PDE version of generic disease model
GNU General Public License v3.0
2 stars 0 forks source link

Unclear error message when max_ode_step is too large #1

Open aflaxman opened 10 years ago

aflaxman commented 10 years ago

I get this error:

cppad-20130918 error from a known source:
y_p = f.Forward(p, x): has a zero order Taylor coefficient with the value nan.
Error detected by false result for
    ok
at line 178 in the file 
    /homes/abie/prefix/cppad/include/cppad/local/forward.hpp
dismod_pde_csv: /homes/abie/prefix/cppad/include/cppad/error_handler.hpp:210: static void CppAD::ErrorHandler::Default(bool, int, const char*, const char*, const char*): Assertion `false' failed.
/bin/sh: line 1: 12191 Aborted                 (core dumped) /homes/abie/new_dm/dismod_pde-2013.1130/build/cpp/dismod_pde_csv /tmp/parameter.csv /tmp/measure_in.csv /tmp/measure_out.csv /tmp/sfun_in.csv /tmp/sfun_out.csv /tmp/effect_in.csv /tmp/effect_out.csv

It would be helpful to say that ode_step = 2 is probably too large, and even more helpful to suggest what value is likely to work.

.csv files to replicate this error here: https://gist.github.com/aflaxman/8114972

aflaxman commented 10 years ago

dm-pde runs to completion when ode_step is reduced to 1