Close menu Resources for... William & Mary
W&M menu close William & Mary

Stata

NOTE: Please contact [[w|hpc-help]] if you are interested in running Stata on the main-campus HPC clusters.

Our license for Stata is limited to six concurrent users and includes the Basic version, Standard version and MP (parallel) version command-line and X11 GUI version.   The maximum number of cores that can be used in a single stata calculation is 16.

Since Stata is currently installed on all main-campus clusters and can be used on any system.  Stata supports only single-node parallelism, therefore, you should only request one node at most to run stata calculations.

An example SLURM job script would be:

#!/bin/tcsh
#SBATCH --job-name=stata
#SBATCH -N 1 --ntasks-per-node 8 -C hi
#SBATCH -t 12:00:00
module load stata
stata-mp ...

This would give your job 8 cores on a hima node to run stata-mp.