Skip to content

Installation on macOS arm64

Buchanan Kerswell edited this page Jul 17, 2025 · 4 revisions

This guide gives instructions on how to install ASPECT and its dependencies on macOS arm64 devices (M1–M4 Macs).

Prerequisites

The only prerequisites needed are CMake and MPI, and the easiest way to get them on macOS is via Homebrew.

First, install Homebrew with:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

then you can install CMake and Open MPI with:

brew install cmake open-mpi

For more information see this deal.II Wiki page.

1. Install deal.II

Install deal.II and its dependencies with candi:

git clone https://github.com/dealii/candi
cd candi
curl -O https://raw.githubusercontent.com/geodynamics/aspect/main/contrib/install/local.cfg
./candi.sh -j 8

2. Install ASPECT

Load deal.II into the current environment:

source ~/dealii-candi/configuration/enable.sh

and then follow the ASPECT documentation to download, build, and compile ASPECT.

Clone this wiki locally