Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Bouncing off messages in converse

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Bouncing off messages in converse


Chronological Thread 
  • From: Yanhua <yanh.sun AT gmail.com>
  • To: Phil Miller <mille121 AT illinois.edu>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] [ppl] Bouncing off messages in converse
  • Date: Tue, 26 Aug 2014 08:43:32 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

also you might need to call switch handler instead of set handler. SwitchHandler will save the original handler while using your handler

Yanhua

Sent from my iPhone

On Aug 25, 2014, at 8:50 PM, Phil Miller <mille121 AT illinois.edu> wrote:

sizeof(char) isn't the size of the message. You need to call the size lookup function on that message pointer, and pass that value.


On Mon, Aug 25, 2014 at 4:53 PM, Amruta kelkar <d2batch AT gmail.com> wrote:
Hi,
In converse seed balancers, When I recieve a token message on a node A, I want to foward this message to another node B without enquing it on node A. How do I do this?
Currently I am doing this: When I recieve a char *newMsg in a message handler method, I am trying to CmiSethandler(newMsg,newHandler) and then CmiSyncSend(newMsg,sizeof(char),destPE). However, this is not working. Please help.

Thank you.

_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm


_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm
_______________________________________________
ppl mailing list
ppl AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/ppl



Archive powered by MHonArc 2.6.16.

Top of Page