21
$\begingroup$

I would like to run a computation in one NoteBook that will take 2 hours.

Could I assign this Notebook a specific Kernel so I can run computation in other Notebooks ?

$\endgroup$
4
  • 5
    $\begingroup$ well, have you tried looking at the menus, eg Evaluation->Kernel configuration options? $\endgroup$
    – acl
    Feb 20, 2012 at 15:18
  • 3
    $\begingroup$ Why don't you start up an additional front end as well? If your front end crashes or locks up, it'll take the running kernel with it. It's better to separate the front ends too when you are running a long calculation while working on something else. $\endgroup$
    – Szabolcs
    Feb 20, 2012 at 15:26
  • 3
    $\begingroup$ Depending on the operating system, it might not be straightforward to start a separate front end. For example, OSX actively discourages multiple running instances of an application. The only way I know around this is to manually run the executable inside the application bundle. $\endgroup$ Feb 20, 2012 at 15:33
  • 1
    $\begingroup$ @acl, I did. I don`t understand how it works so I did not want to just "try". $\endgroup$
    – 500
    Feb 20, 2012 at 16:06

1 Answer 1

32
$\begingroup$

You can select which kernel is used by your notebook from the menu item Evaluation -> Notebook's Kernel. By default you will probably only have one kernel called Local available. If your Mathematica license allows for it (typically licenses allow for two simultaneous kernels on a machine), you can add new kernels by selecting the Evaluation -> Kernel Configuration Options... menu item. Select "New" to add a new Kernel, give the kernel any name you want and accept the default options. This new kernel will now be selectable from the Evaluation -> Notebooks Kernel menu.

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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