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 | Cardinal |
---|---|
18 | X |
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 OSC 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 Slurm and to include this option when starting your batch job (the Slurm system will enforce the 5 user limit):
#SBATCH -L stata@osc:1
Non-Interactive batch example
Use the script below as a template for your usage.
#!/bin/bash #SBATCH -t 1:00:00 #SBATCH --nodes=1 --ntask-per-node=28 #SBATCH -L stata@osc:1 #SBATCH --job-name=stata module load stata stata-mp -b do bigjob