Discussion:
Code running on 99% cpu..seems like infinite loop on single node
(too old to reply)
Vivek788
2009-03-02 15:35:58 UTC
Permalink
I was testing my mpi code on a single node and it contains sends and
recvs.
On execution, 'top' shows that hte process takes up 99% of cpu and
have to press ctlr+C to kill process with signal 15.

Is it the problem of being one node, or something else?
Does each recv wait for a send infinitely?

I tried with np -2 ..but still same stuff persists..please help me .
Georg Bisseling
2009-03-03 12:28:48 UTC
Permalink
Post by Vivek788
I was testing my mpi code on a single node and it contains sends and
recvs.
On execution, 'top' shows that hte process takes up 99% of cpu and
have to press ctlr+C to kill process with signal 15.
Is it the problem of being one node, or something else?
Does each recv wait for a send infinitely?
Yes. That's why they call it blocking receive.
Post by Vivek788
I tried with np -2 ..but still same stuff persists..please help me .
Help is near:
http://www.mpi-forum.org/docs/mpi21-report.pdf
--
This signature intentionally left almost blank.
http://www.this-page-intentionally-left-blank.org/
Loading...