charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Gengbin Zheng <gzheng AT illinois.edu>
- To: Jim Phillips <jim AT ks.uiuc.edu>
- Cc: charm AT cs.uiuc.edu
- Subject: Re: [charm] cuould -DCMK_OPTIMIZE be --without-trace ?
- Date: Thu, 11 Feb 2010 11:36:25 -0600
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
Jim Phillips wrote:
i,
In order to build an "optimized" Charm++ application, I need to specify -DCMK_OPTIMIZE on both the build command line and (I assume) in the application compilation options. Is there a reason the build script couldn't just add it to conv-mach-opt.h where it would automatically get picked up by any application compiling against that build? That seems to be what happens when building Tau.
Thanks.
-Jim
_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm
What you suggested makes sense. However if this is a default behavior, it can be a mystery for a user that some compiler flags specified at build time gets always applied, so I make a new option to charmc called "-use-build-options". If a user knows what he is doing, he can use this option to apply whatever the compiler flags he specified at the time when running ./build.
Gengbin
- [charm] cuould -DCMK_OPTIMIZE be --without-trace ?, Jim Phillips, 02/09/2010
- Re: [charm] cuould -DCMK_OPTIMIZE be --without-trace ?, Phil Miller, 02/09/2010
- Re: [charm] cuould -DCMK_OPTIMIZE be --without-trace ?, Gengbin Zheng, 02/11/2010
Archive powered by MHonArc 2.6.16.