Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grantbrown/libspatialSEIR
A C++ and OpenCL framework for fast Bayesian spatio-temporal compartmental epidemic modeling.
https://github.com/grantbrown/libspatialSEIR
Last synced: 18 days ago
JSON representation
A C++ and OpenCL framework for fast Bayesian spatio-temporal compartmental epidemic modeling.
- Host: GitHub
- URL: https://github.com/grantbrown/libspatialSEIR
- Owner: grantbrown
- License: other
- Created: 2014-02-19T20:02:41.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-19T17:59:56.000Z (over 9 years ago)
- Last Synced: 2024-07-31T22:57:19.869Z (3 months ago)
- Language: C
- Size: 13.7 MB
- Stars: 15
- Watchers: 6
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: COPYING.txt
Awesome Lists containing this project
README
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_.
.. _here: http://grantbrown.github.io/libspatialSEIR/
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 libraryIn 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_.
.. _wiki: https://github.com/grantbrown/libspatialSEIR/wiki/Installation
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")