Skip to Content.
Sympa Menu

charm - Re: [charm] Issue after OS upgrade

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Issue after OS upgrade


Chronological Thread 
  • From: "Chandrasekar, Kavitha" <kchndrs2 AT illinois.edu>
  • To: Anna Victoria Oikawa <anna4victoria AT gmail.com>, "charm AT lists.cs.illinois.edu" <charm AT lists.cs.illinois.edu>
  • Subject: Re: [charm] Issue after OS upgrade
  • Date: Sat, 2 Mar 2019 01:19:51 +0000
  • Accept-language: en-US
  • Authentication-results: illinois.edu; spf=pass smtp.mailfrom=kchndrs2 AT illinois.edu; dkim=pass header.d=uillinoisedu.onmicrosoft.com header.s=selector1-illinois-edu; dmarc=pass header.from=illinois.edu

Hi Anna,

 

Regarding the first issue when doing make clean, the error can be ignored. There is a minor bug in the Makefile for hello/xarraysection example that is causing the error. For resolving the second issue, if the methods are defined in <filename>.C then you could try adding <filename>.o dependency to LIBCK_CORE in src/scripts/Makefile. This will create the object file <filename>.o from <filename>.C when building charm and link it on make.

 

Please let us know if you have any additional questions.

 

Thanks,

Kavitha

 

From: Anna Victoria Oikawa <anna4victoria AT gmail.com>
Reply-To: Anna Victoria Oikawa <anna4victoria AT gmail.com>
Date: Tuesday, February 26, 2019 at 9:14 PM
To: "charm AT lists.cs.illinois.edu" <charm AT lists.cs.illinois.edu>
Subject: [charm] Issue after OS upgrade

 

Hello,

 

I've recently upgraded my OS dist to Ubuntu 18.04 and I've been having issues trying with Charm.

The first one happens when I run a make clean:

make[4]: Entering directory '/home/anna/charm/multicore-linux-x86_64/examples/charm++/hello/xarraySection'

Generating dependencies for hello.ci

Generating dependencies for hello.C

In file included from ../../../../include/conv-header.h:4:0,

                 from ../../../../include/converse.h:74,

                 from ../../../../include/pup.h:69,

                 from ../../../../include/ckmulticast.h:4,

                 from hello.C:2:

../../../../include/conv-config.h:77:2: error: #error "Compiler not generating 64 bit binary, please check compiler flags."

 #error "Compiler not generating 64 bit binary, please check compiler flags."

  ^~~~~

 

The second one happens when I execute a make on the lb_test directory.
I created a new Load Balancer that invokes a method from an external class, which is included in its .C file. This external class is a regular C class (.h and .C files). This is the error:

../../../../bin/../lib/libmoduleCommonLBs.a(DummyLB.o): In function `DummyLB::work(BaseLB::LDStats*)':

DummyLB.C:(.text+0x126): undefined reference to `Profiler::extractFeatures()'

../../../../bin/../lib/libmoduleCommonLBs.a(MetaSchedulerLB.o): In function `MetaSchedulerLB::work(BaseLB::LDStats*)':

MetaSchedulerLB.C:(.text+0x136): undefined reference to `Profiler::extractFeatures()'

MetaSchedulerLB.C:(.text+0x239): undefined reference to `Profiler::statsToString(std::vector<double, std::allocator<double> >)'

collect2: error: ld returned 1 exit status

Fatal Error by charmc in directory /home/anna/charm/multicore-linux-x86_64/tests/charm++/load_balancing/lb_test

   Command g++ -rdynamic -D_REENTRANT -O3 lb_test.o Topo.o moduleinit30482.o -L../../../../bin/../lib -lmoduleCommonLBs -lckmain -lck -lmemory-default -lthreads-default -lconv-machine -lconv-core -ltmgr -lconv-util -lconv-partition -lhwloc_embedded -lm -lmemory-default -lthreads-default -lldb-rand -lconv-ldb -lpthread -lckqt -ldl -lmoduleCommonLBs -lmoduleNDMeshStreamer -lmodulecompletion -lm ../../../../bin/../lib/conv-static.o -o lb_test returned error code 1

charmc exiting...

Makefile:13: recipe for target 'lb_test' failed

make: *** [lb_test] Error 1

 

 

Thank you.



  • Re: [charm] Issue after OS upgrade, Chandrasekar, Kavitha, 03/01/2019

Archive powered by MHonArc 2.6.19.

Top of Page