machinefile: Convenience for Clustering

Description Usage Arguments Details Examples

Description

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:

Usage

1

Arguments

name

Filename of the hostfile.

Details

avalon glastonbury:2

Examples

1
2
3
4
5
6
## Not run: 
	library(parallel)
	cl = makePSOCKcluster(machinefile("mpd.hosts"))
	stopCluster(cl)

## End(Not run)

andrechalom/pse documentation built on May 12, 2019, 3:35 a.m.