Message: Problem running example A01 and N02 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problem running example A01 and N02 

Forum: Analysis
Date: 17 Jul, 2009
From: Neoh <Neoh>

Hi,

I have geant4.9.2.p01 in my Debian GNU/Linux. I tried to install Open Scientist as AIDA implementation of my Geant4 toolkit. To test my AIDA installation, I followed instructions on its homepage to create a cpp file, compile and run it with output " :-) AIDA found." as expected, so I assumed the AIDA installation is successful at this point(hopefuly).

The problem comes when I tried to test-run example A01. I source both env.sh from geant4 installation directory and aida-setup.sh from osc_vis,unset the variables G4VIS_BUILD_OPENGLX_DRIVER, G4VIS_BUILD_OPENGLXM_DRIVER and G4LIB_USE_GRANULAR, then type "make".This is the output:

Making dependency for file A01app.cc ... Making dependency for file src/A01Trajectory.cc ... Making dependency for file src/A01PrimaryGeneratorMessenger.cc ... Making dependency for file src/A01PrimaryGeneratorAction.cc ... Making dependency for file src/A01PhysicsList.cc ... Making dependency for file src/A01MuonPhysics.cc ... Making dependency for file src/A01MagneticFieldMessenger.cc ... Making dependency for file src/A01MagneticField.cc ... Making dependency for file src/A01IonPhysics.cc ... Making dependency for file src/A01HodoscopeHit.cc ... Making dependency for file src/A01Hodoscope.cc ... Making dependency for file src/A01HadronPhysics.cc ... Making dependency for file src/A01HadCalorimeterHit.cc ... Making dependency for file src/A01HadCalorimeter.cc ... Making dependency for file src/A01GeneralPhysics.cc ... Making dependency for file src/A01EventActionMessenger.cc ... Making dependency for file src/A01EventAction.cc ... Making dependency for file src/A01EMPhysics.cc ... Making dependency for file src/A01EmCalorimeterHit.cc ... Making dependency for file src/A01EmCalorimeter.cc ... Making dependency for file src/A01DriftChamberHit.cc ... Making dependency for file src/A01DriftChamber.cc ... Making dependency for file src/A01DetectorConstruction.cc ... Making dependency for file src/A01DetectorConstMessenger.cc ... Making dependency for file src/A01CellParameterisation.cc ... Making dependency for file src/A01AnalysisManager.cc ... Compiling A01AnalysisManager.cc ... In file included from src/A01AnalysisManager.cc:60: include/A01AnalysisManager.hh:56: warning: declaration ‘class AIDA::IAnalysisFactory’ does not declare anything include/A01AnalysisManager.hh:57: warning: declaration ‘class AIDA::ITree’ does not declare anything include/A01AnalysisManager.hh:58: warning: declaration ‘class AIDA::IHistogramFactory’ does not declare anything include/A01AnalysisManager.hh:59: warning: declaration ‘class AIDA::ITupleFactory’ does not declare anything include/A01AnalysisManager.hh:60: warning: declaration ‘class AIDA::IPlotter’ does not declare anything Compiling A01CellParameterisation.cc ... Compiling A01DetectorConstMessenger.cc ... Compiling A01DetectorConstruction.cc ... Compiling A01DriftChamber.cc ... Compiling A01DriftChamberHit.cc ... Compiling A01EmCalorimeter.cc ... Compiling A01EmCalorimeterHit.cc ... Compiling A01EMPhysics.cc ... Compiling A01EventAction.cc ... In file included from src/A01EventAction.cc:33: include/A01AnalysisManager.hh:56: warning: declaration ‘class AIDA::IAnalysisFactory’ does not declare anything include/A01AnalysisManager.hh:57: warning: declaration ‘class AIDA::ITree’ does not declare anything include/A01AnalysisManager.hh:58: warning: declaration ‘class AIDA::IHistogramFactory’ does not declare anything include/A01AnalysisManager.hh:59: warning: declaration ‘class AIDA::ITupleFactory’ does not declare anything include/A01AnalysisManager.hh:60: warning: declaration ‘class AIDA::IPlotter’ does not declare anything Compiling A01EventActionMessenger.cc ... Compiling A01GeneralPhysics.cc ... Compiling A01HadCalorimeter.cc ... Compiling A01HadCalorimeterHit.cc ... Compiling A01HadronPhysics.cc without optimization... Compiling A01Hodoscope.cc ... Compiling A01HodoscopeHit.cc ... Compiling A01IonPhysics.cc ... Compiling A01MagneticField.cc ... Compiling A01MagneticFieldMessenger.cc ... Compiling A01MuonPhysics.cc ... Compiling A01PhysicsList.cc ... Compiling A01PrimaryGeneratorAction.cc ... Compiling A01PrimaryGeneratorMessenger.cc ... Compiling A01Trajectory.cc ... Creating shared library /root/geant4/tmp/Linux-g++/A01app/libA01app.so ... /usr/bin/ld: cannot find -lG4readout collect2: ld returned 1 exit status make: *** [/root/geant4/tmp/Linux-g++/A01app/libA01app.so] Error 1

When I tried to run example N02, it gives the same error: . . . Creating shared library /root/geant4/tmp/Linux-g++/exampleN02/libexampleN02.so ... /usr/bin/ld: cannot find -lG4readout collect2: ld returned 1 exit status make: *** [/root/geant4/tmp/Linux-g++/exampleN02/libexampleN02.so] Error 1

Does anyone have any idea what is the problem? I tried to compile example N01 but it didn't show any error.

Regards,

Neoh

 Add Message Add Message
to: "Problem running example A01 and N02"

 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 ]