0
$\begingroup$

How can I start a separate kernel to do other work, while I have Mathematica working on a problem that requires lots of computation time?

I have a program that must be run for many hours, preventing me from working on another project on that session. So I was wondering if it's possible to initiate a new kernel and work on my other projects? What's the best way to accomplish this?

$\endgroup$
  • $\begingroup$ Go to Evaluation => Kernel Configuration Options => Add Kernel. Then open a new notebook and select which kernel it should use from the menu Evaluation => Notebook's Kernel. $\endgroup$ – C. E. Jan 17 '15 at 9:41
  • 1
    $\begingroup$ @Pickett Many Thanks! $\endgroup$ – An old man in the sea. Jan 17 '15 at 9:56
  • $\begingroup$ It might be a better solution to start a separate front end as well, for added safety: if your front end crashes, it will also take down all the kernels attached to it. If you accidentally close the front end, it's the same. I believe it should be possible to start multiple front ends, but the method should depend on your operating system. Which OS are you using? $\endgroup$ – Szabolcs Jan 17 '15 at 16:19
  • $\begingroup$ @Szabolcs I'm using Win8. $\endgroup$ – An old man in the sea. Jan 17 '15 at 20:13
  • 1
    $\begingroup$ @Anoldmaninthesea. It took me some time before I could test this, but it appears that on Windows it is possible to launch multiple instances of Mathematica without needing to do anything special. Whenever I needed to run a long calculation, I did it in a completely separate instance for additional safety (protection against crashes or my own mistakes). $\endgroup$ – Szabolcs Jan 19 '15 at 17:36

Your Answer

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

Browse other questions tagged or ask your own question.