Search Docs by Keyword
Stata on the FASRC clusters
Open OnDemand
Stata can be run from Open OnDemand (OOD, formerly known as VDI) by clicking on Stata icon or choosing it from the Interactive Apps menu, and specifying your resource needs. Hit Launch, wait for the session to start, and click the “Launch Stata” button.
You can also launch Stata from the Remote Desktop app on OOD.
Stata examples
In FASRC User_Codes Github, you can find a Stata slurm batch job.
These are some external resources with many examples on how to use Stata:
- UCLA Advanced Research Computing
- Stata has multiple resources for tutorials
- Data Carpentry
- University of Winconsin-Madison Social Science Computing Cooperative
Output file permissions
Stata appears to override filesystem-level permissions structures such as file-ACLs. In a test using stata/14.0-fasrc01
the .dta files produced by Stata were consistent with the user’s umask, despite default file-ACLs that should have created different effective permissions. It appears as though Stata is modifying the permissions after writing the file (i.e. after the default file-ACLs have been applied). The solution for this should be to set the desired umask in the Slurm submission script or on the command line prior to submitting the batch job (though a ‘umask’ command in the Slurm submission script would be preferable in most cases).
Running Stata on FASSE
For how to set the proxies on Stata, see our FASSE proxy documentation.