A Practical Guide to Parallelization in Economics
Fernández-Villaverde, Jesús and
David Zarruk Valencia
Authors registered in the RePEc Author Service: Jesus Fernandez-Villaverde
No 12890, CEPR Discussion Papers from C.E.P.R. Discussion Papers
Abstract:
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)
Date: 2018-04
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: View citations in EconPapers (15)
Downloads: (external link)
https://cepr.org/publications/DP12890 (application/pdf)
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 subscribers@cepr.org
Related works:
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)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:cpr:ceprdp:12890
Ordering information: This working paper can be ordered from
https://cepr.org/publications/DP12890
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 ().