Displaying 1 result from an estimated 1 matches for "test_rmpi".
Did you mean:
test_rm_0
2011 Feb 01
1
Rmpi; sample code not running, the slaves won't execute commands
...nalize")
}
}
# Tell all slaves to return a message identifying themselves
mpi.remote.exec(paste("I am",mpi.comm.rank(),"of",mpi.comm.size()))
# Tell all slaves to close down, and exit the program
mpi.close.Rslaves()
mpi.quit()
My output is as follows;
> source("./test_Rmpi.R")
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
While trying to...