Skip to content
Prev 1209 / 2152 Next

Snow Not Distributing

On 1/20/2012 5:19 PM, Brian G. Peterson wrote:
Thanks for the suggestion, Brian. I've gone through the following "Hello 
World" steps and don't get the desired result.

qsub -I -l nodes=2:ppn=12 #spawn a 2 node, 12 core/node job

I then went through the following R session:

 > library(Rmpi)
 > mpi.spawn.Rslaves()
         1 slaves are spawned successfully. 0 failed.
master (rank 0, comm 1) of size 2 is running on: n004
slave1 (rank 1, comm 1) of size 2 is running on: n004
 > mpi.remote.exec(paste("I am",mpi.comm.rank(),"of",mpi.comm.size()))
$slave1
[1] "I am 1 of 2"

 > mpi.close.Rslaves()
[1] 1
 > mpi.quit()

I get the same results in interactive and batch (Rscript) submissions of 
this job. My expectation was that it would spawn 1 worker per core (24 
of which are available), or at least one worker per node (n004 and n013 
were allocated by Torque for this request).

Let me know what additional information/output I can provide.

Jeff