BUMP. See http://code.google.com/p/mpi4py/issues/detail?id=14
On 12 December 2009 00:31, Lisandro Dalcin wrote:
> On Thu, Dec 10, 2009 at 4:26 PM, George Bosilca wrote:
>> Lisandro,
>>
>> This code is not correct from the MPI standard perspective. The reason is
>> independent of the datatype o
On Thu, Dec 10, 2009 at 4:26 PM, George Bosilca wrote:
> Lisandro,
>
> This code is not correct from the MPI standard perspective. The reason is
> independent of the datatype or count, it is solely related to the fact that
> the MPI_Reduce cannot accept a sendbuf equal to the recvbuf (or one has
Lisandro,
This code is not correct from the MPI standard perspective. The reason is
independent of the datatype or count, it is solely related to the fact that the
MPI_Reduce cannot accept a sendbuf equal to the recvbuf (or one has to use
MPI_IN_PLACE).
george.
On Dec 10, 2009, at 12:02 , L
See the code below. The commented-out combinations for sbuf,rbuf do
work, but the one passing sbuf=rbuf=NULL (i.e, the uncommented one
show below) makes the call fail with MPI_ERR_ARG.
#include
int main( int argc, char ** argv ) {
int ierr;
int sbuf,rbuf;
MPI_Init(&argc, &argv);
ierr = M