swh:1:snp:7acf1e04c0ad3f9ed9e8787c00b6f5d8ef909774
Tip revision: 65a2a10b7f89f91074769d888afcb33645e1f4dc authored by Hana Sevcikova on 17 August 2004, 00:00:00 UTC
version 0.0-1
version 0.0-1
Tip revision: 65a2a10
snowFT-startstop.Rd
\name{snowFT-startstop}
\title{Starting snowFT Clusters}
\alias{makeClusterFT}
\usage{
makeClusterFT(spec, type = getClusterOption("type"), ...)
}
\arguments{
\item{spec}{Cluster specification.}
\item{type}{Character string that specifies cluster type. Only \code{type="PVM"} supported.}
\item{...}{Cluster option specifications.}
}
\description{
Functions to start a snowFT cluster and to set default cluster
options.
}
\details{
\code{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
\code{"PVM"} is supported in this version. The \code{spec} argument should be an integer
specifying the number of slave nodes to create. See \code{setDefaultClusterOptions()} of the snow package for setting cluster options.
The cluster should be stopped by \code{stopCluster} of the snow package.
Note that on a snowFT cluster all snow functions can be applied, whereas on a
cluster created by \code{makeCluster} of the snow package the snowFT functions will not work unless
the snowFT library is loaded on all nodes.
}
\seealso{\code{snow-startstop} functions of the snow package.}
\examples{
\dontrun{
cl <- makeClusterFT(5)
res <- clusterApplyFT(cl, 1:10, get("+"), ...=3)
stopCluster(res[[2]])
print(res[[1]])
}
}
\keyword{programming}