Chapter 1.  Getting Started

As of version 9.5.0, Geant4 uses the CMake build system to compile and install the toolkit. CMake has been chosen as an easy to use and maintain, cross-platform tool to replace the old Configure/Make system. This document covers the basics of using CMake to build and install Geant4. For more information on CMake itself, the CMake Help and Documentation should be consulted.

The "manual" installation through environment variables and GNUMake is still available and is documented on a separate chapter.

1.1.  Supported and Tested Platforms

Geant4 is officially supported on the following operating system and compiler combinations:

  • Linux with gcc 4.1.2 or 4.3, and Intel icc 11 or 12.

    Tested on Scientific Linux CERN 5 (SLC5, based on RedHat Linux Enterprise 5).

    Geant4 has also been successfully compiled on other Linux distributions, including Debian, Ubuntu and openSUSE.

  • Mac OS X 10.7(Lion) and 10.6(Snow Leopard) with gcc 4.2.1 (Apple).

  • Windows 7 and XP with Visual Studio 9 and 10.

We welcome user feedback and/or bug reports via our HyperNews Forum and Bugzilla.