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 and Restrictions
The following versions of Stata are available on OSC systems:
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.
Only academic use for OSU users is allowed. Please contact OSC Help to get validated for using Stata.
To configure your environment on Oakley for the usage of Stata, run the following command:
module load 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.
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 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.
oakley01: qsub -X -I -l nodes=1:ppn=12 -l software=stata qsub: waiting for job 5860.oak-batch.osc.edu to start qsub: job 5860.oak-batch.osc.edu 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.