Hi Rajeev,<br>Actually this is not what I'm talking about. <br>Say there are processes A and B<br>Process A utilize 100% of the cpu while it runs. The answer will appear in t1 seconds<br>Process B also utilize 100% of the cpu while it runs. The answer will appear in t2 seconds<br>
<br>When I run both the process A and B at the same time, The both answers will appear in t1 + t2 seconds. where as I want to get the Process A's answer first. (Here Process A is submitted before Process B)<br><br>Is there anything that I can do to make this happen.<br>
<br>Thank You,<br>Waruna<br><br><div class="gmail_quote">2008/11/26 Rajeev Thakur <span dir="ltr"><<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">If you are refering to the output of "printf", you can try 
adding an fflush(stdout) after the printf. You don't have much control over the 
order in which it is printed from different processes.</font></span></div>
<div dir="ltr" align="left"><span></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Rajeev</font> </span></div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div dir="ltr" align="left" lang="en-us">
  <hr>
  <font face="Tahoma" size="2"><b>From:</b> <a href="mailto:mpich-discuss-bounces@mcs.anl.gov" target="_blank">mpich-discuss-bounces@mcs.anl.gov</a> 
  [mailto:<a href="mailto:mpich-discuss-bounces@mcs.anl.gov" target="_blank">mpich-discuss-bounces@mcs.anl.gov</a>] <b>On Behalf Of </b>Waruna 
  Ranasinghe<br><b>Sent:</b> Tuesday, November 25, 2008 1:35 AM<br><b>To:</b> 
  <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br><b>Subject:</b> [mpich-discuss] Clarification 
  needed on running processes on MPICH2<br></font><br></div><div><div></div><div class="Wj3C7c">
  <div></div>Hi all,<br>I submitted 3 processes at the same time using mpiexec. 
  the results of each process appears only after all the processes have 
  finished. (I guess that the way mpich schedule it).<br>What if I want to get 
  the result of the process, which was submitted first, first. (like first in 
  first out).<br><br>I use MPICH2 cluster in Fedora 8 (with mpd)<br><br>Thank 
  you.<br>Waruna Ranasinghe </div></div></blockquote></div>
</blockquote></div><br>