Skip to Content.
Sympa Menu

charm - [charm] Multiple inheritance ?

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Multiple inheritance ?


Chronological Thread 
  • From: Christian Perez <christian.perez AT inria.fr>
  • To: charm AT cs.uiuc.edu
  • Subject: [charm] Multiple inheritance ?
  • Date: Wed, 26 May 2010 16:07:21 +0200
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
  • Organization: INRIA/LIP

Hello,

inheritance in Charm++ works fine for 1 or 2 chares but it fails for 3 chares.

chare A : B, C, D {} fails because CBase_A is not generated in the decl file.

If A inherits only of B, the decl file makes use of the template CBase for declaring CBase_A
If A inherits of B & C, the decl file makes use of the template CBase2 for declaring CBase_A
But for B,C,D, there is no CBase_A!

Did I do something wrong or is there a limitation in the number of inherited chares?

Thanks!

Christian





Archive powered by MHonArc 2.6.16.

Top of Page