UNCG has purchased a Stata license so that their faculty, staff, and students can take advantage of the HPC cluster. There have been some NC State requests for Stata, but so far we have not found funding for a license. Some Stata users have suggested that (due its handling of matrices), MATLAB scripts can sometimes be used instead of Stata.
#!/bin/csh #BSUB -W 30 #BSUB -n 1 #BSUB -o out.%J #BSUB -e err.%J module load stata stata -b do simulation-example
Then use the command
bsub < run-stata.csh
to submit the job. (Thanks to Matt Twombley for the example input file "simulation-example.do".)
In running your real job you will need to make changes to the example batch script based on your situation, such as changing the LSF run time limit in "#BSUB -W 30". For how to formulate an appropriate batch script please refer to the documentation on running jobs.Last modified: March 23 2022 13:19:30.