Difference between revisions of "TF GEANT4.9.6"

From New IAC Wiki
Jump to navigation Jump to search
Line 19: Line 19:
 
cmake -DCMAKE_INSTALL_PREFIX=~/src/GEANT4/geant4.9.6/geant4.9.6-install -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_OPENGL_X11=ON ~/src/GEANT4/geant4.9.6/geant4.9.6.p02
 
cmake -DCMAKE_INSTALL_PREFIX=~/src/GEANT4/geant4.9.6/geant4.9.6-install -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_OPENGL_X11=ON ~/src/GEANT4/geant4.9.6/geant4.9.6.p02
  
 +
make -j2 VERBOSE=1
  
 +
make install
  
  
 
[[Simulations_of_Particle_Interactions_with_Matter#Building_GEANT4.9.6]]
 
[[Simulations_of_Particle_Interactions_with_Matter#Building_GEANT4.9.6]]

Revision as of 18:37, 3 January 2019

Simulations_of_Particle_Interactions_with_Matter#Building_GEANT4.9.6

wget http://geant4.cern.ch/support/source/geant4.9.6.p02.tar.gz .

mkdir geant4.9.6

cd geant4.9.6/

tar -zxvf ../geant4.9.6.p02.tar.gz

mkdir geant4.9.6.p02-build

cd geant4.9.6.p02-build

You need data file for the physics interaction processes

If the server is up you can tell CMake to download them for you

cmake -DCMAKE_INSTALL_PREFIX=~/src/GEANT4/geant4.9.6/geant4.9.6-install -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_OPENGL_X11=ON ~/src/GEANT4/geant4.9.6/geant4.9.6.p02

make -j2 VERBOSE=1

make install


Simulations_of_Particle_Interactions_with_Matter#Building_GEANT4.9.6