Proton Calorimetry/Detector Simulation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
SaadShaikh (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
In order to run Geant4 simulations, you will either need to download and install the software yourself or make use of the existing installation on the UCL HEP Linux cluster. | In order to run Geant4 simulations, you will either need to download and install the software yourself or make use of the existing installation on the UCL HEP Linux cluster. | ||
To use the existing installation, follow [http://www.hep.ucl.ac.uk/pbt/wiki/Software/Geant4 this dedicated page]. | To use the existing installation, follow [http://www.hep.ucl.ac.uk/pbt/wiki/Software/Geant4 this dedicated page]. | ||
== Local Installation on MacOS == | |||
''Correct for MacOS High Sierra 10.13.6'' | |||
* Install Xcode 10 or higher from Mac App Store and install command line tools by executing in a terminal window <code>xcode-select --install</code>. | |||
* Install CMake 3.8 or higher [https://github.com/Kitware/CMake/releases/download/v3.16.4/cmake-3.16.4-Darwin-x86_64.dmg] | |||
* Optional: Install CLHEP 2.4.1.0 or higher [http://proj-clhep.web.cern.ch/proj-clhep/dist1/clhep-2.4.1.3.tgz] (see README for build/install instructions) | |||
** <code><source_code_dir><code> is the directory where the README is located. | |||
** <code><build_directory><code> can be any folder you like (can be deleted after installation). | |||
** <code><install_directory><code> should be the default: <code>/usr/local<code> | |||
* Install Expat 2.0.1 or higher [https://github.com/libexpat/libexpat/archive/R_2_2_9.tar.gz] (see README for build/install instructions) | |||
** Execute <code>./buildconf.sh<code> and then <code>./configure<code> in the directory <code><download_directory>/expat<code> | |||
** Might need to use <code>sudo<code> when executing <code>make install<code> | |||
* Install zlib 1.2.3 or higher [https://zlib.net/zlib-1.2.11.tar.gz] (see README for build/install instructions) | |||
** Might need to use <code>sudo when executing <code>make install<code> | |||
* Install Xerces-C++ headers and library 3 or higher [http://xerces.apache.org/xerces-c/download.cgi] | |||
** Will need to install GPG [https://gpgtools.org/] to verify KEYS | |||
* Install GEANT4 [http://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides/InstallationGuide/html/installguide.html#geant4buildoptions] | |||
** Enable additional build options: multithreading, install data, GDML, QT, OpenGL, RayTracer, zlib | |||
** Apparently system CLHEP should not be used unless absolutely necessary |
Revision as of 11:50, 11 March 2020
This page contains information on the Geant4 code that form the Proton Calorimetry detector simulation.
In order to run Geant4 simulations, you will either need to download and install the software yourself or make use of the existing installation on the UCL HEP Linux cluster. To use the existing installation, follow this dedicated page.
Local Installation on MacOS
Correct for MacOS High Sierra 10.13.6
- Install Xcode 10 or higher from Mac App Store and install command line tools by executing in a terminal window
xcode-select --install
. - Install CMake 3.8 or higher [1]
- Optional: Install CLHEP 2.4.1.0 or higher [2] (see README for build/install instructions)
<source_code_dir>
is the directory where the README is located.
<build_directory>
can be any folder you like (can be deleted after installation).
<install_directory>
should be the default:
/usr/local
- Install Expat 2.0.1 or higher [3] (see README for build/install instructions)
- Execute
./buildconf.sh
and then
./configure
in the directory
<download_directory>/expat
- Might need to use
sudo
when executing
make install
- Execute
- Install zlib 1.2.3 or higher [4] (see README for build/install instructions)
- Might need to use
sudo when executing
make install
- Might need to use
- Install Xerces-C++ headers and library 3 or higher [5]
- Will need to install GPG [6] to verify KEYS
- Install GEANT4 [7]
- Enable additional build options: multithreading, install data, GDML, QT, OpenGL, RayTracer, zlib
- Apparently system CLHEP should not be used unless absolutely necessary