Skip to content

MarianoChaves/MCMC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nuMCMC-c++

The MCMC algorithm using C++: based on emcee

🚀 This library can be used to create samplings using Markov chain Monte Carlo (MCMC).

Here you can find a Quick Start on the nuMCMC.

Cite as:

Mariano Esteves Chaves. (2021). The MCMC algorithm using C++ (0.2). Zenodo. https://doi.org/10.5281/zenodo.5496330

v. 0.2

  • Inclusion of the working parallelized version of the code: "run_parallel()";

v. 0.1

  • Working code;
  • Save and load states;
  • Save history functions;

For further information contact [email protected]

Compiler options

For Windows

Compiler MinGW-w64 in Msys2 is tested.

cmake ../ -DCMAKE_CXX_STANDARD=11
ninja -f build.ninja

Prerequisite in Msys2

pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-ninja
pacman -S --needed base-devel mingw-w64-x86_64-toolchain

For Linux

cmake ../ -DCMAKE_CXX_STANDARD=11
make -j2