-1

I am trying to run Julia on multiple cores:

starting in a command line (4 cores): $ /Applications/Julia-0.5.app/Contents/Resources/julia/bin/julia -p 4

How to enforce multicore in Jupyter?

Thomas K
  • 39,200
  • 7
  • 84
  • 86
Uki D. Lucas
  • 516
  • 6
  • 4

1 Answers1

2

Use addprocs(N) with N as the number of new processes you would like to start.

See here http://docs.julialang.org/en/release-0.5/stdlib/parallel/#Base.addprocs

and here http://docs.julialang.org/en/release-0.5/manual/parallel-computing/?highlight=addprocs

Alexander Morley
  • 4,111
  • 12
  • 26