Skip to content

Doc.Installation.Manual.MacOS.Prerequisites

Joe Latessa edited this page Jun 20, 2025 · 4 revisions

You may have some of the following packages already installed on your system.

  1. Install Xcode 11 from the App Store.

  2. Install Xcode command-line tools:

    xcode-select --install
    
  3. Install additional packages via homebrew:

    brew install cmake
    brew install doxygen
    brew install root6
    brew install graph-tool
    brew install hdf5
    brew install open-mpi
    brew install gsl
    brew install boost
    brew install zlib
    brew tap brewsci/science
    brew install pythia
    

    Activate your ROOT installation by adding the following line to your .bashrc: . /opt/homebrew/bin/thisroot.sh

    On Intel Macs, homebrew is found in /usr/local instead of /opt, so adjust the above command as needed.

    Note that brew installs python as dependencies of some of the above packages (namely, python3 with root6, and python2 with graph-tool)

  4. Download and install HepMC >=3.1

    wget http://hepmc.web.cern.ch/hepmc/releases/hepmc3.2.0.tgz
    tar -xvzf hepmc3.2.0.tgz 
    cd hepmc3.2.0/cmake
    cmake ..
    make all install
    

    The default path to install HepMC is /usr/local/, which should be automatically found by cmake.


Users attempting a native MacOS installation might find it helpful to refer to our GitHub Actions YAML, which installs X-SCAPE natively on MacOS.

If you encounter any problems, please post an Issue.

Clone this wiki locally