Skip to Content.
Sympa Menu

charm - Re: [charm] custom packed messages

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] custom packed messages


Chronological Thread 
  • From: "Kale, Laxmikant V" <kale AT illinois.edu>
  • To: Nicolas Bock <nicolasbock AT gmail.com>, "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] custom packed messages
  • Date: Fri, 15 Nov 2013 02:20:30 +0000
  • Accept-language: en-US
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Pack and unpack are "conditional" they get called only if the message is
going to a different node (PE?). That is so that yu don't pay the overhead
of packing within the same address space. Does that explain it?

---
Laxmikant (Sanjay) Kale http://charm.cs.uiuc.edu
<http://charm.cs.uiuc.edu/>
Professor, Computer Science
kale AT illinois.edu
201 N. Goodwin Avenue Ph: (217) 244-0094
Urbana, IL 61801-2302 FAX: (217) 265-6582







On 11/14/13 4:58 PM, "Nicolas Bock"
<nicolasbock AT gmail.com>
wrote:

>Hi,
>
>I have implemented a custom packed message, closely following the
>description in section 10.1.3.1. When I run the program however, the
>pack() and unpack() methods never get executed.
>
>In the interface file I have
>
>entry [sync] PackedMsg * getStuff (void);
>
>and in the .cc file
>
>PackedMsg * getStuff (void) {
> return new PackedMsg(stuff);
>}
>
>where stuff is a private field in the chare class. Is there anything
>else I need to do to make sure that the pack() and unpack() methods
>are used?
>
>Thanks,
>
>nick
>_______________________________________________
>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