Re: [Rd] Rmpi, mpi.irecv.Robj

2007-10-31 Thread Hao Yu
mpi.recv or mpi.irecv needs a buffer to store an incoming messenger and must know in advance the size of the buffer. For mpi.irecv.Robj to work, one needs to probe the incoming messenger size which is a block call. So there is no point to implment mpi.irecv.Robj unless there is an another nonbl

Re: [Rd] Rmpi_0.5-4 and OpenMPI questions

2007-10-04 Thread Hao Yu
Hi Dirk, Thank for pointing out additional flags needed in order to compile Rmpi correctly. Those flags can be added in configure.ac once openmpi dir is detected. BTW -DMPI2 flag was missed in your Rmpi since the detection of openmpi was not good. It should be if test -d ${MPI_ROOT}/

Re: [Rd] CHAR () and Rmpi

2007-10-01 Thread Hao Yu
if r-project will put lam into OS X and make Rmpi officially available to Mac. I need to fully test Rmpi before submitting next version. Thanks all and have nice weekend days. Hao Martin Morgan wrote: > Hao Yu, > > I spot two types of problematic code. Certainly the memcpy in > conve

[Rd] CHAR () and Rmpi

2007-09-28 Thread Hao Yu
) is stored. Because of the change, all character messengers fail. Is there an easy way to get a char pointer to STRING_ELT((sexp_rdata),0) and is also backward compatible to old R versions. BTW Rmpi does not do any modification of characters at C level. Thanks Hao Yu -- Department of Statistics