Re: [OMPI users] what is MPI_IN_PLACE

2007-12-11 Thread George Bosilca
Neeraj, MPI_IN_PLACE is defined by the MPI standard in order to allow the users to specify that the input and output buffers for the collectives are the same. Moreover, not all collectives support MPI_IN_PLACE and for those that support it some strict rules apply. Please read the collecti

[OMPI users] what is MPI_IN_PLACE

2007-12-11 Thread Neeraj Chourasia
Hello everyone,    While going through collective algorithms, I came across preprocessor directive MPI_IN_PLACE which is (void *)1. Its always being compared against source buffer(sbuf). My question is when MPI_IN_PLACE == sbuf condition would be true. As far as i understand, sbuf is the address