Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know I can create a new kernel for my notebook from the evaluation menu but is there a command for this? I'd really like some of my notebooks to startup their own kernel as the first line of code.

share|improve this question
1  
closely related – Kuba Mar 12 '14 at 21:24
up vote 1 down vote accepted

Ok, so first of all you have to be aware that number of kernels you can use is limited by license.

You can go now to Evaluation -> Kernel Configuration Options and create a new one, let's say "Kuba". It will stay on the list for future too.

Now you just need to evaluate in your notebook:

SetOptions[EvaluationNotebook[], Evaluator -> "Kuba"]

and this option will be saved in it too so no need to evaluate that line each time.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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