Skip to content

Installation

Alexey Kozlov edited this page Mar 20, 2018 · 13 revisions

Installation instructions

Static binaries

For most desktop Unix/Linux and macOS systems, the easiest way to install RAxML-NG is by using the pre-compiled binaries provided with every release:

https://github.com/amkozlov/raxml-ng/releases

MPI-enabled version

For clusters/supercomputers, we provide an installation package with pre-built libpll, which greatly simplifies the compilation process.

In order to compile RAxML-NG for your system:

  1. Please make sure you have GCC 4.8+, CMake 2.8+ and MPI libraries installed.

  2. Download the raxml-ng_vX.X.X_linux_x86_64_MPI.zip package from the release page.

  3. Unzip the archive and run the following commands:

 mkdir build && cd build
 cmake ..
 make

Building from source

1. Install the dependencies.

On Ubuntu and other Debian-based systems, you can simply run:

sudo apt-get install autotools-dev autoconf libtool flex bison libgmp3-dev

For other systems, please make sure you have following packages/libraries installed:
autoconf automake libtool GNU Bison Flex GMP

2. Build RAxML-NG.

PTHREADS version:

git clone --recursive https://github.com/amkozlov/raxml-ng
cd raxml-ng
mkdir build && cd build
cmake ..
make

MPI version:

git clone --recursive https://github.com/amkozlov/raxml-ng
cd raxml-ng
mkdir build && cd build
cmake -DUSE_MPI=ON ..
make

Portable PTHREADS version (static linkage, compatible with old non-AVX CPUs):

git clone --recursive https://github.com/amkozlov/raxml-ng
cd raxml-ng
mkdir build && cd build
cmake -DSTATIC_BUILD=ON -DENABLE_RAXML_SIMD=OFF -DENABLE_PLLMOD_SIMD=OFF ..
make

Building development branch

If you want to use the latest RAxML-NG features which are not yet available in the released version and/or master branch, you can compile the dev branch as follows:

git clone --recursive -b dev https://github.com/amkozlov/raxml-ng raxml-ng-dev
cd raxml-ng-dev
mkdir build && cd build
cmake ..
make 

Please see previous section for information on dependencies, build options etc.

Troubleshooting