A Practical Guide to Parallelization in Economics
Working Paper 24561
DOI 10.3386/w24561
Issue Date
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.
-
-
Copy CitationJesús Fernández-Villaverde and David Zarruk Valencia, "A Practical Guide to Parallelization in Economics," NBER Working Paper 24561 (2018), https://doi.org/10.3386/w24561.
-