Proton Calorimetry/Detector Simulation: Difference between revisions

From PBTWiki
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
* Install CMake 3.8 or higher [https://github.com/Kitware/CMake/releases/download/v3.16.4/cmake-3.16.4-Darwin-x86_64.dmg]
* 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)
* 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><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><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>
** <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)
* 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>
** 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>
** 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)
* 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>
** Might need to use <code>sudo</code> when executing <code>make install</code.>
* Install Xerces-C++ headers and library 3 or higher [http://xerces.apache.org/xerces-c/download.cgi]
* 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
** Will need to install GPG [https://gpgtools.org/] to verify KEYS

Revision as of 11:52, 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
  • Install zlib 1.2.3 or higher [4] (see README for build/install instructions)
    • Might need to use sudo when executing make install</code.>
  • 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