| Message: Executable module of G4PersEx01 | Not Logged In (login) |
|
Dear Colleagues,
I am trying to build PersEx01 from geant4_6.0.p01. Making libG4ROOTIO.so is successfull, however I get warnings like:
-------------------------------------------------
...
src/G4RootTransManager.cc: In member function `virtual bool
G4RootTransManager::SelectWriteFile(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
src/G4RootTransManager.cc:69: warning: unused parameter `std::string obj'
...
-------------------------------------------------
The problem I have is in making the executable module. The compiler gives an error after a long list of warnings:
-------------------------------------------------
...
/home/etatar/bin/root_v3.10.02/root/cint/include/float.h:18:1: warning: "FLT_MIN
" redefined
In file included from /home/etatar/g4/geant4.6.0.p01/include/globals.hh:95,
from /home/etatar/g4/geant4.6.0.p01/include/G4VHit.hh:31,
from /home/etatar/g4/geant4.6.0.p01/examples/extended/persisten
cy/PersEx01/include/Pers01CalorHit.hh:35,
from Pers01CalorHitRoot.hh:10,
from /tmp/fileOj4byr_rootcint.h:1,
from /tmp/Ga3A8n_cint.cxx:1:
/home/etatar/g4/geant4.6.0.p01/include/templates.hh:86:1: warning: this is the l
ocation of the previous definition
gmake: *** [/home/etatar/g4/geant4.6.0.p01/examples/extended/persistency/rootio/
tmp/Linux-g++/G4PersEx01/G4PersEx01Dict.cc] Error 134
-------------------------------------------------
If I execute the GNUmakefilefile again, the errors are ignored and
libG4PersEx01.so and G4PersEx01
are created. Here is the end of the message I get when I run the ./run script:
-------------------------------------------------
---> End of event: 18
Absorber: total energy: 30.9549 MeV total track length: 2.00985 cm
Gap: total energy: 67.0609 keV total track length: 75.2977 mum
5 hits are stored in Pers01CalorHitsCollection. Hit Collection I/O manager "CalorSD" not found! G4HitRootIO::Store(): Hit Collection I/O manager is not registered for detector: 'CalorSD', collection name: 'CalCollection'. G4PersistencyManager::Store(G4Event) - Transaction aborted. ---> Begin of event: 19
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1379718041, 189997860
----------------------------------------
---> End of event: 19
Absorber: total energy: 30.8041 MeV total track length: 2.13951 cm
Gap: total energy: 217.855 keV total track length: 370.671 mum
5 hits are stored in Pers01CalorHitsCollection. Hit Collection I/O manager "CalorSD" not found! G4HitRootIO::Store(): Hit Collection I/O manager is not registered for detector: 'CalorSD', collection name: 'CalCollection'. G4PersistencyManager::Store(G4Event) - Transaction aborted. Graphics systems deleted. Visualization Manager deleting...
*** Break *** segmentation violation Generating stack trace... 0x41435217 in G4ParticleDefinition::~G4ParticleDefinition [not-in-charge]() + 0x3b from /home/etatar/g4/geant4.6.0.p01/lib/Linux-g++/libG4particles.so 0x4144b5a7 in <unknown> from /home/etatar/g4/geant4.6.0.p01/lib/Linux-g++/libG4particles.so 0x4144b606 in <unknown> from /home/etatar/g4/geant4.6.0.p01/lib/Linux-g++/libG4particles.so 0x41421f6b in <unknown> from /home/etatar/g4/geant4.6.0.p01/lib/Linux-g++/libG4particles.so 0x414d8066 in <unknown> from /home/etatar/g4/geant4.6.0.p01/lib/Linux-g++/libG4particles.so 0x4000ce94 in <unknown> from /lib/ld-linux.so.2 0x43dc3e10 in exit + 0x70 from /lib/tls/libc.so.6 0x43daf768 in <unknown> from /lib/tls/libc.so.6 0x0804ecb1 in G4VUserPhysicsList::RetrievePhysicsTable(G4ParticleDefinition*, G4String const&, bool) + 0x65 from ../rootio/bin/Linux-g++/G4PersEx01 ./run: line 3: 889 Aborted ../rootio/bin/Linux-g++/G4PersEx01 run.mac ------------------------------------------------- I am using gcc3.2 on Linux 9. The enviromental variables seem to be correctly defined. Could somebody help us? With best regards, Eddie Tatar Idaho State University |
| Inline Depth: | Outline Depth: | Add message: |
|
to: |