Using Stata on HPC

Our license for Stata is limited to two concurrent users. Since we do not presently have a way to manage this directly in our job scheduler, you must first contact the HPC group to obtain authorization to run Stata jobs, and then submit them to TORQUE's stata queue (qsub -q stata).

Since Stata is currently installed only on SciClone's Vortex subcluster, and supports only single-node parallelism, your node specification should be of the form

  nodes=1:vortex:ppn=X

where X is the number of processor cores you want Stata/MP to use, from 1 to 12. An example job script would be

  #!/bin/tcsh
#PBS -l nodes=1:vortex:ppn=12
#PBS -l walltime=01:00:00
#PBS -N StataExample
#PBS -q stata
cd $PBS_O_WORKDIR
module load stata
stata-mp ...