Table of Contents

Stata MP Help

Stata/MP is the multiprocessor version of Stata, used for modelling and analysis of large datasets, predominantly in social sciences.

Stata/MP is available as the 2-core version on our HPC facilities as part of our University licensing agreement. It is available to all users.

You can run Stata MP on Comet in batch mode - recommended for scripting users, or when using multiple servers:


Running Stata/MP on Comet using interactive mode

Load the “Stata” module

$ module load Stata

Using Stata/MP in interactive mode (Note that interactive mode only supports the use of limited hardware resources, so batch mode is recommended)

$ stata-mp

Remember that intensive or long running tasks should not be run on the Comet login nodes, so limit your interactive use to short test cases only.


Running Stata/MP on Comet using batch mode

To use Stata/MP in batch mode and run a Stata do-file job, add the following command in your Slurm SBATCH file

module load Stata
stata-mp -b mydofile.do

Then you can submit the job normally using the sbatch command. If doing so, remember that the license for Stata/MP restricts it to two CPU cores maximum.


Back to Software List