# Beagle-GPU

Standard conda install of beagle doesn't contain GPU modules. Needs custom installation.

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

```

Then change the `compute_30` value to `compute_70` in  `libhmsbeagle/GPU/kernels/Makefile`.

libOpenCL might need to be linked

```
sudo ln -s /usr/local/cuda-11.1/targets/x86_64-linux/lib/libOpenCL.so.1 /usr/lib/libOpenCL.so
```

Then configure and make:

```
./configure --with-opencl=/usr/local/cuda-11.1/targets/x86_64-linux/ 
make install
```

Beast needs to be modified&#x20;

```
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH":/mnt/storageG1//jody/miniconda3/lib/:/usr/local/lib
```
