Message: Re: G4.9.4.p02 Examples are not working in G4.10.00.p01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: G4.9.4.p02 Examples are not working in G4.10.00.p01 

Forum: Installation and Configuration
Re: Question G4.9.4.p02 Examples are not working in G4.10.00.p01 (Ibrahim)
Re: None Re: G4.9.4.p02 Examples are not working in G4.10.00.p01 (Ben Morgan)
Date: 23 Apr, 2014
From: Ibrahim <Ibrahim>

Dear Geant4 experts;

Thank you very much for your reply. I was using geant4.9.4.p02 on Windows. I have just installed geant4.10.00.p01 on Ubuntu. It works well. But the example which I developed using geant4.9.4.p02 is not working in geant4.10.00.p01!

The following message is obtained:

Making dependency for file src/MyPhysicsList.cc ...

src/MyPhysicsList.cc:102:37: fatal error: G4hLowEnergyIonisation.hh: No such file or directory

compilation terminated.

Compiling MyDetectorConstruction.cc ...

Compiling MyEventAction.cc ...

Compiling MyPhysicsList.cc ...

Compiling MySteppingAction.cc ...

src/MyPhysicsList.cc:102:37: fatal error: G4hLowEnergyIonisation.hh: No such

file or directory

compilation terminated.

src/MyEventAction.cc: In member function ‘virtual void

MyEventAction::EndOfEventAction(const G4Event*)’:

src/MyEventAction.cc:101:30: error: ‘keV’ was not declared in this scope

src/MyEventAction.cc:101:30: note: suggested alternative:

~Geant4/geant4.10.00.p01/source/externals/clhep/include/CLHEP/Units

/SystemOfUnits.h:158:23: note: ‘CLHEP::keV’

src/MyEventAction.cc: At global scope:

src/MyEventAction.cc:92:6: warning: unused parameter ‘evt’ [-Wunused-parameter]

src/MySteppingAction.cc: In member function ‘virtual void

MySteppingAction::UserSteppingAction(const G4Step*)’:

src/MySteppingAction.cc:159:17: error: ‘twopi’ was not declared in this scope

src/MySteppingAction.cc:159:17: note: suggested alternative:

~Geant4/geant4.10.00.p01/source/externals/clhep/include/CLHEP/Units

/PhysicalConstants.h:50:22: note: ‘CLHEP::twopi’

src/MySteppingAction.cc:125:12: warning: unused variable ‘energy’ [-Wunused- variable]

src/MySteppingAction.cc:152:11: warning: unused variable ‘ThetaY’ [-Wunused- variable]

src/MySteppingAction.cc:163:12: warning: unused variable ‘dirx’ [-Wunused-variable]

src/MySteppingAction.cc:164:12: warning: unused variable ‘diry’ [-Wunused-variable]

src/MySteppingAction.cc:218:17: error: ‘twopi’ was not declared in this scope src/MySteppingAction.cc:218:17: note: suggested alternative:

~Geant4/geant4.10.00.p01/source/externals/clhep/include/CLHEP/Units/PhysicalConstants.h:50:22: note: ‘CLHEP::twopi’

src/MySteppingAction.cc:188:14: warning: unused variable ‘energy’ [-Wunused-variable]

src/MySteppingAction.cc:209:11: warning: unused variable ‘Theta_X’ [-Wunused-variable]

src/MySteppingAction.cc:211:11: warning: unused variable ‘Theta_Y’ [-Wunused-variable]

src/MySteppingAction.cc:222:12: warning: unused variable ‘dirx’ [-Wunused-variable]

src/MySteppingAction.cc:223:12: warning: unused variable ‘diry’ [-Wunused-variable]

src/MySteppingAction.cc:106:8: warning: unused variable ‘transmit’ [-Wunused-variable]

~Geant4/geant4.10.00.p01/source/externals/clhep/include/CLHEP/Units/PhysicalConstants.h:79:21: warning: ‘CLHEP::electron_charge’ defined but not used [-Wunused-variable]

~Geant4/geant4.10.00.p01/source/externals/clhep/include/CLHEP/Random/Randomize.h:61:12: warning: ‘CLHEP::HepRandomGenActive’ defined but not used [-Wunused-variable]

