Skip to content
Prev 1801 / 2152 Next

Spanning a memory intensive call to lme

Katharina,

I don't think that what you are trying to do can be accomplished nearly that easily.  Using Rmpi directly is not for the faint of heart, and I strongly recommend using a nicer interface like snow or snowfall first.

More importantly though, you have to explicitly send the data that your parallel workers will operate on to each of your worker nodes before telling them to execute lme.  If you are having trouble fitting your entire dataset into memory, Rmpi will not help you since you would still have to load the dataset into the master node before sending pieces of it out to the workers.  The act of sending pieces to the workers, and the act of having the workers understand what to do with those pieces, is also something you will have to code in yourself.

In general, using Rmpi (or snow, or other libraries which built upon Rmpi) to get around memory limitations is very challenging.  Rmpi is meant to address problems which are bounded by compute speed, not memory limits.  I'm afraid it'll be an uphill battle because there is very little magic in what Rmpi does.

Glenn


--
Glenn K. Lockwood, Ph.D.
User Services Group
San Diego Supercomputer Center
glock at sdsc.edu / (858) 246-1075
On Dec 16, 2013, at 2:31 AM, Katharina May <may.katharina at googlemail.com> wrote: