charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: "Kale, Laxmikant V" <kale AT cs.uiuc.edu>
- To: Haowei Huang <huangh AT in.tum.de>, "Zheng, Gengbin" <gzheng AT illinois.edu>
- Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>, "kale AT illinois.edu" <kale AT illinois.edu>
- Subject: Re: [charm] Charm++ runtime problem
- Date: Sun, 1 Aug 2010 14:32:07 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
There is no problem with multiple A elements accessing (i.e. sending method invocations to) multiple members of B array. Charm Runtime makes sure that only one normal entry method is executing at a time.
But I want to make sure you understood the answer to the last
email Your code should be: chare A { … fill in fields of
messageToB;
And then have the getValue message free the incoming message. Alternatively, you could use parameter marshalling to avoid using messages. You may benefit from looking at some example code.
(with the exceptions of threaded
-- Laxmikant Kale 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
From: charm-bounces AT cs.uiuc.edu
[mailto:charm-bounces AT cs.uiuc.edu] On Behalf Of Haowei Huang
2010/8/1 Gengbin Zheng <zhenggb AT gmail.com>
On Sun, Aug 1, 2010 at 9:10 AM, Haowei Huang <huangh AT in.tum.de> wrote: Hi phil, _______________________________________________
|
- [charm] Charm++ runtime problem, Haowei Huang, 08/01/2010
- Re: [charm] Charm++ runtime problem, Gengbin Zheng, 08/01/2010
- Re: [charm] Charm++ runtime problem, Haowei Huang, 08/01/2010
- Re: [charm] Charm++ runtime problem, Kale, Laxmikant V, 08/01/2010
- Re: [charm] Charm++ runtime problem, Haowei Huang, 08/01/2010
- Re: [charm] Charm++ runtime problem, Kale, Laxmikant V, 08/01/2010
- Re: [charm] Charm++ runtime problem, Phil Miller, 08/01/2010
- Re: [charm] Charm++ runtime problem, Kale, Laxmikant V, 08/01/2010
- Re: [charm] Charm++ runtime problem, Haowei Huang, 08/01/2010
- Re: [charm] Charm++ runtime problem, Kale, Laxmikant V, 08/01/2010
- Re: [charm] Charm++ runtime problem, Haowei Huang, 08/01/2010
- Re: [charm] Charm++ runtime problem, Gengbin Zheng, 08/01/2010
Archive powered by MHonArc 2.6.16.