charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Laércio Lima Pilla <laercio.pilla AT ufsc.br>
- To: Harshitha Menon <gplkrsh2 AT illinois.edu>
- Cc: charm AT lists.cs.illinois.edu
- Subject: Re: [charm] Access modifiers on load balancing data
- Date: Tue, 12 Jan 2016 19:08:19 -0200
- Organization: UFSC-CTC-INE
Oh, I see now. There is a new interface using setCompLoad and getCompLoad (instead of the old getVertexLoad). I guess my problems are solved :)
Thanks a bunch!
Em 2016-01-12 18:36, Harshitha Menon escreveu:
Hi Laércio,
I do see setCompLoad member function in the Vertex class in ckgraph.h. Let me know if that is not what you are looking for.Harshitha
On Tue, Jan 12, 2016 at 2:14 PM, Laércio Lima Pilla <laercio.pilla AT ufsc.br> wrote:
Dear all,
I am having an issue with the access modifiers of load variables in classes ProcInfo and Vertex.
Since I recompute loads in some of my load balancers, I needed 'set methods' to update cores and tasks' loads. My usual solution was to edit ckgraph.h, but I want to stop modifying Charm's source files.
Nevertheless, I cannot simply extend Vertex because the load variable is set as 'private'. If it were set as 'protected' (as is the case for ProcInfo variables), that would not be an issue.
Would it be possible to add set methods in ckgraph.h or change the access modifier of Vertex's load data (double compload)?
Best regards,
--
Laércio Lima Pilla, PhD. Associate Professor (Professor Adjunto) UFSC - CTC - INE, Brazil Email: laercio.pilla AT ufsc.br or laercio.lima.pilla AT gmail.com Tel: +55 (48) 9152 8120, +55 (48) 3721 7564 Website: www.inf.ufsc.br/~pilla/
--
Laércio Lima Pilla, PhD. Associate Professor (Professor Adjunto) UFSC - CTC - INE, Brazil Email: laercio.pilla AT ufsc.br or laercio.lima.pilla AT gmail.com Tel: +55 (48) 9152 8120, +55 (48) 3721 7564 Website: www.inf.ufsc.br/~pilla/
- [charm] Access modifiers on load balancing data, Laércio Lima Pilla, 01/12/2016
- <Possible follow-up(s)>
- Re: [charm] Access modifiers on load balancing data, Harshitha Menon, 01/12/2016
- Re: [charm] Access modifiers on load balancing data, Laércio Lima Pilla, 01/12/2016
Archive powered by MHonArc 2.6.16.