MacInstallInstructions

Daniel L. Ayres edited this page Jun 14, 2018 · 12 revisions

Installing BEAGLE on macOS

The easiest way to install BEAGLE is to use the binary installer.

Step 1. Download and run the binary installer:

Step 2. (optional) If you have macOS v10.6 or later and wish to use BEAGLE with an NVIDIA GPU via CUDA, please download and install the latest NVIDIA CUDA drivers for Mac OS from nvidia.com. Additionally you may need to install alternate graphics drivers for macOS from NVIDIA (also known as NVIDIA web drivers).

After the installations above are complete you will be ready to use BEAGLE with compatible applications such as BEAST, MrBayes, and GARLI.

For instructions on how to use BEAGLE with BEAST please refer to Using BEAGLE with BEAST


Installing from source

If you have problems with the binary installer or wish to use the very latest revision you may build BEAGLE from source.

Step 1. You will need to install Xcode Command Line Tools. You can do this by opening a Terminal window and entering:

xcode-select --install

Step 2. Next, you need to obtain the following software packages: autoconf, automake, and libtool. The easiest way to install these is with the Homebrew package manager. Open 'Terminal.app' and paste the installation command from the Homebrew website (you will find it at the top of the page, under Install Homebrew). Next enter the following to install the required packages:

brew install libtool autoconf automake

Step 3. (optional) To use BEAGLE with CUDA for NVIDIA graphics cards you will need to download and install the CUDA Toolkit and the CUDA drivers for macOS. Additionally you may need to install alternate graphics drivers for macOS from NVIDIA (also known as NVIDIA web drivers).

Step 4. Next you will need to download the BEAGLE source code. In the Terminal, change to your preferred directory and type:

git clone --depth=1 https://github.com/beagle-dev/beagle-lib.git

This will download the BEAGLE source into a folder called 'beagle-lib'.

Step 5. The next step is to compile the BEAGLE library. Type:

cd beagle-lib
./autogen.sh
./configure
make install

Step 6. Finally, to check that the installation worked type:

make check

This will run a suite of test programs using the BEAGLE library.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.