Hi All,

I am using Rmpi to run parallel jobs under R3.0.1. The function "myjob.run"
used mpi.applyLB to pass a 350x350000 matrix to slaves for job running.
However, I got the following error:
*
*
*Error in mpi.bcast(tmp, 4, rank, comm) : *
*  long vectors not supported yet: memory.c:3100*
*Calls: myjob.run ... mpi.applyLB -> mpi.apply -> mpi.bcast.Robj ->
mpi.bcast -> .Call*

The function "myjob.run" is somewhat long but the essential part is

*BB <- function{ *
*     results <- .Call("c.function", y, x); *
*}*
*rs_obj <- mpi.applyLB(1:n, function(i,BB,y,x){BB(y,x)},BB=BB,y=y,x=x)*

The same code worked fine for smaller dataset, such as 350x25000. Does that
mean the current Rmpi don't allow long vectors to be passed to slaves? Any
idea on that or any alternatives to Rmpi?

Thanks,
Xiaochun

	[[alternative HTML version deleted]]

