I am using Stata 14 MP (64-bit) and would like to run multiple do-files simultaneously. Each do-file refers to a specific dataset. I am aware of -parallel- by George Vega Yon and tried the following code proposed in this old post.
However, I get this error message
Your help would be much appreciated.
Code:
clear all set more off set trace off parallel setclusters 3 program def myprogram if ($pll_instance == 1) do "do_file1.do" else if ($pll_instance == 2) do "do_file2.do" else if ($pll_instance == 3) do "do_file3.do" end parallel, nodata prog(myprogram): myprogram
Code:
invalid 'business' stata(): 3598 Stata returned error parallel_export_programs(): - function returned error parallel_write_do(): - function returned error <istmt>: - function returned error r(3598); end of do-file r(3598);
Comment