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: Phil Miller <mille121 AT illinois.edu>
  • To: Amruta kelkar <d2batch AT gmail.com>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] Bouncing off messages in converse
  • Date: Mon, 25 Aug 2014 18:50:17 -0700
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

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





Archive powered by MHonArc 2.6.16.

Top of Page