1 / 3

Geant4 Installation

Geant4 Installation. Supported platforms: Scientific Linux 5 + 6 with gcc 4.1.2/4.6 Mac Os X 10.7 and 10.8 with gcc 4.21 Windows7 with Visual Studio 10

geoff
Download Presentation

Geant4 Installation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Geant4 Installation • Supported platforms: • Scientific Linux 5 + 6 with gcc 4.1.2/4.6 • Mac Os X 10.7 and 10.8 with gcc 4.21 • Windows7 with Visual Studio 10 • Other Linux distributions will usually work as well but paths to external libraries may have to be given manually, e.g. often Qt when using Ubuntu • Geant4 itself requires only aforementioned compilers + CMake • Additional capabilities (Visualization, GDML…) require external libraries (OGL, Mesa, Qt, LibXerces…)

  2. Geant4 Installation • Installation is CMake based • Download source and untar/zip into (temporary) directory “/path/to/” , create geant4.x.x dir • Create build directory “/path/to/geant4-build” • In build dir: cmake –DCMAKE_INSTALL_PREFIX /install_dir/ [additional options] ../path/to/geant4.x.x • make [-jN] , with N cores to compile on • make install

  3. Geant4 Installation – Some Useful Options • -DGEANT4_INSTALL_DATA=ONDownloads and installs data files during make • -DGEANT4_USE_GDML=ONBuild GDML support • -DGEANT4_USE_QT=ONBuild Qt user interface and visualization driver • -DGEANT4_USE_OPENGL_X11=ONBuild OpenGL X11 visualization driver • Full list of options available in Geant4 installation documentation

More Related