Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Flags for load balancing algorithms

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Flags for load balancing algorithms


Chronological Thread 
  • From: Gengbin Zheng <zhenggb AT gmail.com>
  • To: Laércio Lima Pilla <llpilla AT inf.ufrgs.br>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] [ppl] Flags for load balancing algorithms
  • Date: Wed, 19 Oct 2011 15:39:03 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

make charm++ OPTS="-DDEBUGLB=1" can pass this flag to all files. Is
this good enough?

Gengbin

On Wed, Oct 19, 2011 at 9:47 AM, Laércio Lima Pilla
<llpilla AT inf.ufrgs.br>
wrote:
> Hi Gengbin,
> Lets say that I have a parameter DEBUGLB, which I would use for
> constructions like #ifdef #else #endif. I would like to pass this parameter
> in compilation time (-DDEBUGLB=1).
> Is there a way simple way to inform this when I am compiling Charm++ with my
> load balancer? I know I can use make depends, compile my LB, and then make
> charm++, but it would be nice if I could avoid having to compile my LB
> directly.
> Best regards,
>
> Laércio LIMA PILLA
>
> PhD Student at Federal University of Rio Grande do Sul (UFRGS)
> Email: 
> laercio.pilla AT inf.ufrgs.br or 
> laercio.lima.pilla AT gmail.com
> Tel: +55 54 9973 6313
> Website: www.inf.ufrgs.br/~llpilla
>
>
> 2011/10/19 Gengbin Zheng
> <zhenggb AT gmail.com>
>>
>> Hi,
>>
>>  I am not sure what exactly you mean "flag". You mean you want to
>> create dependence file for a specific load balancer?
>> Yes, I think you already mentioned it. For a load balancer MyLB, you
>> write a file named libmoduleMyLB.dep, which contains special link time
>> command line specific to this load balancer.
>>
>> Gengbin
>>
>> On Tue, Oct 18, 2011 at 4:09 PM, Laércio Lima Pilla
>> <llpilla AT inf.ufrgs.br>
>> wrote:
>> > Hi,
>> > I would like to know if there is a simple way to inform Charm of some
>> > flags
>> > for the compilation of load balancing algorithms. Is there something
>> > similar
>> > to passing libraries with a libmoduleMyLB.dep file?
>> > Best regards,
>> >
>> > Laércio LIMA PILLA
>> >
>> > PhD Student at Federal University of Rio Grande do Sul (UFRGS)
>> > Email: 
>> > laercio.pilla AT inf.ufrgs.br or 
>> > laercio.lima.pilla AT gmail.com
>> > Tel: +55 54 9973 6313
>> > Website: www.inf.ufrgs.br/~llpilla
>> >
>> > _______________________________________________
>> > 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