charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Phil Miller <mille121 AT illinois.edu>
- To: Yogesh Sonawane <sonawane.yogesh19 AT gmail.com>
- Cc: Charm Mailing List <charm AT cs.illinois.edu>
- Subject: Re: [charm] ChareScripting in .ci file.
- Date: Wed, 18 Apr 2012 09:54:29 -0500
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
> That malloc in PUP issue is solved. Now i am looking for some chare
> Scripting in .ci file.
> While coding i have found some restriction on accessing some variables or
> object in some blocks of .ci file.
> perticularly in "when" clause block. So i want to know about this scope
> of different variables or objects in .ci file.
> it may include global variables, chare members, implicit members of chare,
> member functions n all. It will be so much helpful for further programming
> as i need to do some dependent and synchronous coding.
The code generated to implement chare scripting (aka SDAG) is emitted
as member functions of the chare class on which it is defined. Thus,
scope-wise, you can write anything that you could write in any other
member function.
If you've encountered some difficulty, please feel free to send the
problematic code to the mailing list (CCed) so we can help you out. I
have some suspicion of what might be affecting your code, but I don't
want to speculate without actually seeing it.
- Re: [charm] ChareScripting in .ci file., Phil Miller, 04/18/2012
Archive powered by MHonArc 2.6.16.