From Documentation
Jump to: navigation, search
(Usage)
(Usage)
Line 12: Line 12:
 
Geant4 comes with many examples useful for testing purposes, for example:
 
Geant4 comes with many examples useful for testing purposes, for example:
  
[roberpj@vdi-centos6:/opt/sharcnet/geant4/10.02.02/share/Geant4-10.2.2/examples/extended/analysis] ls
+
[roberpj@vdi-centos6:/opt/sharcnet/geant4/10.02.02/share/Geant4-10.2.2/examples/extended/analysis] ls  
AnaEx01  AnaEx02  AnaEx03  B1Con  CMakeLists.txt  History  README  shared
+
AnaEx01  AnaEx02  AnaEx03  B1Con  CMakeLists.txt  History  README  shared
  
 
==Interactive==
 
==Interactive==

Revision as of 02:03, 9 September 2016

GEANT4
Description: Suite of programs for the simulation of the passage of particles through matter
SHARCNET Package information: see GEANT4 software page in web portal
Full list of SHARCNET supported software


Introduction

Provides a build of geant4 on sharcnet CentOS clusters .

Usage

Geant4 comes with many examples useful for testing purposes, for example:

[roberpj@vdi-centos6:/opt/sharcnet/geant4/10.02.02/share/Geant4-10.2.2/examples/extended/analysis] ls 
AnaEx01  AnaEx02  AnaEx03  B1Con  CMakeLists.txt  History  README  shared

Interactive

Consider the AnaEx01 as follows:

[roberpj@vdi-centos6:~] cd ~/samples/geant4/test-100202
module load gcc/4.9.3 geant4/10.02.02
cp -r /opt/sharcnet/geant4/10.02.02/share/Geant4-10.2.2/examples/extended/analysis/AnaEx01 .
source /opt/sharcnet/geant4/10.02.02/share/Geant4-10.2.2/geant4make/geant4make.sh
cd AnaEx01
gmake clean_setup
gmake setup
gmake
[roberpj@vdi-centos6:~/samples/geant4/test-100202/AnaEx01] which AnaEx01 
~/geant4_workdir/bin/Linux-g++/AnaEx01

Cluster

sqsub -q serial -r 5m -o file.%J ~/geant4_workdir/bin/Linux-g++/AnaEx01

Graphical

None at this time.

Notes

Note at this time.

References

o Geant4 Homepage
http://geant4.web.cern.ch/geant4/

o Online User Documentation
http://geant4.web.cern.ch/geant4/support/userdocuments.shtml