IDEAS home Printed from https://ideas.repec.org/p/boc/usug18/16.html
   My bibliography  Save this paper

multishell: Running simulations efficiently using Stata’s shell command

Author

Listed:
  • Jan Ditzen

    (Heriot-Watt University)

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.

Suggested Citation

  • Jan Ditzen, 2018. "multishell: Running simulations efficiently using Stata’s shell command," London Stata Conference 2018 16, Stata Users Group.
  • Handle: RePEc:boc:usug18:16
    as

    Download full text from publisher

    File URL: http://repec.org/usug2018/uk18_Ditzen.pdf
    Download Restriction: no
    ---><---

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:usug18:16. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.