Howto re-use compiled model with "save_dso = TRUE"

406 views
Skip to first unread message

glae...@gmail.com

unread,
Jun 29, 2018, 7:29:18 AM6/29/18
to brms-users
Hi,

I am running a bunch of brms models for individual subjects (86 subjects * 4 models = 344 models) and brms keeps recompiling the C++ model, even though the model always stays the same and just the data are changing. 

Could someone explain to me, how to use the save_dso option properly, so that I can avoid recompilation of the model? Specifically, I would like to know:
(a) where the compiled model is saved and under what name?
(b) how do I change my bms call to re-use this model (i.e. how do I load it)?

Thanks a lot,
Jan

Paul Buerkner

unread,
Jun 29, 2018, 7:34:10 AM6/29/18
to glae...@gmail.com, brms-users
The brms-users groups has moved to discourse (http://discourse.mc-stan.org/). Plase ask your questions there. For a similar question see http://discourse.mc-stan.org/t/brms-keeps-recompiling-c-model-in-every-run/4670/4

--
You received this message because you are subscribed to the Google Groups "brms-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brms-users+unsubscribe@googlegroups.com.
To post to this group, send email to brms-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brms-users/5538701f-8c24-4624-a768-d116742e3dca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jan Gläscher

unread,
Jun 29, 2018, 7:38:22 AM6/29/18
to Paul Buerkner, brms-users
Wow, that was a lightning speed response time. Thank you so much. I’ll sign up for discourse and ask future question there. Thanks for the great brms package!

Best,
Jan
signature.asc
Reply all
Reply to author
Forward
0 new messages