snowFT-startstop {snowFT}R Documentation

Starting snowFT Clusters

Description

Functions to start a snowFT cluster and to set default cluster options.

Usage

makeClusterFT(spec, type = getClusterOption("type"), ...)

Arguments

spec Cluster specification.
type Character string that specifies cluster type. Only type="PVM" supported.
... cluster option specifications

Details

makeClusterFT starts a cluster of the specified or default type, loads the snowFT library on each node and returns a reference to the cluster. Only the cluster type "PVM" is supported in this version. The spec argument should be an integer specifying the number of slave nodes to create. See setDefaultClusterOptions() of the snow package for setting cluster options.

The cluster should be stopped by stopCluster of the snow package.

See Also

snow-startstop functions of the snow package.

Examples

  ## Not run: 
cl <- makeClusterFT(5)
res <- clusterApplyFT(cl, 1:10, get("+"), 3)
stopCluster(res[[2]])
print(res[[1]])
  
## End(Not run)

[Package snowFT version 0.0-2 Index]