charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: "Van Der Wijngaart, Rob F" <rob.f.van.der.wijngaart AT intel.com>
- To: Nikhil Jain <nikhil.life AT gmail.com>
- Cc: "Kunzman, David M" <david.m.kunzman AT intel.com>, "Hammond, Jeff R" <jeff.r.hammond AT intel.com>, "Mattson, Timothy G" <timothy.g.mattson AT intel.com>, "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
- Subject: Re: [charm] Global variables in Charm++
- Date: Fri, 26 Sep 2014 22:36:32 +0000
- Accept-language: en-US
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
And here is another thing I ran into. It’s actually much less innocent than it seems. Charmc doesn’t do the kind of type/syntax checking that a production compiler does. For example, I made some mistakes in the CkPrintf function (mismatch between I/O descriptor and type of variable being printed, or sometimes even a mismatch between the number of variables printed and the number of I/O descriptors). Charmc didn’t pick that up. So my code compiled just fine and I was merrily staring out the result of some print statements that made absolutely no sense. Could charmc start doing those checks as well? Thanks!
Rob
From: Van Der Wijngaart, Rob F
Hello Nikhil,
I have a symbol that I define on the compile line (i.e. I stuff it in OPTS, as below): OPTS=-DRADIUS=1 CHARMC=../../../bin/charmc $(OPTS) When I now use RADIUS in my .C file, the C preprocessor does its work nicely and recognizes that I have defined RADIUS, and also what its value is. However, when I use RADIUS in the .ci file, charmc croaks. So is it true that no preprocessor is run on .ci files? Thanks!
Rob |
- Re: [charm] Global variables in Charm++, (continued)
- Re: [charm] Global variables in Charm++, Van Der Wijngaart, Rob F, 09/29/2014
- Re: [charm] [ppl] Global variables in Charm++, Gengbin Zheng, 09/29/2014
- Re: [charm] [ppl] Global variables in Charm++, Van Der Wijngaart, Rob F, 09/29/2014
- Re: [charm] [ppl] Global variables in Charm++, Gengbin Zheng, 09/29/2014
- Re: [charm] Global variables in Charm++, Van Der Wijngaart, Rob F, 09/29/2014
- Re: [charm] Global variables in Charm++, Kunzman, David M, 09/29/2014
- Re: [charm] Global variables in Charm++, Van Der Wijngaart, Rob F, 09/29/2014
- Re: [charm] [ppl] Global variables in Charm++, Gengbin Zheng, 09/29/2014
- Re: [charm] [ppl] Global variables in Charm++, Van Der Wijngaart, Rob F, 09/29/2014
- Re: [charm] Global variables in Charm++, Van Der Wijngaart, Rob F, 09/29/2014
- Re: [charm] Global variables in Charm++, Van Der Wijngaart, Rob F, 09/29/2014
- Re: [charm] Global variables in Charm++, Kunzman, David M, 09/29/2014
- Re: [charm] Global variables in Charm++, Kunzman, David M, 09/29/2014
- Re: [charm] Global variables in Charm++, Van Der Wijngaart, Rob F, 09/29/2014
- Re: [charm] Global variables in Charm++, Van Der Wijngaart, Rob F, 09/29/2014
Archive powered by MHonArc 2.6.16.