sendqueue [ context ] [ all ]
recvqueue [ context ] [ all ]
Programs doing message passing may have unexpected results or hang because message sends and receives either match unexpectedly or not at all. The ability to view messages and receives sitting in system queues can provide critical information to resolve this kind of programming error.
Examples:
(COMMWORLD:all) > sendqueue
*** Unreceived messages in (COMMWORLD:all)
Msg Length
Source Destination Msg Tag (in bytes)
================== ================== ============ ============
(COMMWORLD:0) (COMMWORLD:1) 22 10
(COMMWORLD:0) (COMMWORLD:2) 22 10
(COMMWORLD:0) (COMMWORLD:3) 22 10
(COMMWORLD:0) (COMMWORLD:4) 22 10
(COMMWORLD:0) (COMMWORLD:5) 22 10
(COMMWORLD:all) > sendqueue -all
*** Unreceived messages in (COMMWORLD:all)
Msg Length
Source Destination Msg Tag (in bytes)
================== ================== ============ ============
(COMMWORLD:0) (COMMWORLD:1) 22 10
(COMM1:0) (COMM1:0) 33 10
(COMMWORLD:0) (COMMWORLD:2) 22 10
(COMM1:0) (COMM1:1) 33 10
(COMMWORLD:0) (COMMWORLD:3) 22 10
(COMM1:0) (COMM1:2) 33 10
(COMMWORLD:0) (COMMWORLD:4) 22 10
(COMM1:0) (COMM1:3) 33 10
(COMMWORLD:0) (COMMWORLD:5) 22 10
(COMM1:0) (COMM1:4) 33 10
*** Unreceived messages in (all)
Msg Length
Source Destination Msg Type (in bytes)
================== ================== ============ ============
(COMMWORLD:all) > sendqueue(comm1:all)
*** Unreceived messages in (COMM1:all)
Msg Length
Source Destination Msg Tag (in bytes)
================== ================== ============ ============
(COMM1:0) (COMM1:0) 33 10
(COMM1:0) (COMM1:1) 33 10
(COMM1:0) (COMM1:2) 33 10
(COMM1:0) (COMM1:3) 33 10
(COMM1:0) (COMM1:4) 33 10
(COMMWORLD:all) > recvqueue
*** Unsatisfied receives posted in (COMMWORLD:all)
Msg Length
Recv Posted By For Msg From Msg Tag (in bytes)
================== ================== ============ ============
(COMMWORLD:all) > recvqueue -all
*** Unsatisfied receives posted in (COMMWORLD:all)
Msg Length
Recv Posted By For Msg From Msg Tag (in bytes)
================== ================== ============ ============
(COMM1:0) (COMM1:0) 22 10
(COMM1:1) (COMM1:0) 22 10
(COMM1:2) (COMM1:0) 22 10
(COMM1:3) (COMM1:0) 22 10
(COMM1:4) (COMM1:0) 22 10
*** Unsatisfied receives posted in (all)
Msg Length
Recv Posted By For Msg From Msg Type (in bytes)
================== ================== ============ ============
(COMMWORLD:all) > recvqueue(comm1:0)
*** Unsatisfied receives posted in (COMM1:0)
Msg Length
Recv Posted By For Msg From Msg Tag (in bytes)
================== ================== ============ ============
(COMM1:0) (COMM1:0) 22 10
| Intel Tutorial Notes | Previous -- Next |