A Practical Guide to Parallelization in Economics
Jesus Fernandez-Villaverde () and
David Zarruk Valencia
No 12890, CEPR Discussion Papers from C.E.P.R. Discussion Papers
This guide provides a practical introduction to parallel computing in economics. After a brief introduction to the basic ideas of parallelization, we show how to parallelize a prototypical application in economics using, on CPUs, Julia, Matlab, R, Python, C++ - OpenMP, Rcpp - OpenMP, and C++ - MPI, and, on GPUs, CUDA and OpenACC. We provide code that the user can download and fork, present comparative results, and explain the strengths and weaknesses of each approach. We conclude with some additional remarks about alternative approaches.
Keywords: Computational Methods; Parallel Computing; Programming Languages (search for similar items in EconPapers)
JEL-codes: C63 C68 E37 (search for similar items in EconPapers)
New Economics Papers: this item is included in nep-cmp and nep-mac
References: View references in EconPapers View complete reference list from CitEc
Citations: Track citations by RSS feed
Downloads: (external link)
CEPR Discussion Papers are free to download for our researchers, subscribers and members. If you fall into one of these categories but have trouble downloading our papers, please contact us at firstname.lastname@example.org
Working Paper: A Practical Guide to Parallelization in Economics (2018)
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
Persistent link: https://EconPapers.repec.org/RePEc:cpr:ceprdp:12890
Ordering information: This working paper can be ordered from
http://www.cepr.org/ ... rs/dp.php?dpno=12890
Access Statistics for this paper
More papers in CEPR Discussion Papers from C.E.P.R. Discussion Papers Centre for Economic Policy Research, 33 Great Sutton Street, London EC1V 0DX.
Bibliographic data for series maintained by ().