Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

potential conflicts with statsby #60

Open
4 tasks done
yancheng54 opened this issue Nov 10, 2017 · 1 comment
Open
4 tasks done

potential conflicts with statsby #60

yancheng54 opened this issue Nov 10, 2017 · 1 comment

Comments

@yancheng54
Copy link

yancheng54 commented Nov 10, 2017

Preliminaries

Before submitting an issue, please check (with x in brackets) that you:

  • Are using the newest release (see here for latest release version number).
  • Have checked that the examples in the help work.
  • Have read the help (HTML version) and the gallery of examples.
  • Have checked that there is not already an existing issues for what you are reporting.

Expected behavior and actual behavior

potential conflicts with -statsby-

Steps to reproduce the problem

webuse grunfeld, clear
    tsset company year
parallel setclusters 2
parallel, by(company): statsby _b _se, basepop(company==1) by(company) clear:  arima invest , ar(1)

Some relevant information

  • Stata version and flavor (e.g. v14.2 MP):
  • OS type and version (e.g. Windows 10):
  • Parallel version:1.19.0 26jul2017

Output from creturn list:

. parallel, by(company): statsby _b _se, basepop(company==1) by(company) clear:  arima invest , ar(1)
--------------------------------------------------------------------------------
Parallel Computing with Stata
Clusters   : 2
pll_id     : 4xot5lk237
Running at : P:\StataWorkPdrive
Randtype   : datetime
Waiting for the clusters to finish...
cluster 0001 Exited with error -111- while running the command/dofile (view log)...
cluster 0002 has exited without error...
--------------------------------------------------------------------------------
Enter -parallel printlog #- to checkout logfiles.
--------------------------------------------------------------------------------
1 child processes encountered errors. Throwing last error.
r(111); t=2.44 19:44:54
. capture {
-------------------------------------------------------------------------------
> -
Parallel computing with Stata
-------------------------------------------------------------------------------
> -
cmd/dofile   : "statsby _b _se , basepop(company==1) by(company) clear: arima i
> nvest , ar(1)"
pll_id       : 4xot5lk237
pll_instance : 1/2
tmpdir       : C:\Users\cyan\AppData\Local\Temp/__pll4xot5lk237_tmpdir0001/
date-time    : 19:44:52 10 Nov 2017
seed         : XAA000000000000f3e624686064b607f96fdc16dd3615bfe98587681de0ba938
> 6911405e4b7f34094dbde4e1d4973a9cf84eeb67877706073c10e62b959924b9721e6a49ffbf9
> 77efd5bf690ead799e52a7f4a1388401dd620b2aa5167d96343373bc76d47662a21843bca6d2b
> 62a5b827ad6dd8a1f67a77726a4381d49a1144c90afd012104b87e3ba9397f75fdaf34f69128b
> a6782e720ae1c17a2352de6688a0d91494cae0ade1bb18233eaec1a2f56d928bd3a615d7373f0
> 8820d69ddbcf8d0912406074ab6eca8dc4319f51881effb35a18cb4103b36b2b4ae5bb1e824eb
> 65540d00eab6387a3787f1604d35fc459b2a429bbd91ec230339747813109fa4a6aa96cb933b5
> c4b4e57da72c29bcff07dadda98b95406c9ee2b5323a4b9b9929f13fc7e943fe6a7174e83c1a7
> bcd2c830f4479fe2d2e27fc33ddc11fec9f0b4e7baae8760c78165c3dd312e6ec88ea216e5e6b
> 3cb95b3e8dba994f2dc36db16233c2a3fcf01b242f91e05eba2a27c4cf23697c1ecdadf94b8f2
> fbdfd7932c6c87de7d072e41788f643e5c7c755c484e4c29167a1939c9778ebfa7c7d0d85f762
> 96a6cc340ef6e1ac3c5193052e08af24f90b5941ffcdc4b920d6503077705b8879c8951333d1f
> 68f3d72fbe20f3da01965342b6502bd4326bfcbc37f0c90172dd36a27e02d0735342fc1ba658e
> 7fd60d709e8ad33c5f731821b8058bbd6ad32192cbec8973cd935a593a7e21fa8d44942709e9d
> df9fe7a08274fb99215497344ab6db4089952c66731e1e504e6b651122ab8bf2f3150de1400ae
> 12cba499a56e1d52ca96ede2fe4d5d4a28424897f63e753f3128331a6ab5e87b463465b9b40fe
> 47115fc3c233709859ecdf039cf3b232f7caa03457eca045a02a716de8d8e69d2613777df7146
> b4328641438e1cc18187f32e52d16cc248a4e586f55d0ea61c200d35d71ca31ec9b7119b4db09
> 5e7c944400df524422d1874f459c48fb0e4ee533a03a33d55afa6c6765173c741599552d76111
> 24cc0a01efe9fad3726c107a10f116b031c01b5d625991809231020fb833ffc4ce049517d3b7d
> 2af8ef3c54b201e1befd1f3931aac8340ee63ca3114394e792d59878c8a25536242bfde2a4835
> 6350f49681d693e74f5fafdda0cc178552b16ed2fa609ab3b5473b8d6ed09494a41b6aa72c2d9
> 3dd1bbae5715f0f3f59165811a6a8feca8208f2e6b58a6f04dd6bd33e31f5f70f505c8b6d0a3f
> ee5ab28e91ea1b845347d9bbfc6ad61f53d68757395ad184562127335414e68e8aac84ad11c47
> f09cbcc72f372315b4716941fa1f150389fbbfe1458fa24aebfbd92f3d3fd5627bc8ff8c2f587
> 12ec5976013e6c50a36635450cfeb3942c1e0a36855fa187bb8cf8a0198cab1367de5452dbaee
> cc613a2784d10193ee04881432bbd7aca027ac4712afef78282b4e84808028fa4b7094ce07deb
> 5df207b0ec6cc707f5cc25266a5e94a4e53dd971499da4166e3dbc97ff6c2989f1e5acee60cb6
> 37f18ee086c5bd0d64e3e83cfbd7635b5b14ddac0168a1a26c934067c8a7ed3885d99eccd4cdc
> 40daf8282b881ff65f85a0b362a0957348f4b21a19eb1e8d9aa945ad88511b459cbbc06196725
> 86c5ff8870845e4ad63bca8c40d54fed733899662bc9b376f961eccd9a54c8e52cc6ac0b785f8
> 28d3ddf5c0bd91f26cebdf1c63d8dd6d75ac58772c55f58753c7aeda155c3c52fccf550d151b2
> e683f86924572bb64eab0e09ce5a7a6b731ed8bae0541b3d000850b8d2378e289d66d6582091d
> 5a5557c605000d367f9532d82fa29154f37db1ac1c3ed78b71e704a23f7d0f093ba13677ef793
> 6abd811b3de4b675db4f501efc9dcb6d75a1b46656462c26a9b949ad5d526335a84a4ea464636
> cb9acc40382e02e24b92ff3d54b84226b17888674acca8e71dbccae3b02dd2bed8095e7b096f1
> 5d8211ba0a9c6b98f8dd7eee4073615338bedc33e2b892fd68d15445a234c654f9c7cd244e2e9
> 52cd623ee5b119a48a933827134806ac54ecc947436a8821a470c42ea489e61b87b90532fcaf6
> c259891577b4d6a076cf6dc23afc983ea2245e152f2d89e2050f45101d7146369a1d0297843e0
> fffcc0d2e83254a722b97656f5c6bec949347c41c32d6caeb9e0bd001f3e1e978c0263133b85c
> c31522406c1143cdb5f4c6005f7c4cd9f4d64deeff1741a7aa7044c527c70e9777185191f7a3c
> 8908522464168ccdedbe44b185fc67f4e5f78ffeb4ccf023381a3b38eaa18001b910eb2eb7df9
> f003cf840768c296450750269a29b7d8fe212a4623209cdb20554df1e69dbf358bd5ce8c35fed
> 9e28b50182f3873f305ae7324092071ff82822569c0ac8ba3868b675a884e6b1e0eab35e58437
> b8be23aa669cd107bc3958fb34aa0de95dd937335e72f64ba7cd4103554759dc32dffa8798688
> c2713dd87f2ea927defa0de7ac54f1ff3f86b850edf385be3d5630e05ab343eb7cc5c51199f5f
> cb77dd6a19ff80c0fe161b0e4212bb5508e6a8c14bb1662cc80835300ec8fa8e905b2b66fc195
> 5c64435249cb458a898d325f0d8860009ee214154099e578f9ccbad8113aae4a059e6bef94af4
> 5e35091233c5b7519a92ed71a141e9f768ba2cdbf33fabf948c8160b0fd943816446f3ccdb2d5
> e6af78b19fcc117aeba13026a654e847e717a09ec46abc949ca0e09ca644524ae9d3990c9b697
> 73958868a069cd5ea7c1d8fb3a47641bf4bb16ee340a23720d4ea3b8920505e97833132b1790f
> 8705b69f1a450976e4ee52f52879bde07da520206468881b86bbe57abe779f38fdbe4bfdaa200
> a09d37af611e3e127616a04cf6e63c36c00657e18169d0dfd2d6cff3d7718ffb94d8c3186e073
> 5e29ba5eec8d2df815ce45089b4b33240172147649850707530e0d99c7333deb17d67840bc6c0
> 35174ac576df4e13ae1e1f228c18c2c89adaaadae77563aa17a3262cf00188d28a10e51bfe0ea
> 67aefa66f5054ab5b2e0b0e529935d21a8f9ea5c5a48f9ae0a1d0511b99c630fda0f5713b046f
> 8d7257f065aa8dcd51ff056af205279dd8cb09dd15210e6c7bcbdf1597f7290ff9baa2c148e45
> eec1c0c5a58556d851310cb09b791e213bb5c70001175ca97577ec8716bed20463e343186b7eb
> 448748954bfaba3996a3ffc969da9c55d67dd077dad284933c0757a34ffd7a594d7f528aa6173
> 24d6f05d069636212c1f29b378d2eab7352efc18d0070b3cd8b16bad632bdcffaf278eba2c0e1
> 97b7df57a0468dadf7c47bbf827b8053481c16ebef59744b113baa16af983a154d82950e237ae
> 2b120a469afaf0700f318536eed64d34385f590c33cf7fe4cc41aa4a5428130dee489839971a7
> ade2782bd6a993fe22df41e16efb460923314535277e28f1039c7b3480bad5fe3c7bc93ada5b7
> eb399f6488126d947b1a402840e0aaf5f4dafcb69efc5831f87a2f265e02c76c441d448e53b48
> ba405d54b631a408d23f93a018ecccf6197cb93ee1e69346fa894c5998559e84233e7cf29944d
> 7f20001000001383e39
-------------------------------------------------------------------------------
> -
r; t=0.05 19:44:52

. local result = _rc
r; t=0.00 19:44:52

. if (c(rc)) {
. cd "P:\StataWorkPdrive/"
r; t=0.00 19:44:52
. mata: parallel_write_diagnosis(strofreal(c("rc")),"P:\StataWorkPdrive/__pll4x
> ot5lk237_finito0001","while setting memory")
r; t=0.00 19:44:52
. clear
r; t=0.00 19:44:52
. exit
r; t=0.00 19:44:52
. }
r; t=0.00 19:44:52

. 
. * Checking for break *
. mata: parallel_break()
r; t=0.07 19:44:52

. 
. * Loading Globals *
. capture {
r; t=0.02 19:44:52

. if (c(rc)) {
.   cd "P:\StataWorkPdrive/"
r; t=0.00 19:44:52
.   mata: parallel_write_diagnosis(strofreal(c("rc")),"P:\StataWorkPdrive/__pll
> 4xot5lk237_finito0001","while loading globals")
r; t=0.00 19:44:52
.   clear
r; t=0.00 19:44:52
.   exit
r; t=0.00 19:44:52
. }
r; t=0.00 19:44:52

. 
. * Checking for break *
. mata: parallel_break()
r; t=0.00 19:44:52

. capture {
.     use "P:\StataWorkPdrive/__pll4xot5lk237_dataset" if _4xot5lk237cut == 1
r; t=0.00 19:44:52
.     drop _4xot5lk237cut
r; t=0.00 19:44:52
. 
. * Checking for break *
. mata: parallel_break()
r; t=0.00 19:44:52
.     statsby _b _se , basepop(company==1) by(company) clear: arima invest , ar
> (1) 
(running arima on estimation sample)
(100 observations deleted)
variable __000006 not found
an error occurred when statsby executed arima
r(111); t=0.08 19:44:53
.   }
r; t=0.08 19:44:53

. if (c(rc)) {
.   cd "P:\StataWorkPdrive/"
P:\StataWorkPdrive
r; t=0.00 19:44:53
.   mata: parallel_write_diagnosis(strofreal(c("rc")),"P:\StataWorkPdrive/__pll
> 4xot5lk237_finito0001","while running the command/dofile")
r; t=0.00 19:44:53
.   clear
r; t=0.00 19:44:53
.   exit

end of do-file
r; t=0.26 19:44:53
@gvegayon
Copy link
Owner

Seems to be an error in statsby. Does it run without parallel?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants