User Tools

Site Tools


howto:geant4

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:geant4 [2024/11/11 10:51]
msovara
howto:geant4 [2024/11/12 09:49] (current)
msovara [About Geant4]
Line 3: Line 3:
 Geant4 [[https://https://geant4.web.cern.ch/about/]] is a toolkit to create simulations of the passage of particles or radiation through matter. Applications built on Geant4 can simulate any setup or detector and radiation source, and record the chosen output of physical quantities due to source particles and secondaries interacting with the material of the setup. Geant4 [[https://https://geant4.web.cern.ch/about/]] is a toolkit to create simulations of the passage of particles or radiation through matter. Applications built on Geant4 can simulate any setup or detector and radiation source, and record the chosen output of physical quantities due to source particles and secondaries interacting with the material of the setup.
  
-On LENGAU, Pythia8 has been built from source and a module file has been created for the application. Users can simply load the Geant4 module into their shell environment:+On LENGAU, Geant4 has been built from source and a module file has been created for the application. Users can simply load the Geant4 module into their shell environment:
  
   module avail 2>&1 | grep -i geant4   module avail 2>&1 | grep -i geant4
   module load chpc/phys/geant4/11.1.2-gcc13   module load chpc/phys/geant4/11.1.2-gcc13
-  . 
-  . 
   # Run Geant4   # Run Geant4
   ./mygeant4   ./mygeant4
Line 32: Line 30:
 cd $PBS_JOBDIR cd $PBS_JOBDIR
 nproc=`cat $PBS_NODEFILE | wc -l` nproc=`cat $PBS_NODEFILE | wc -l`
-exe=root +exe=geant4 
-mpirun -iface ib0 -np $nproc $exe -parallel root.out+mpirun -np $nproc ./exe > geant4.out
 </file> </file>
  
 Instructions on how to create and submit a batch job will follow as collaborative testing commences... Instructions on how to create and submit a batch job will follow as collaborative testing commences...
/app/dokuwiki/data/attic/howto/geant4.1731315098.txt.gz · Last modified: 2024/11/11 10:51 by msovara