[mpich-discuss] Clarification needed on running processes on MPICH2
Waruna Ranasinghe
warunapww at gmail.com
Tue Nov 25 20:31:24 CST 2008
Hi Rajeev,
Actually this is not what I'm talking about.
Say there are processes A and B
Process A utilize 100% of the cpu while it runs. The answer will appear in
t1 seconds
Process B also utilize 100% of the cpu while it runs. The answer will appear
in t2 seconds
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)
Is there anything that I can do to make this happen.
Thank You,
Waruna
2008/11/26 Rajeev Thakur <thakur at mcs.anl.gov>
> 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.
>
> Rajeev
>
> ------------------------------
> *From:* mpich-discuss-bounces at mcs.anl.gov [mailto:
> mpich-discuss-bounces at mcs.anl.gov] *On Behalf Of *Waruna Ranasinghe
> *Sent:* Tuesday, November 25, 2008 1:35 AM
> *To:* mpich-discuss at mcs.anl.gov
> *Subject:* [mpich-discuss] Clarification needed on running processes on
> MPICH2
>
> Hi all,
> 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).
> What if I want to get the result of the process, which was submitted first,
> first. (like first in first out).
>
> I use MPICH2 cluster in Fedora 8 (with mpd)
>
> Thank you.
> Waruna Ranasinghe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20081126/0f7cdd3e/attachment.htm>
More information about the mpich-discuss
mailing list