src/MyDetectorConstruction.cc: In member function ‘virtual G4VPhysicalVolume* MyDetectorConstruction::Construct()’:

src/MyDetectorConstruction.cc:105:65: error: ‘universe_mean_density’ was not declared in this scope

src/MyDetectorConstruction.cc:105:65: note: suggested alternative: ~Geant4/geant4.10.00.p01/source/externals/clhep/include/CLHEP/Units/PhysicalConstants.h:131:21: note: ‘CLHEP::universe_mean_density’ src/MyDetectorConstruction.cc:71:12: warning: unused variable ‘elementS’ [-Wunused-variable]

src/MyDetectorConstruction.cc:76:12: warning: unused variable ‘elementTb’ [-Wunused-variable]

src/MyDetectorConstruction.cc:113:13: warning: unused variable ‘Tungsten’ [-Wunused-variable]

src/MyDetectorConstruction.cc:116:13: warning: unused variable ‘Aluminium’ [-Wunused-variable]

src/MyDetectorConstruction.cc:119:13: warning: unused variable ‘Lead’ [-Wunused-variable]

src/MyDetectorConstruction.cc:125:13: warning: unused variable ‘Carbon’ [-Wunused-variable]

src/MyDetectorConstruction.cc:128:13: warning: unused variable ‘Copper’ [-Wunused-variable]

src/MyDetectorConstruction.cc:131:13: warning: unused variable ‘Germanium’ [-Wunused-variable]

src/MyDetectorConstruction.cc:134:13: warning: unused variable ‘Au’ [-Wunused-variable]

src/MyDetectorConstruction.cc:137:13: warning: unused variable ‘Uranium’ [-Wunused-variable]

src/MyDetectorConstruction.cc:146:19: warning: unused variable ‘Yellow’ [-Wunused-variable]

src/MyDetectorConstruction.cc:355:22: warning: unused variable ‘PhyBox1’ [-Wunused-variable]

~Geant4/geant4.10.00.p01/source/externals/clhep/include/CLHEP/Random/Randomize.h: At global scope:

~Geant4/geant4.10.00.p01/source/externals/clhep/include/CLHEP/Random/Randomize.h:61:12: warning: ‘CLHEP::HepRandomGenActive’ defined but not used [-Wunused-variable]

~Geant4/geant4.10.00.p01/source/externals/clhep/include/CLHEP/Units/PhysicalConstants.h:79:21: warning: ‘CLHEP::electron_charge’ defined but not used [-Wunused-variable]

make: *** [~geant4_workdir/tmp/Linux-g++/SiD1/MyEventAction.o] Error 1

make: *** Waiting for unfinished jobs....

make: *** [~geant4_workdir/tmp/Linux-g++/SiD1/MySteppingAction.o] Error 1

~Geant4/geant4.10.00.p01/source/externals/clhep/include/CLHEP/Units/PhysicalConstants.h: At global scope:

~Geant4/geant4.10.00.p01/source/externals/clhep/include/CLHEP/Units/PhysicalConstants.h:79:21: warning: ‘CLHEP::electron_charge’ defined but not used [-Wunused-variable]

~Geant4/geant4.10.00.p01/source/externals/clhep/include/CLHEP/Random/Randomize.h:61:12: warning: ‘CLHEP::HepRandomGenActive’ defined but not used [-Wunused-variable]

make: *** [~geant4_workdir/tmp/Linux-g++/SiD1/MyDetectorConstruction.o] Error 1
make: *** [~geant4_workdir/tmp/Linux-g++/SiD1/MyPhysicsList.o] Error 1

I kindly appreciate your help.

Kind regards

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

1 More: Re: G4.9.4.p02 Examples are not working in G4.10.00.p01   (Aliyu Bala - 09 Oct, 2018)
(_ Idea: Re: G4.9.4.p02 Examples are not working in G4.10.00.p01   (Michael H. Kelsey - 09 Oct, 2018)
 Add Message Add Message
to: "Re: G4.9.4.p02 Examples are not working in G4.10.00.p01"

 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 ]