Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Question about interpolation

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Question about interpolation


Chronological Thread 
  • From: Gengbin Zheng <zhenggb AT gmail.com>
  • To: Xuehan Xu <xxhdx1985126 AT gmail.com>
  • Cc: charm AT cs.uiuc.edu
  • Subject: Re: [charm] [ppl] Question about interpolation
  • Date: Fri, 14 Oct 2011 20:32:13 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Xuehan,

If you are using startTraceBigSim and endTraceBigSim already, you
don't need to call BgMark(). Those two functions already call it.

Gengbin

On Fri, Oct 14, 2011 at 8:07 PM, Xuehan Xu
<xxhdx1985126 AT gmail.com>
wrote:
> Thank you, sir:-)
> So, I have to call BgMark in the code when running the emulator, and call
> startTraceBigSim() and endTraceBigSim() in the same code when running it on
> a real machine or some cycle accurate simulator, so that the
> interpolationtool can rewrite the bgTrace log correctly. Is that correct?
>
> In addition, sir, in the BigSim Emulator Mannual, it says that
> startTraceBigSim() and endTraceBigSim() can be called at most only once in
> any SEB. What if I have an SEB with a loop? For example:
>
> while(....){
> recv();
> some sequential execution code;
> send();
> }
>
> What should I do to log the execution time between the recv() call and the
> send() call?
>
> On 15 October 2011 03:28, Gengbin Zheng
> <zhenggb AT gmail.com>
> wrote:
>>
>> You need to insert call:
>>  BgMark("a marker string");
>>
>> in your code to insert the markings.
>>
>> Gengbin
>>
>> On Fri, Oct 14, 2011 at 12:02 PM, Xuehan Xu
>> <xxhdx1985126 AT gmail.com>
>> wrote:
>> > Dear Sirs:
>> >        Sorry for keep on asking... But I'm really confused
>> >
>> >        I read the interpolatelog.C file in the directory
>> > "example/bigsim/tools/rewritelog/", it seems that it can only
>> > interpolate
>> > the bgTrace when the bgTrace files themselves have bracket timings. How
>> > to
>> > make the emulator log the bracket timings?
>> >
>> > _______________________________________________
>> > charm mailing list
>> > charm AT cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/charm
>> >
>> > _______________________________________________
>> > ppl mailing list
>> > ppl AT cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/ppl
>> >
>> >
>
>





Archive powered by MHonArc 2.6.16.

Top of Page