Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Undefined symbols in Charm libs

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Undefined symbols in Charm libs


Chronological Thread 
  • From: Phil Miller <mille121 AT illinois.edu>
  • To: "Michael S. Sellers (Cont, ARL/WMRD)" <michael.s.sellers.ctr AT us.army.mil>
  • Cc: charm AT cs.uiuc.edu
  • Subject: Re: [charm] [ppl] Undefined symbols in Charm libs
  • Date: Mon, 6 Dec 2010 14:20:59 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

On Mon, Dec 6, 2010 at 12:42, Michael S. Sellers (Cont, ARL/WMRD)
<michael.s.sellers.ctr AT us.army.mil>
wrote:
> If I want to link the shared library at compile time, I'm hitting:
>
> .rootdir/charm-6.2.2/multicore-linux64/lib_so//libconv-core.so: undefined
> reference to `CldModuleInit'
> .rootdir/charm-6.2.2/multicore-linux64/lib_so//libck.so: undefined reference
> to `CldEnqueue'
> .rootdir/charm-6.2.2/multicore-linux64/lib_so//libconv-core.so: undefined
> reference to `CldGetStrategy'
> .rootdir/charm-6.2.2/multicore-linux64/lib_so//libck.so: undefined reference
> to `_createTraces(char**)'
> .rootdir/charm-6.2.2/multicore-linux64/lib_so//libck.so: undefined reference
> to `_registerExternalModules(char**)'
> .rootdir/charm-6.2.2/multicore-linux64/lib_so//libck.so: undefined reference
> to `CldEnqueueGroup'
> .rootdir/charm-6.2.2/multicore-linux64/lib_so//libconv-core.so: undefined
> reference to `LoadNotifyFn'
> .rootdir/charm-6.2.2/multicore-linux64/lib_so//libck.so: undefined reference
> to `CldNodeEnqueue'
> .rootdir/charm-6.2.2/multicore-linux64/lib_so//libck.so: undefined reference
> to `CldEnqueueMulti'
>
> Phil Miller has helped me with a similar problem, where I needed to build
> some memory and threads libraries that were not being created in lib_so
> during the Make.  It seems like I'm missing a few more, but I'm not sure
> which ones.  I grep'd for these methods but there are quite a few files that
> they appear in.

The 'Cld*' symbols, as well as LoadNotifyFn, come from the Converse
load balancing modules, which are not actually relevant for NAMD's
operation (to the best of my knowledge). Go ahead and link in
charm/lib/libldb-none.o for those.

_createTraces and _registerExternalModules would normally be generated
by charmc. Have a look at the section headed "Build the module
initialization function". If you depend on other modules from Charm++
(things linked by -module foo on NAMD's link line), then you'll need
those here.





Archive powered by MHonArc 2.6.16.

Top of Page