[R] Multicore/Parallel

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Fri Dec 28 05:12:32 CET 2012


where is your sample code asked for in the Posting Guide?
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Tjun Kiat Teo <teotjunk at gmail.com> wrote:

>I am using the package Multicore/Parallel to do importance sampling. I
>have
>5 cores on my computer. And I have
>let's say 10 000 particles to generate. What I did was to send 5
>particles
>in each time, calling the package parallel. Which means in all I am
>calling
>the parallel command 2000 times.
>What happens is in the end somewhere along the way I end up with the
>error
>message error in fork unable to create a pipe. Would it be better for
>me to
>call the parallel once only but each time send in 2000 particles in
>each
>parallel process.
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list