From Documentation
Revision as of 11:27, 9 September 2016 by Roberpj (Talk | contribs) (Cluster)

Jump to: navigation, search
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:

[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 example 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

Once the binary runs interactively as desired submit it to the serial queue:

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