charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Robert Steinke <rsteinke AT uwyo.edu>
- To: Charm Mailing List <charm AT cs.illinois.edu>
- Subject: [charm] #define Classname_SDAG_CODE even if there is no SDAG code
- Date: Wed, 1 Apr 2015 08:30:26 -0600
- Authentication-results: cs.illinois.edu; dkim=none (message not signed) header.d=none;
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
I have a suggestion. Could Charm++ #define Classname_SDAG_CODE to be blank if there is no SDAG code? Currently it isn't defined at all so it generates a compiler error if you put Classname_SDAG_CODE in a chare that has no SDAG code. This is inconvenient if I'm writing a chare that I know will have SDAG code, but I haven't gotten to that yet, and I want to check that what I have done so far compiles. Sure, I could leave out the Classname_SDAG_CODE for now, but then I have to remember to go back and add it later. It seems like defining it to be blank wouldn't do any harm, and programmers could just make a habit of putting Classname_SDAG_CODE in every Chare class without having to think about whether it needs it or not.
Bob Steinke
- [charm] #define Classname_SDAG_CODE even if there is no SDAG code, Robert Steinke, 04/01/2015
- Re: [charm] #define Classname_SDAG_CODE even if there is no SDAG code, Phil Miller, 04/01/2015
Archive powered by MHonArc 2.6.16.