Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Compile failure in ckgraphTemp.C on Blue Waters

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Compile failure in ckgraphTemp.C on Blue Waters


Chronological Thread 
  • From: Osman Sarood <sarood1 AT illinois.edu>
  • To: Tom Quinn <trq AT astro.washington.edu>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] [ppl] Compile failure in ckgraphTemp.C on Blue Waters
  • Date: Sat, 15 Dec 2012 14:33:40 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Fixed it. You can pull it again. Sorry for the inconvenience. 

Osman


On Sat, Dec 15, 2012 at 12:14 PM, Tom Quinn <trq AT astro.washington.edu> wrote:
Compiling on Blue Waters with "./build ChaNGa gemini_gni-crayxe smp
hugepages" gives the following error:

g++    -c -o ckgraphTemp.o ckgraphTemp.C
In file included from ckgraphTemp.h:19:0,
                  from ckgraphTemp.C:14:
ckgraph.h: In member function 'void
ObjGraphTemp::convertToInsts(BaseLB::LDStats*)':
ckgraph.h:145:12: error: 'double Vertex::compLoad' is private
ckgraphTemp.C:35:20: error: within this context
In file included from ckgraphTemp.h:19:0,
                  from ckgraphTemp.C:14:
ckgraph.h:145:12: error: 'double Vertex::compLoad' is private
ckgraphTemp.C:35:48: error: within this context
In file included from ckgraphTemp.h:19:0,
                  from ckgraphTemp.C:14:
ckgraph.h:147:9: error: 'int Vertex::currPe' is private
ckgraphTemp.C:35:83: error: within this context
gmake: *** [ckgraphTemp.o] Error 1

Making ObjGraphTemp a friend of Vertex seems to fix this:

diff --git a/src/ck-ldb/ckgraph.h b/src/ck-ldb/ckgraph.h
index f27806f..d14ccd0 100644
--- a/src/ck-ldb/ckgraph.h
+++ b/src/ck-ldb/ckgraph.h
@@ -123,6 +123,7 @@ class McastDest {

  class Vertex {
    friend class ObjGraph;
+  friend class ObjGraphTemp;

    public:
      Vertex() {}


Tom Quinn       Astronomy, University of Washington
Internet:       trq AT astro.washington.edu
Phone:          206-685-9009
_______________________________________________
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



--
Regards,
Osman Sarood



  • Re: [charm] [ppl] Compile failure in ckgraphTemp.C on Blue Waters, Osman Sarood, 12/15/2012

Archive powered by MHonArc 2.6.16.

Top of Page