{"action":"created","issue":{"url":"https://api.github.com/repos/gvegayon/parallel/issues/61","repository_url":"https://api.github.com/repos/gvegayon/parallel","labels_url":"https://api.github.com/repos/gvegayon/parallel/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/gvegayon/parallel/issues/61/comments","events_url":"https://api.github.com/repos/gvegayon/parallel/issues/61/events","html_url":"https://github.com/gvegayon/parallel/issues/61","id":302087676,"number":61,"title":"When is data returned to the calling workspace?","user":{"login":"feenberg","id":8114261,"avatar_url":"https://avatars1.githubusercontent.com/u/8114261?v=4","gravatar_id":"","url":"https://api.github.com/users/feenberg","html_url":"https://github.com/feenberg","followers_url":"https://api.github.com/users/feenberg/followers","following_url":"https://api.github.com/users/feenberg/following{/other_user}","gists_url":"https://api.github.com/users/feenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/feenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feenberg/subscriptions","organizations_url":"https://api.github.com/users/feenberg/orgs","repos_url":"https://api.github.com/users/feenberg/repos","events_url":"https://api.github.com/users/feenberg/events{/privacy}","received_events_url":"https://api.github.com/users/feenberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-04T13:56:32Z","updated_at":"2018-03-23T06:35:21Z","closed_at":null,"author_association":"NONE","body":" In my application there won't be any data in core when -parallel do- is called, but there will be data created in the do file to be appended and returned. I am confused about how -parallel do- returns data in the workspace. I have a do file -makex.do-:\r\n```\r\nset obs 1000\r\ngen x=$pll_instance\r\n```\r\nIf I run:\r\n```\r\nparallel setclusters=2,f\r\nparallel do makex.do\r\n```\r\nIt runs without error but returns nothing to the calling workspace (where I expected to see 2,000 rows of x). If I add \r\n\r\n`save $pll_instance`\r\n\r\nto  makex.do, then 1.dta and 2.dta are saved to disk and can be retrieved., but I thought that would be automatic unless -nodata- was specified. \r\n\r\nWe have very large files in shards, and my eventual goal is to process them with -parallel-. -Parallel- will allow us to parallelize  input/output, which StataMP doesn't really do. I am trying to put together instructions for other users, and want them to be very clear.\r\n\r\nPerhaps -parallel append- is more appropriate for this application, but I haven't figured it out at all. \r\n\r\nversions:\r\nparallel: vers 1.15.8.19  (19agol2015)\r\nLinux :  2.6.32-696.18.7.el6.x86_64\r\nStata: 14.2"},"comment":{"url":"https://api.github.com/repos/gvegayon/parallel/issues/comments/375558761","html_url":"https://github.com/gvegayon/parallel/issues/61#issuecomment-375558761","issue_url":"https://api.github.com/repos/gvegayon/parallel/issues/61","id":375558761,"user":{"login":"gvegayon","id":893619,"avatar_url":"https://avatars1.githubusercontent.com/u/893619?v=4","gravatar_id":"","url":"https://api.github.com/users/gvegayon","html_url":"https://github.com/gvegayon","followers_url":"https://api.github.com/users/gvegayon/followers","following_url":"https://api.github.com/users/gvegayon/following{/other_user}","gists_url":"https://api.github.com/users/gvegayon/gists{/gist_id}","starred_url":"https://api.github.com/users/gvegayon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvegayon/subscriptions","organizations_url":"https://api.github.com/users/gvegayon/orgs","repos_url":"https://api.github.com/users/gvegayon/repos","events_url":"https://api.github.com/users/gvegayon/events{/privacy}","received_events_url":"https://api.github.com/users/gvegayon/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T06:35:21Z","updated_at":"2018-03-23T06:35:21Z","author_association":"OWNER","body":"Have you tried with the development version? \r\n\r\nhttps://github.com/gvegayon/parallel#development-version-latestmaster\r\n\r\nI don't have stata right now, so I can't check, but I suppose you should get the data back."}}
{"actor":{"display_login":"gvegayon"}}