Stata

From UF HPC Wiki

Jump to: navigation, search

Contents

Description

Stata is a Data Analysis and Statistical Software package

Location

Stata is installed in /apps/stata/stata10. It can be started with the following command line:

$ /apps/stata/stata10/stata

Remember that doing this will start the program in interactive mode. As such, it should only be run on a test node or the interactive nodes that the UF HPC Center has. All other instances should be run via the batch system through the use of the qsub command.

Batch Submission

First, write all of your commands for stata into a file. You can name this file anything you like. Common practice is to name the file with a suffix .do because of the way that stata accepts that file.

Once you have your batch commands written, you need to write a PBS submission script. Here is one that can be used as a template:

The sample PBS script can now be found on the PBS Sample Job Scripts page.

Updating Stata

  • Login to stata.
  • Type update all
  • To verify which installation is currently in, type verinst