Skip to Content.
Sympa Menu

charm - [charm] Using loadlog tool

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Using loadlog tool


Chronological Thread 
  • From: ashmita raju <ashmita97 AT yahoo.co.in>
  • To: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: [charm] Using loadlog tool
  • Date: Wed, 5 Jul 2017 07:09:24 +0000 (UTC)

Hello,

I am trying to analyze the trace logs produced by the BigSim Emulator to find the dependencies between processes in my program. While doing so, I was using the loadlog tool and the following error was produced.

  ../../../../bin/charmc  -host -o loadlog loadlog.o -lconv-bigsim-logs -lconv-util -lblue-standalone -language c++ -fPIC
/usr/bin/ld: ../../../../bin/../lib/libconv-bigsim-logs.a(bigsim_read.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../bin/../lib/libconv-bigsim-logs.a(bigsim_logs.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../bin/../lib/libconv-bigsim-logs.a(bigsim_api.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../bin/../lib/libconv-util.a(pup_util.o): relocation R_X86_64_32S against symbol `_ZTVN3PUP2erE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../bin/../lib/libconv-util.a(pup_xlater.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../bin/../lib/libconv-util.a(ckhashtable.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../bin/../lib/libblue-standalone.a(blue_standalone.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Fatal Error by charmc in directory /home/cms/charm/charm-6.7.1/charm-6.7.1/net-linux-x86_64-bigemulator/examples/bigsim/tools/loadlog
   Command g++ -m64 -m64 -fPIC -fPIC -o loadlog loadlog.o -L../../../../bin/../lib -lconv-bigsim-logs -lconv-util -lblue-standalone returned error code 1
charmc exiting...
Makefile:6: recipe for target 'loadlog' failed
make: *** [loadlog] Error 1
[1]+  Done                    gedit Makefile


Can you provide some insight into how to go about using this tool?

Thank You
Ashmita



Archive powered by MHonArc 2.6.19.

Top of Page