Skip to content
Prev 16923 / 20628 Next

How to use all the cores while running glmer on a piecewise exponential survival with

I'd love to see what anyone else here has to say, but here are some thoughts.

1. There's no easy, pre-packaged way that I know of to scale things in
this way. What you can do will depend enormously on how much hacking
you're willing & able to do.
2. What Harold Doran said: The deepest level at which one *might*
multi-thread/core/parallelize the fitting process would be at the
level of the linear algebra.  lme4 uses some pretty fancy linear
algebra, so I don't know if it will help, but it would definitely be
worth experimenting a little bit with Microsoft "Open R" (or whatever
it's called) and with the various optimized BLAS options (Dirk
Eddelbuettel had an article about this a while back).  Might not help,
but if it does it's low-hanging fruit.
3. Depending on your random-effects structure (i.e. if your problem
decomposes into a moderate number of *conditionally* independent
chunks of data - that is, not a fully or strongly crossed design), it
wouldn't be too hard to write a top-level map-reduce-like operation
that, for a given set of parameters (random-effect var/cov +  called
the separate workers to compute the deviance for each chunk of data,
then summed them to get the total deviance for that set of parameters,
then took another optimization step.  I would love to see someone
implement something like this!
4. It might be worth experimenting with Doug Bates's MixedModels.jl
framework from Julia.
On Thu, Aug 23, 2018 at 3:18 PM Adam Mills-Campisi
<adammillscampisi at gmail.com> wrote:

Thread (18 messages)

Adam Mills-Campisi How to use all the cores while running glmer on a piecewise exponential survival with Aug 23 Doran, Harold How to use all the cores while running glmer on a piecewise exponential survival with Aug 23 Doran, Harold How to use all the cores while running glmer on a piecewise exponential survival with Aug 23 Adam Mills-Campisi How to use all the cores while running glmer on a piecewise exponential survival with Aug 23 Adam Mills-Campisi How to use all the cores while running glmer on a piecewise exponential survival with Aug 23 Doran, Harold How to use all the cores while running glmer on a piecewise exponential survival with Aug 23 Ben Bolker How to use all the cores while running glmer on a piecewise exponential survival with Aug 23 Ben Bolker How to use all the cores while running glmer on a piecewise exponential survival with Aug 23 Ben Bolker How to use all the cores while running glmer on a piecewise exponential survival with Aug 23 Dimitris Rizopoulos How to use all the cores while running glmer on a piecewise exponential survival with Aug 23 Adam Mills-Campisi How to use all the cores while running glmer on a piecewise exponential survival with Aug 23 Manuel Ramon How to use all the cores while running glmer on a piecewise exponential survival with Aug 23 Jonathan Judge How to use all the cores while running glmer on a piecewise exponential survival with Aug 24 Doran, Harold How to use all the cores while running glmer on a piecewise exponential survival with Aug 24 Dimitris Rizopoulos How to use all the cores while running glmer on a piecewise exponential survival with Aug 24 Adam Mills-Campisi How to use all the cores while running glmer on a piecewise exponential survival with Aug 24 David Duffy How to use all the cores while running glmer on a piecewise exponential survival with Aug 26 Phillip Alday How to use all the cores while running glmer on a piecewise exponential survival with Aug 28