ARCHIVED: Use Stata on Karst at IU
At Indiana University, Stata is available on Karst.
To use Stata on Karst, add the Stata package to your shell environment. At the command prompt, enter:
module load stata
You can run Stata on Karst in interactive mode, non-interactive mode, or from a graphical user interface (GUI) on an X Window System:
- Interactive mode: To use Stata in interactive mode, at the command prompt, enter:
stata
At the Stata prompt (
.
), enter a command, and then pressEnter
orReturn
to execute the command.To end your Stata session, at the Stata prompt, enter
exit
. - Non-interactive (batch) mode: To run a Stata job in non-interactive mode, at the command prompt, enter (replace
your_do_file
with the appropriate Stata.do
file):stata -b do your_do_file
If a
.do
file is successfully executed, the output will be written to a log file (an input file with a.log
extension) in the default directory. - GUI (X Window System) mode: To use Stata in GUI mode, you need to have an X Server running on your computer. If you're using Windows, use an X Server (for example, Exceed) to open an X terminal from Karst (for example,
xterm
).To access Stata in the X Window System, at the X terminal prompt, enter:
xstata
This will provide an interface similar to the Microsoft Windows or Mac OS environment. To terminate the session, enter
exit
.Note:Stata in GUI mode does not support non-interactive (batch) job processing.
For more, see ARCHIVED: About Stata at IU.
If you have questions about using statistical and mathematical software at Indiana University, contact the UITS Research Applications and Deep Learning team.
This is document amky in the Knowledge Base.
Last modified on 2023-05-09 14:43:28.