For estimation that require MCMC, ergm
can take advantage of multiple
CPUs or CPU cores on the system on which it runs, as well as computing
clusters. It uses package parallel
and snow
to
facilitate this, and supports all cluster types that they does.
The number of nodes used and the parallel API are controlled using the
parallel
and parallel.type
arguments passed to the
control functions, such as control.ergm
.
The ergm.getCluster
function is usually called internally by the ergm process (in ergm.getMCMCsample
) and will attempt to start the appropriate type of cluster indicated by the control.ergm
settings. The ergm.stopCluster
is helpful if the user has directly created a cluster.
Further details on the various cluster types are included below.