Message: dnaphysics running and annalysis error Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None dnaphysics running and annalysis error 

Forum: Analysis
Date: 31 Aug, 2012
From: Megha Sairem <Megha Sairem>

Hello,

I have installed Geant4.9.5.p01 using cmake on Ubuntu 12.04 successfully on my Sony Vio Laptop. 
I have also installed ROOT on Ubuntu in the root diretory: /usr/local/root.
When I compile 'dnaphysics' example with gmake, the executable file 'DNAPhysics' is created in the Linux-g++ directory as shown below. 
When I run run DNAPhysics, it has got  the error:
 ./DNAPhysics: symbol lookup error: /home/megha/Documents/g4work/tmp/Linux-g++/DNAPhysics/libDNAPhysics.so:
 undefined symbol: _ZN14G4EmDNAPhysicsC1Ei as shown below.
 
There is no dna.root file created. Because of this, the command, root plot.C  cannot be executed. 
So, please help me how to solve this problem sothat I can run DNAPhysics and plot.C successfully.
  
megha@megha-SVE14112ENB:~$ cd /home/megha/Documents/g4work/dnaphysics
megha@megha-SVE14112ENB:~/Documents/g4work/dnaphysics$ gmake
Making dependency for file DNAPhysics.cc ...
Making dependency for file src/SteppingVerbose.cc ...
Making dependency for file src/SteppingAction.cc ...
Making dependency for file src/RunAction.cc ...
Making dependency for file src/PrimaryGeneratorAction.cc ...
Making dependency for file src/PhysicsList.cc ...
Making dependency for file src/HistoManager.cc ...
Making dependency for file src/DetectorConstruction.cc ...
Compiling DetectorConstruction.cc ...
Compiling HistoManager.cc ...
Compiling PhysicsList.cc ...
Compiling PrimaryGeneratorAction.cc ...
Compiling RunAction.cc ...
Compiling SteppingAction.cc ...
Compiling SteppingVerbose.cc ...
Creating shared library /home/megha/Documents/g4work/tmp/Linux-g++/DNAPhysics/libDNAPhysics.so ...
Compiling DNAPhysics.cc ...
Using global libraries ...
Linking DNAPhysics
... Done!
megha@megha-SVE14112ENB:~/Documents/g4work/dnaphysics$ cd /home/megha/Documents/g4work/bin/Linux-g++
megha@megha-SVE14112ENB:~/Documents/g4work/bin/Linux-g++$ ls
DNAPhysics
megha@megha-SVE14112ENB:~/Documents/g4work/bin/Linux-g++$ ./DNAPhysics

*************************************************************
 Geant4 version Name: geant4-09-05-patch-01    (20-March-2012)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW : http://cern.ch/geant4
*************************************************************

./DNAPhysics: symbol lookup error: /home/megha/Documents/g4work/tmp/Linux-g++/DNAPhysics/libDNAPhysics.so: undefined symbol: _ZN14G4EmDNAPhysicsC1Ei

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: dnaphysics running and annalysis error   (Bill_X - 31 Aug, 2012)
2 None: Re: dnaphysics running and annalysis error   (satya - 11 Sep, 2012)
 Add Message Add Message
to: "dnaphysics running and annalysis error"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]