[Beowulf] MPI programming question: Interleaved MPI_Gatherv?

Michael Gauckler maillists at gauckler.ch
Tue Mar 1 01:44:14 EST 2005

Dear List, 

I would like to gather the data from several processes. 
Instead of the comonly used stride, I want to interleave 
the data:

Rank 1: BBBBB ----^---^---^---^---^
Rank 2: CCCCC -----^---^---^---^---^
Rank 3: DDDDD ------^---^---^---^---^

Since the stride of the receive type is indicated 
in multpiles of its mpi_type, no interleaving is 
possible (the smallest striping factor leads to 

Is there a way to achieve this behaviour in an 
elegant way, as MPI_Gather promises it? Or do
I need to do Send/Recv with self-aligned offsets?

Thank you for your help!


Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf

More information about the Beowulf mailing list