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>
- Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>, "Zheng, Gengbin" <gzheng AT illinois.edu>, "kale AT illinois.edu" <kale AT illinois.edu>, "Miller, Philip B" <mille121 AT illinois.edu>
- Subject: Re: [charm] Charm++ runtime problem
- Date: Sun, 1 Aug 2010 16:08:18 -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>
My mistake. I meant to delete that fragment about threaded entry methods. You do not need threaded entry methods for the purpose you described.
I suggest we take this discuss off the mailing list. Phil and Gengbin can answer your questions, as before.
-- 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:
huanghaowei268 AT gmail.com [mailto:huanghaowei268 AT gmail.com] On Behalf Of Haowei
Huang
2010/8/1 Kale, Laxmikant V <kale AT 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 { arrayB[i].getValue(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.