• Home
  • Accessing Our Facilities
    • Apply for Access
    • HPC Resource List
    • Our Staff
    • Our Research Projects
    • Our Research Software

    • Contributions & Costings
    • HPC Driving Test
  • Documentation
    • Documentation Home
    • Getting Started
    • Advanced Topics
    • Training & Workshops
    • FAQ
    • Policies & Procedures
    • Using the Wiki

    • Data & Report Terminology
    • About this website

    • Reports
  • My Account
    • My HPC Projects
HPC Support
Trace: • statamp

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:

  • Batch mode: https://www.stata.com/support/faqs/unix/batch-mode/
  • For more information: https://www.stata.com/statamp/

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

Previous Next

HPC Support

Table of Contents

Table of Contents

  • Stata MP Help
    • Running Stata/MP on Comet using interactive mode
    • Running Stata/MP on Comet using batch mode

HPC Service

  • News & Changes

Main Content Sections

  • Documentation Home
  • Getting Started
  • Advanced Topics
  • Training & Workshops
  • FAQ
  • Policies & Procedures
  • Using the Wiki
  • Contact us & Get Help

Documentation Tools

  • Wiki Login
  • RSE-HPC Team Area
Developed and operated by
Research Software Engineering
Copyright © Newcastle University
Contact us @rseteam