Skip to content

WindowsInstallInstructions

Daniel L. Ayres edited this page Nov 11, 2018 · 8 revisions

Installing BEAGLE on Windows

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 wish to use BEAGLE with a multicore Intel CPU via OpenCL, please download and install the latest Intel OpenCL CPU runtime from intel.com:

Step 3. (optional) If you wish to use BEAGLE with an NVIDIA GPU please download and install the latest NVIDIA drivers for your graphics card from nvidia.com:

Step 4. Restart your computer (this is required so Windows finds the new libraries).

After the installations above are complete, you will be ready to use BEAGLE with compatible applications such as BEAST, MrBayes, PhyML 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 latest revision you may build BEAGLE from source.

The following software prerequisites must be installed prior to building libhmsbeagle on Windows:

  • Visual Studio 2017
  • Java Development Kit 1.6 or later
  • Intel OpenCL SDK (if you wish to build the OpenCL plugin)
  • NVIDIA CUDA toolkit (if you wish to build the CUDA plugin)

Step 1. Obtain a Git client (such as GitHub Desktop) and checkout the source code from the repository:

https://github.com/beagle-dev/beagle-lib.git

Step 2. Configure your Java path by navigating to project\beagle-vs-2017 and running findJava.bat.

Step 3. Open the Visual Studio 2017 project located at project\beagle-vs-2017\libhmsbeagle.sln.

Step 4. Go to BUILD -> Configuration Manager... in the top menu bar and set the solution configuration to Release and the platform to x64.

Step 5. Build the solution (BUILD -> Build Solution).

Step 6. The previous step will create hmsbeagle*.dll files located at project\beagle-vs-2017\x64\Release. Copy these hmsbeagle*.dll files to the directory which contains the executable of the application you wish to use with BEAGLE.