Message: novice example Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None novice example 

Forum: Documentation and Examples
Date: 15 Jan, 2003
From: Zhao <h0099982@hkusua.hku.hk>

I just start using GEANT4, so forgive if the following question appears to be trivail.

I want to change the particle in example 1 from geantino to neutron. If I am 
right, I just need to change the sentence from
 " G4Geantino::GeantinoDefinition();"
to  " G4Neutron::NeutronDefinotion();"

but my system, which is SunOS 5.8 does not seem to be able to compile it and gives me the following output:

/home/bright_z/geant4/config/common_kernel.gmk:11: warning: overriding commands
for target `/home/bright_z/geant4/tmp/SUN-CC/exampleN01'
/home/bright_z/geant4/config/common.gmk:70: warning: ignoring old commands for t
arget `/home/bright_z/geant4/tmp/SUN-CC/exampleN01'
/home/bright_z/geant4/config/common.gmk:95: warning: overriding commands for tar
get `/home/bright_z/geant4/tmp/SUN-CC/exampleN01'
/home/bright_z/geant4/config/common_kernel.gmk:11: warning: ignoring old command
s for target `/home/bright_z/geant4/tmp/SUN-CC/exampleN01'
/home/bright_z/geant4/config/common.gmk:103: warning: overriding commands for ta
rget `/home/bright_z/geant4/tmp/SUN-CC/exampleN01'
/home/bright_z/geant4/config/common.gmk:95: warning: ignoring old commands for t
arget `/home/bright_z/geant4/tmp/SUN-CC/exampleN01'
/home/bright_z/geant4/config/binmake.gmk:328: warning: overriding commands for t
arget `/home/bright_z/geant4/tmp/SUN-CC/exampleN01'
   ... ... ...
Making dependency for file src/ExN01PrimaryGeneratorAction.cc ...
/bin/sh: /ExN01PrimaryGeneratorAction.d: cannot create
make: *** [/ExN01PrimaryGeneratorAction.d] Error 1
hubble% cpp0: output pipe has been closed

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

 Add Message Add Message
to: "novice example"

 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 ]