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

Connection error with MacOS X 10.12 and Stata 15 #69

Open
sarahhaj opened this issue Jun 24, 2018 · 3 comments
Open

Connection error with MacOS X 10.12 and Stata 15 #69

sarahhaj opened this issue Jun 24, 2018 · 3 comments

Comments

@sarahhaj
Copy link

sarahhaj commented Jun 24, 2018

Hi,

I am trying to use the -parallel- command on MacOS X 10.12 and Stata/IC 15.1 and run into some connection issues. I tried to replicate the minimal example with the -egen- command which gives me the following output:

. ssc install parallel, replace
checking parallel consistency and verifying not already installed...
all files already exist and are up to date.

. mata mata mlib index
.mlib libraries to be searched are now
    lmatabase;lmataado;lmataerm;lmatafc;lmatagsem;lmatamcmc;lmatamixlog;lmataopt;lmatapath;lmatapostest;lmatapss;lmat
> asem;lmatasp;lmatasvy;lmatatab;lparallel

. 
. parallel setclusters 2, f
N Clusters: 2
Stata dir:  /Applications/Stata/Stata.app/Contents/MacOS/Stata

. 
. sysuse auto
(1978 Automobile Data)

. 
. parallel, by(foreign): egen maxp = max(price)
--------------------------------------------------------------------------------
Parallel Computing with Stata (by GVY)
Clusters   : 2
pll_id     : guk2xjp312
Running at : /Users/Sarah/Documents
Randtype   : datetime
Waiting for the clusters to finish...
cluster 0001 has finished with a connection error -601- (timeout) (see more)...
cluster 0002 has finished with a connection error -601- (timeout) (see more)...

Can someone tell me what's wrong with it?

I am rather new to Stata and to parallel processing and would greatly appreciate any suggestions.
Thanks, Sarah

@bquistorff
Copy link
Collaborator

Can you check that you:

  • Have checked that the examples in the help work.
  • Are using the newest release (see here for latest release version number).

@sarahhaj
Copy link
Author

sarahhaj commented Jun 26, 2018

Thank you!
I noticed that I had not the newest release (the ado file was from version 1.15.8.19).

I installed the newest version from the project website and now I get the following error message:

. parallel setclusters 4
  parallel_setclusters():  3001  expected 1 to 2 arguments but received 3
                 <istmt>:     -  function returned error

@bquistorff
Copy link
Collaborator

It looks like you didn't uninstall the SSC version. Can you uninstall parallel and then install the latest from GitHub.

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

2 participants