Description Usage Arguments Details Examples
Provides a convenience interface for using MPD-style hostfiles to generate cluster objetcs. The hostfile should be written as a text file using the MPD style: one line for each host, which can be followed by a colon and a number indicating the number of processes to be started on that host. An example hostfile for starting three processes on two hosts named avalon and glastonbury would be:
1 |
name |
Filename of the hostfile. |
avalon glastonbury:2
1 2 3 4 5 6 | ## Not run:
library(parallel)
cl = makePSOCKcluster(machinefile("mpd.hosts"))
stopCluster(cl)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.