OPAL with DKS enabled
OPAL compiled with DKS can be used in systems equipped with Nvidia GPU to offload FTPoissonSolver and CollimatorPhysics calculations from CPU to GPU.
To enable GPU usage in OPAL-DKS use --use-dks command line argument when running OPAL.
DKS can be found here and more information on its Wiki
To compile DKS cuda-7.5 or higher is required, information on how to obtain cuda can be found here
To install OPAL-1.6 with DKS, version 1.1.X is required. Installation instructions for this version can be found here DKS 1.1.X
To install OPAL-2.0 with DKS, version 1.1.X is required. Installation instructions for this version can be found here DKS 1.1.X
Install OPAL with DKS
Set DKS_PREFIX to DKS installation directory
export DKS_PREFIX=<DKS install dir>
Pass -DENABLE_DKS=ON flag to cmake when configuring OPAL installation.