Discussion:
Leftover buffered message
(too old to reply)
Snowy
2010-04-17 20:00:46 UTC
Permalink
Can someone explain to me if this warning can be avoided 'Leftover
buffered message'? Im getting the right answers but the warning
messages are messing up my output. Could this warning be potentially
dangerous?

Heres a copy of the function that is generating the warning
http://pastebin.com/23KNMwVH
brycey
2010-04-20 22:43:11 UTC
Permalink
Post by Snowy
Can someone explain to me if this warning can be avoided 'Leftover
buffered message'?  Im getting the right answers but the warning
messages are messing up my output.  Could this warning be potentially
dangerous?
Heres a copy of the function that is generating the warninghttp://pastebin.com/23KNMwVH
Hi this warning just mean you have sent request that haven't been
collected, if you are sure they dont cause a problem with your program
the warnings can be avoided by calling MPI_Cancel on the uneeded
requests.
Michael Hofmann
2010-04-21 06:34:11 UTC
Permalink
Post by brycey
Post by Snowy
Can someone explain to me if this warning can be avoided 'Leftover
buffered message'? Im getting the right answers but the warning
messages are messing up my output. Could this warning be potentially
dangerous?
Heres a copy of the function that is generating the
warninghttp://pastebin.com/23KNMwVH
Hi this warning just mean you have sent request that haven't been
collected, if you are sure they dont cause a problem with your program
the warnings can be avoided by calling MPI_Cancel on the uneeded
requests.
"Unneeded" requests are freed with MPI_Request_Free. MPI_Cancel only tries
to cancel a pending communication operation and it is still necessary to
complete this communication with MPI_Request_Free, MPI_Wait, MPI_Test, ....


Michael


PS: Is "leftover buffered message" the correct warning message?

Loading...