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_MCMC_sample) and will attempt to start the
appropriate type of cluster indicated by the
control.ergm settings. It will also check that the
same version of ergm is installed on each node.
The ergm.stopCluster shuts down a
cluster, but only if ergm.getCluster was responsible for
starting it.