Stata

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

Availability and Restrictions

Versions

The following versions of Stata are available on OSC systems:

Version Owens
15

X*

* Current default version

You can use module spider stata to view available modules for a given machine. Feel free to contact OSC Help if you need other versions for your work.

Access

Only academic OSU users can use the software. OSC has the license for 5 seats concurrently. Each user can use up to 32 cores. In order to access the software, please contact OSC Help to get validated.

Publisher/Vendor/Repository and License Type

StataCorp, LLC, Commercial

Usage

Set-up

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 Owens. See below for information on how this is done.

Batch Usage

OSC has a 5-user license. However, there is no enforcement mechanism built into Stata. In order for us to stay within the 5-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 5 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=28
#PBS -l software=stata
#PBS -N stata
#PBS -j oe

module load stata
cd $PBS_O_WORKDIR
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.

owens01: qsub -X -I -l nodes=1:ppn=28 -l software=stata 
qsub: waiting for job 5860XX.owens-batch.osc.edu to start
qsub: job 5860XX.owens-batch.osc.edu ready

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

 

Further Reading

See Also

Supercomputer: 
Service: