[mpich-discuss] Fwd: mpich2 small question

mohamed ali eng1182 at gmail.com
Wed Feb 15 07:14:34 CST 2012


Hi there

I´m a beginner in this interresting matter and i tried to devide a for loop
among processes. I put the limits of the loop depending on the process
like: ( for i=(Rank*Ntotal/Nprocesses+1), (Rank*Ntotal/Nprocesses+1)+
Ntotal/Nprocesses-1) and there is modifications in the data of an array
that is defiened by array(i). the question is : to print the resulting
array, should I make gather statement and put it in a new array in the rank
0 or what?

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120215/e587ec0d/attachment.htm>


More information about the mpich-discuss mailing list