Did you type "addproc(3)" or "addprocs(3)"?
Thanks,

Jiahao Chen
Staff Research Scientist
MIT Computer Science and Artificial Intelligence Laboratory


On Wed, Aug 20, 2014 at 6:53 PM,  <[email protected]> wrote:
> Forgive me if this has been answered before; I couldn't find the answer.
>
> I'm having fun with IJulia Notebook, and wanted to create a demo to show how
> easy it is to speed up a loop by using the
>
> julia> @parallel (+) for . . .
>
> construction. In the past, I've launched plain julia from the command line
> via
>
> $ julia -p 4
>
> to use all four cores on my machine.  But there doesn't seem to be any way
> to do that when launching
>
> $ ipython notebook --profile julia
>
> So I tried using
>
> julia> addproc(3)
>
> inside the notebook, but it doesn't utilize all the cores.  I even tried
> that method in plain julia, and likewise do not get the speedup that I get
> by launching julia with the -p switch.
>
> Please help!

Reply via email to