EconPapers    
Economics at your fingertips  
 

MULTISHELL: Stata module to allot do files and variations of loops across parallel instances of Windows Stata and computers efficiently

Jan Ditzen

Statistical Software Components from Boston College Department of Economics

Abstract: multishell allows the efficient processing of loops and multiple do files across a single and multiple computers. multishell dissects forvalues and foreach loops and creates for each variation (tasks) a separate do file. The do files are queued and sequentially processed. Besides the do file, a .bat file is created for each task. Then Stata's build in shell command is used to start a new instance of Stata using the .bat file. The instance is closed as soon as the task is completed (or failed, then it is reported) and a new instance processing the next task is started. One instance is reserved to organise the tasks and starts other instances. Multiple instances can be run in parallel on the same computer.

Language: Stata
Requires: Stata version 14 for Windows
Keywords: batch processing; loops; parallel processing (search for similar items in EconPapers)
Date: 2018-07-31, Revised 2021-07-31
Note: This module should be installed from within Stata by typing "ssc install multishell". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/m/multishell.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/multishell.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/MonteCarloSimulation_Multishell.do sample do file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/MonteCarloSimulation.do sample do file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/MonteCarloSimulation_panel.do sample do file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/MonteCarloSimul ... hell_panel_server.do sample do file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/MonteCarloSimul ... c/bocode/_/client.do sample do file (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found

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:bocode:s458512

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s458512