Running multiple kernels allows Mathematica to execute different commands at the same time. This enables you to, for example, continue using Mathematica interactively while simultaneously and separately executing long evaluations. To use multiple kernels, configure a new kernel and set up a new notebook to use it. The process is similar to connecting to a remote kernel, except that the new kernel is local instead of remote.
- Start Mathematica. On the toolbar, navigate to Evaluation and then Kernel Configuration Options.
- Add a new kernel and configure it. In the dialog, click Add… and a Kernel Properties dialog will appear.
- Enter in an appropriate name for your kernel, such as “Alternate Local Kernel”.
- Under Basic Options, verify that Launch On is set to Local Machine.
- Click OK and open up a new Mathematica notebook.
- On the toolbar, navigate to Evaluation ► Notebook’s Kernel and click the name of the kernel that was just configured.
This notebook now uses the new alternate kernel. Any evaluations in this notebook are performed completely independently and concurrently with evaluations in other notebooks.