5
$\begingroup$

I am developing an algorithm that take time to return results. I thought if I could run this notebook in background and continue to develop the rest of my work. It is possible to do that?

$\endgroup$
  • $\begingroup$ Possible duplicate: (2874) $\endgroup$ – Mr.Wizard Dec 19 '14 at 18:13
6
$\begingroup$

If I understand your requirements the simplest approach is to set the "background" Notebook to run in a different Kernel. To do that first configure your kernels:

  • Menu Evaluation > Kernel Configuration Options...

  • Add a new Kernel, e.g. "Background"

Then in your (background) Notebook use menu Evaluation > Notebook's Kernel to select it:

enter image description here

Evaluations in this Notebook will then be run in a separate Kernel leaving Local free for others.

  • Caveat: the number of "master" kernels you can run in parallel is limited by your license; although I have four kernels configured in the image above I can only run two in parallel.
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.