We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

physics.comp-ph

Change to browse by:

References & Citations

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Physics > Computational Physics

Title: Multithreaded event-chain Monte Carlo with local times

Abstract: We present a multithreaded event-chain Monte Carlo algorithm (ECMC) for hard spheres. Threads synchronize at infrequent breakpoints and otherwise scan for local horizon violations. Using a mapping onto absorbing Markov chains, we rigorously prove the correctness of a sequential-consistency implementation for small test suites. On x86 and ARM processors, a C++ (OpenMP) implementation that uses compare-and-swap primitives for data access achieves considerable speed-up with respect to single-threaded code. The generalized birthday problem suggests that for the number of threads scaling as the square root of the number of spheres, the horizon-violation probability remains small for a fixed simulation time. We provide C++ and Python open-source code that reproduces all our results.
Comments: 24 pages, 7 figures
Subjects: Computational Physics (physics.comp-ph); Soft Condensed Matter (cond-mat.soft)
Journal reference: Computer Physics Communications 261, 107702 (2021)
DOI: 10.1016/j.cpc.2020.107702
Cite as: arXiv:2004.11040 [physics.comp-ph]
  (or arXiv:2004.11040v1 [physics.comp-ph] for this version)

Submission history

From: Werner Krauth [view email]
[v1] Thu, 23 Apr 2020 09:28:35 GMT (1040kb,D)

Link back to: arXiv, form interface, contact.