[R] Rmpi; sample code not running, the slaves won't execute commands

Patrick Connolly p_connolly at slingshot.co.nz
Wed Feb 9 09:36:17 CET 2011


On Tue, 01-Feb-2011 at 11:01AM -0500, Chris Carleton wrote:

[...]

|> 
|> My output is as follows;
|> 

|> > source("./test_Rmpi.R")

How was test_Rmpi.R created?  Was it using sink()?

|> 	3 slaves are spawned successfully. 0 failed.
|> master (rank 0, comm 1) of size 4 is running on: minanha
|> slave1 (rank 1, comm 1) of size 4 is running on: minanha
|> slave2 (rank 2, comm 1) of size 4 is running on: minanha
|> slave3 (rank 3, comm 1) of size 4 is running on: minanha
|> 

[...]

|> noticing that problem, I tried to execute the 'hello world' program
|> above and, as you can see, the slaves are spawned, but they won't
|> print the text in the mpi.remote.exec() function. Any ideas?

Are you saying that there was no response at all from the other three
lines?  They work fine for me.  I suspect that you have something not
quite finished with your MPI setup.  I doubt the problem is with Rmpi
itself, but then of course, there's not much to work on.

HTH



-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the R-help mailing list