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

poped_optim with compiled code and parallel=T and gives error with initfunc #38

Open
krimobe opened this issue Sep 5, 2019 · 1 comment

Comments

@krimobe
Copy link

krimobe commented Sep 5, 2019

when running
poped_optim(poped.db.compiled,opt_xt=T, opt_a=T, parallel=T)

in the example 9. PK 2.comp.oral.md.ode.compiled example an error occurs.

Capture

When running it without parallel=T the error does not seem to occur (so far).
Is there a work around?

@andrewhooker
Copy link
Owner

Hi.

This is a problem on windows operating systems with the interaction between compiled code and parallelization. If you use the dlls argument to the function then things should work:

poped_optim(poped.db.compiled,opt_xt=T, opt_a=T, parallel=T, dlls = c('two_comp_oral_CL'))

Best regards,
Andy

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

2 participants