charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: "Kolla, Hemanth NMN" <hnkolla AT sandia.gov>
- To: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
- Subject: [charm] Proper use of traceBegin() and traceEnd() functions
- Date: Thu, 23 Jun 2016 01:01:09 +0000
- Accept-language: en-GB, en-US
Hi,
I've been able to use tracemode projections successfully with my code. I get the results over all the time steps in my code, but as a next step I wanted to gather traces around selective time steps. I've naively placed calls to traceBegin() and traceEnd() inside an SDAG portion of my code, but I get the following compiler error:
STDIN:73:25-34: error: unknown SDAG construct or malformed entry method declaration.
You may have forgotten to terminate a previous entry method declaration with a semicolon or forgotten to mark a block of sequential SDAG code as 'serial'
if(outer_iter==0) traceBegin();
The pseudo code of what I'm trying to do here is below. This is the body of code in my main ci file:
entry void move_all_distributed() {
for(outer_iter = 0; outer_iter < maxiterations; outer_iter++) {
serial "init_start_outer_loop" {
//----Call some entry methods---------
//----Set start and end of selective tracing----------------------//
if(outer_iter==0) traceBegin();
if(outer_iter==10) traceEnd();
//-----Call some more entry methods--------
}
}
I'd be grateful if you could help me with the right way to call traceBegin and traceEnd.
Thanks,
Hemanth.
- [charm] Proper use of traceBegin() and traceEnd() functions, Kolla, Hemanth NMN, 06/22/2016
- Re: [charm] Proper use of traceBegin() and traceEnd() functions, Phil Miller, 06/22/2016
- Message not available
- Re: [charm] Proper use of traceBegin() and traceEnd() functions, Harshitha Menon, 06/22/2016
- Re: [charm] [EXTERNAL] Re: Proper use of traceBegin() and traceEnd() functions, Kolla, Hemanth NMN, 06/22/2016
- Re: [charm] [EXTERNAL] Re: Proper use of traceBegin() and traceEnd() functions, Phil Miller, 06/23/2016
- Re: [charm] [EXTERNAL] Re: Proper use of traceBegin() and traceEnd() functions, Kolla, Hemanth NMN, 06/22/2016
- Re: [charm] Proper use of traceBegin() and traceEnd() functions, Harshitha Menon, 06/22/2016
Archive powered by MHonArc 2.6.16.