From thomas@biostat.washington.edu  Thu Mar 11 17:09:29 1999
From: thomas@biostat.washington.edu (Thomas Lumley)
Date: Thu, 11 Mar 1999 09:09:29 -0800 (PST)
Subject: [R] re: smp in Linux
In-Reply-To: <99Mar11.111420est.13505@mailgate.bank-banque-canada.ca>
Message-ID: <Pine.GSO.4.10.9903110907470.7067-100000@wompom.biostat.washington.edu>

On Thu, 11 Mar 1999, Paul Gilbert wrote:

> >On the other hand, most of the problems I have where speed is an issue are
> >simulations or bootstrapping problems that scale almost perfectly by
> >running 1/n as many on each of n processors.
> 
> This has been my experience too, and I have lots of problems like this. It would
> sure be nice to have some possibility like:
> 
> parallelfor (i in 1:N, listofmachines )  x[[i]] <- simulate(model[[i]],
> data[[i]])
> 

This may be a case for implementing .For().  We currently say it is not
necessary and thus not implemented, which is true for systems with more
users than processors, but it would be useful for multiprocessor systems.

	-thomas


Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[R] re: smp in Linux
Thomas Lumley