Stata is a complete, integrated statistical package that provides everything needed for data analysis, data management, and graphics. Release 13 32-processor SMP is currently available at OSC.

Availability & Restrictions

Only academic use for OSU users is allowed. Please contact to get validated for using Stata.

The following versions of Stata are available on OSC systems:

Version Oakley




To configure your environment on Oakley for the usage of Stata, run the following command:

module load stata

Using Stata

Due to licensing restrictions, Stata may ONLY be used via the batch system on Oakley. See below for information on how this is done.

Batch Usage

OSC has a 2-user license. However, there is no enforcement mechanism built into Stata. In order for us to stay within the 2-user limit, we require you to run in the context of PBS and to include this option when starting your batch job (the PBS system will enforce the 2 user limit):

#PBS -l software=stata

Non-Interactive batch example

Use the script below as a template for your usage.

#PBS -l walltime=01:00:00
#PBS -l nodes=1:ppn=12
#PBS -l software=stata
#PBS -N stata
#PBS -j oe

module load stata
stata-mp -b do bigjob

Interactive batch example

The following illustrates how to run Stata via an interactive batsh session. Please note that this requires an X11 server on the client system.

oakley01: qsub -X -I -l nodes=1:ppn=12 -l software=stata 
qsub: waiting for job to start
qsub: job ready

n0533: module load stata
n0533: xstata-mp
n0533: exit

Stata can take full advantage of our large 32 core, 1TB RAM node. Please see the Oakley documentation for information about how to access this node.

Further Reading

See Also