Running multiple instances of Stata using the sessions command
Paul Lambert
Additional contact information
Paul Lambert: Cancer Registry of Norway, Norwegian Institute of Public Health
Northern European Stata Conference 2026 from Stata Users Group
Abstract:
I will describe the sessions command, which is a simple tool to run "embarrassingly parallel" Stata sessions. The sessions command creates multiple Stata sessions with the ability to pass the same or different Do files to each session, with separate arguments for each session. Before starting a new Stata session, the sessions command will check whether there is sufficient free memory, the CPU load is not too high, and that the maximum number of instances of Stata (set by the user) is not exceeded. A list of the Stata sessions that are queued, currently running, and have completed is updated every few seconds. The sessions command allows the user to wait until specific Do files have completed before continuing, for example all analysis files may need to be completed before producing tables/graphs of results.
Date: 2026-10-01
References: Add references at CitEc
Citations:
There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:neur26:13
Access Statistics for this paper
More papers in Northern European Stata Conference 2026 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().