Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seg fault in rcolgem, memory not mapped #19

Open
ArtPoon opened this issue Jan 2, 2015 · 1 comment
Open

Seg fault in rcolgem, memory not mapped #19

ArtPoon opened this issue Jan 2, 2015 · 1 comment

Comments

@ArtPoon
Copy link
Owner

ArtPoon commented Jan 2, 2015

 *** caught segfault ***
address 0x7fd183cd9b88, cause 'memory not mapped'

Traceback:
 1: .Call("call_rkFixed", as.double(y), as.double(times), Func, Initfunc,     parms, Eventfunc, events, as.integer(Nglobal), rho, as.double(tcrit),     as.integer(vrb), as.double(hini), as.double(rpar), as.integer(ipar),     method, as.integer(nsteps), flist)
 2: rk(y, times, func, parms, method = "rk4", ...)
 3: ode(y = y0, c(h0, h1), func = "dQAL", parms = parameters, dllname = "rcolgem",     initfunc = "initfunc", method = integrationMethod)
 4: .solve.Q.A.L(h0, h1, A0, L)
 5: FUN(1:10[[2L]], ...)
 6: lapply(1:n.reps, run1)
 7: simulate.binary.dated.tree.fgy(tfgy[[1]], tfgy[[2]], tfgy[[3]],     tfgy[[4]], sampleTimes, sampleStates, integrationMethod = integrationMethod,     n.reps = nreps)
aborting ...
@ArtPoon
Copy link
Owner Author

ArtPoon commented Jan 2, 2015

This appears to be specific to the integration method (default rk4) used in simulate.binary.dated.tree.fgy, where ode() is called within function .solve.Q.A.L. If I set integrationMethod to adams then this problem does not occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant