A Practical Guide to Parallelization in Economics
66 Pages Posted: 2 May 2018 Last revised: 11 Aug 2024
There are 2 versions of this paper
A Practical Guide to Parallelization in Economics
A Practical Guide to Parallelization in Economics
Date Written: April 2018
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.
Suggested Citation: Suggested Citation