<div>Hello</div><div><br></div><div>I am pretty new to MPI programming and i was doing some research on performance of dumped computers in our college. </div><div>Although
 my cluster is giving the expected gain for many embarrassingly parallel
 problems,but the attached simple program for calculating maximum number
 in an array is unexpectedly slow. </div>
<div><br></div><div>The file of numbers is first read at the root and 
the array is scattered to all the supporting nodes. Everyone calculates their local maximum abd the  MPI_REDUCE is 
used to get the global maximum <br></div><div><br></div><div>The result of running the program are as follows : </div>
<div><br></div><div><b>Using 2 nodes : </b></div>







<p>axiom@node1:~/Programs/largest$ mpiexec -f f ./a.out numbers/num10000.txt 10000</p>
<p>Maximum = 3999213</p>
<p>wall clock time = 0.002819</p>
<p><b>Using single node : </b></p><p>axiom@node1:~/Programs/largest$ mpiexec  ./a.out numbers/num10000.txt 10000</p>
<p>Maximum = 3999213</p>
<p>wall clock time = 0.000168</p><p>..........</p><p>The situation remains same even after increasing the number of elements.</p><p>I request your suggestions. </p><p>Thanks a lot for your time.</p>
<p><br></p><p>With regards</p><div class=""><div id=":xt" class="" tabindex="0"><img class="" src="images/cleardot.gif"></div></div><br clear="all"><br>-- <br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<font style="background-color:rgb(204,204,255)">Aman Madaan</font><br></blockquote><br>