Skip to content
Prev 1088 / 2152 Next

Parallelizing function with subfunctions using snowfall

Hi

Stephen: Thank you for answering, I really appreciate it.

However, the workers in this case are the different cores on my octa-core processor and I have the package installed and loaded on my system. Yes, I do load the package in every session. I can?t install/load the package on to a core, can I? Any ideas from anyone are appreciated.

By the way, the error message I get while running is:

Error in checkForRemoteErrors(val) : 
  8 nodes produced errors; first error: could not find function "f.ini" ?

F.ini is a package-function within jr.parsimest.

Thanks in advance.

/
Joakim Ringblom
PhD-student
Karolinska Institutet, Institutet f?r Milj?medicin
Nobels v?g, 13
Box 210 17177 Stockholm
Sweden
+46- (0)733965553

________________________________________
Fr?n: Stephen Weston [stephen.b.weston at gmail.com]
Skickat: den 25 augusti 2011 15:22
Till: Joakim Ringblom
Kopia: r-sig-hpc at r-project.org
?mne: Re: [R-sig-hpc] Parallelizing function with subfunctions using snowfall

If the functions that jr.parsimest calls are all defined in a package,
then just load that package on each your workers, and they should be
available to jr.parsimest.  Of course, that means that the package has
to be installed on all of the worker machines.

- Steve
On Thu, Aug 25, 2011 at 4:39 AM, Joakim Ringblom <joakim.ringblom at ki.se> wrote: