EconPapers    
Economics at your fingertips  
 

multishell: Running simulations efficiently using Stata’s shell command

Jan Ditzen

London Stata Conference 2018 from Stata Users Group

Abstract: The package multishell is intended to speed up simulations by making use of multi-core processors and Stata’s shell command. In a first step, one or multiple do files are converted into batch files and added to a queue. After starting the main command, the current instance of Stata acts as an organiser and works through the queue. It allocates the batch files to a pre-set number of parallel running Stata instances. multishell has several distinct features. If do files include forvalues and foreach loops, multishell dissects the loops and creates for each combination a new do file, which is added to the queue. This allows for an efficient allocation and use of processor power. multishell can be used to connect two or more computers to a cluster. multishell then allocates to each computer parts of the queue and a simulation is run parallel on multiple computers. Computational power is used efficiently and time saved.

Date: 2018-10-15
New Economics Papers: this item is included in nep-cmp
References: Add references at CitEc
Citations:

Downloads: (external link)
http://repec.org/usug2018/uk18_Ditzen.pdf (application/pdf)

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:usug18:16

Access Statistics for this paper

More papers in London Stata Conference 2018 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-22
Handle: RePEc:boc:usug18:16