Skip to content

A C++ and OpenCL framework for fast Bayesian spatio-temporal compartmental epidemic modeling.

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE.txt
GPL-3.0
COPYING.txt
Notifications You must be signed in to change notification settings

grantbrown/libspatialSEIR

Repository files navigation

libspatialSEIR

Disclaimer

This software is under heavy development, and as such it's full of jagged edges, changing API's, and broken things. You have been warned.

Introduction

libspatialSEIR is a C++/OpenCL based framework for fitting Bayesian spatial SEIR and SEIRS compartmental epidemic models. The numerical heavy lifting is all done in C++ with the optional use of OpenCL calls to multi-core CPU's and GPU's to accelerate computation. The primary interface is provided via the included R package, which uses the Rcpp library to access the lower level C++ API.

The most up to date documentation is hosted via github pages here.

In addition, example R code is available in the /scripts directory.

Dependencies

While a CRAN friendly version of libspatialSEIR is tentatively planned, the project currently requires some prerequisites:

  1. Git
  2. CMake
  3. An appropriate C++ compiler
  4. Boost random >= 1.4.9
  5. R >= 3.0
  6. A BLAS capable library

In addition, if you would like to enable OpenCL support, you must install the appropriate OpenCL SDK for your hardware. This will also require that you tweak the CMakeLists.txt file present in the project root directory.

Installation

The most up to date installation information is available on the libspatialSEIR wiki.

So far I've only set this up on linux (Ubuntu/Mint), but support for Windows and OSX is planned.

That should be it, though as previously mentioned this is still very much a work in progress. Assuming it worked, you could try out some of the example scripts.

cd ../scripts
R
> source("./singleLocationTest.R")

About

A C++ and OpenCL framework for fast Bayesian spatio-temporal compartmental epidemic modeling.

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE.txt
GPL-3.0
COPYING.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published