I want to run R in parallel on HPC clusters using MPI. I understand the makeCluster function from package snow can be used to specify the number of nodes. For example: makeCluster(2,type="MPI")
means 2 nodes. Without specifying the type to "MPI", makeCluster(2)
would mean 2 cores on a single node.
Is there a way to specify both the number of nodes and cores?
How many cores on each node at default would be used if specifying the type to MPI?