Research Computing

This page supports graduate students in the BU Economics program who want to use the computing cluster to support their research.

 

Prof. Marc Rysman has given a seminar about why and how to use the cluster every few years. Here are the slides, with some minor updates:

High Performance Computing for BU Economists

Important: The slides describe how to obtain access to the cluster.

Sample code

Code is also provided for the dynamic investment problem described in the slides. Code is provided to solve this problem in Matlab and Gauss. Separate code is given with and without parallel processing. Note that this problem is so simple that using parallel processing actually slows the program down. The code is meant as an example.

Note that sites.bu.edu accepts files only with particular extensions, so the sample computer code has .txt extensions. You might want different extensions in practice. You need to remove the .txt from the batch file to use it.

Gauss:

Dynamic problem without parallel processing

Dynamic problem with parallel processing (uses the ThreadStat command)

Matlab:

Matlab has two ways of implementing parallel processing. Examples of both are provided. For this example, SPMD is a little more efficient.

Dynamic problem without using parallel processing

Dynamic problem with parallel processing using Parfor

Dynamic problem with parallel processing using SPMD

You will also need these files to run in Matlab: getVnew profit

Also, the slides describe a batch file for running Matlab in batch code on the cluster. Here is an example:

Batch File (Drop the .txt extension to use this file.)

Thanks goes to Mingli Chen and Kadin Tseng, who were a lot of help with the Matlab files.

R:

Mike Lipsitz prepared a file on submitting R files to the cluster:

Submitting R code to the Batch system on the SCC

Thanks Mike!

Currently Available Data

Please click here to see the data that has been made available through the IED Research Data Network. Please note: The IED is currently adding data to the network and will update the page as new data becomes available.