charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Jim Phillips <jim AT ks.uiuc.edu>
- To: Robert Steinke <rsteinke AT uwyo.edu>
- Cc: Charm Mailing List <charm AT cs.illinois.edu>
- Subject: Re: [charm] [ppl] SDAG construct for optional message receive
- Date: Fri, 19 Feb 2016 12:07:08 -0600 (CST)
This sounds useful. I think the only way to implement this behavior now is to use a non-SDAG entry method that places arriving messages into a queue, and then drain the queue at your desired point in the SDAG loop.
Jim
On Thu, 18 Feb 2016, Robert Steinke wrote:
Is there an SDAG construct to receive an optional message if it has arrived, but if no message has arrived just go on? This behavior can sometimes be simulated with a case inside of a loop if you have other messages to receive as well, but a case requires that one of its messages be received. I'm thinking of something like a case where if none of its messages is immediately available it doesn't wait, it finishes without receiving a message.
Bob Steinke
- [charm] SDAG construct for optional message receive, Robert Steinke, 02/18/2016
- Re: [charm] [ppl] SDAG construct for optional message receive, Jim Phillips, 02/19/2016
Archive powered by MHonArc 2.6.16.