2

I am trying to start IPython with MPI engines all on my local machine. I need MPI. The IPython documentation suggests just running this:

$ ipcluster start -n 4 --engines=MPIEngineSetLauncher

However it doesn't say what to do after that. For me that results in:

$ ipcluster start -n 4 --engines=MPIEngineSetLauncher
2012-10-18 11:07:14,340.340 [IPClusterStart] Using existing profile dir: u'/Users/enos/.ipython/profile_default'
2012-10-18 11:07:14.342 [IPClusterStart] Starting ipcluster with [daemon=False]
2012-10-18 11:07:14.342 [IPClusterStart] Creating pid file: /Users/enos/.ipython/profile_default/pid/ipcluster.pid
2012-10-18 11:07:14.342 [IPClusterStart] Starting Controller with LocalControllerLauncher
2012-10-18 11:07:15.343 [IPClusterStart] Starting 4 Engines with MPIEngineSetLauncher
2012-10-18 11:07:45.348 [IPClusterStart] Engines appear to have started successfully

and it just stays there. How do I get an IPython command prompt?

I'm trying this with IPython 0.13 on OSX 10.8 with a 4-core machine.

3
  • Keep reading the page :) There is some sample code under the heading "Actually using MPI". Commented Oct 18, 2012 at 22:33
  • @GregInozemtsev that section assumes I have an interactive command prompt, which I don't have. Commented Oct 18, 2012 at 22:51
  • 3
    You simply start ipython in another terminal. Then the example code creates an instance of Client that connects to the running engines. Commented Oct 18, 2012 at 23:17

1 Answer 1

1

I found the answer in the comments, but I think it would be more useful to place it here.

"You simply start ipython in another terminal. Then the example code creates an instance of Client that connects to the running engines. – Greg Inozemtsev"

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.