Sorry, typo - yes, I meant addprocs(), not addproc(). ________
On Wednesday, August 20, 2014 6:05:22 PM UTC-7, Jiahao Chen wrote: > > 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] <javascript:>> 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! >
