Skip to Content.
Sympa Menu

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

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Bouncing off messages in converse


Chronological Thread 
  • From: Amruta kelkar <d2batch AT gmail.com>
  • To: Phil Miller <mille121 AT illinois.edu>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] Bouncing off messages in converse
  • Date: Wed, 27 Aug 2014 00:44:24 -0400
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Hi,
Thank you Phil, that solved the problem.

Yanhua, yes, I could use switchhandlers, however, I treat the message I wish to foward as new message and have no use of the current handler.


On Mon, Aug 25, 2014 at 9: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





--
d2batch



Archive powered by MHonArc 2.6.16.

Top of Page