This function prepares a cluster using Rmpi
package. The initialization
is paired with closing of the cluster using the finishParallelRun
function.
initParallelRun(cpus)
Number of cores to use (optional). If given, only that number of CPUs will be used. By default (if not set), the Rmpi will check how many CPUs are available in the system and take the maximum number.