EconPapers    
Economics at your fingertips  
 

A Practical Guide to Parallelization in Economics

Jesus Fernandez-Villaverde and David Zarruk Valencia

No 24561, NBER Working Papers from National Bureau of Economic Research, Inc

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.

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
Note: EFG
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (15)

Downloads: (external link)
http://www.nber.org/papers/w24561.pdf (application/pdf)

Related works:
Working Paper: A Practical Guide to Parallelization in Economics (2018) Downloads
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:nbr:nberwo:24561

Ordering information: This working paper can be ordered from
http://www.nber.org/papers/w24561

Access Statistics for this paper

More papers in NBER Working Papers from National Bureau of Economic Research, Inc National Bureau of Economic Research, 1050 Massachusetts Avenue Cambridge, MA 02138, U.S.A.. Contact information at EDIRC.
Bibliographic data for series maintained by ().

 
Page updated 2025-03-22
Handle: RePEc:nbr:nberwo:24561