MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to Assign Different Kernel To Different Notebook?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118419] Re: How to Assign Different Kernel To Different Notebook?
  • From: Albert Retey <awnl at gmx-topmail.de>
  • Date: Wed, 27 Apr 2011 07:24:02 -0400 (EDT)
  • References: <ip8o7k$pi7$1@smc.vnet.net>

Hi,

> Sometimes I 4get to select different Kernel and then the job gets
> pooled, waiting for another job to finish using the kernel. If I use
> "Quit" to stop the pooled job, mathematica stops all associated job to
> that kernel.

that is not necessary: just choose the cells that are waiting for 
evaluation and use "Remove from Evaluation Queue" (there is also a 
keyboard shortcut for this, Shift+Alt+. on Windows) from the 
"Evaluation" menu...

> Now, is there a code or function in mathematica to include in my
> initialization cell to instruct ..mathetica to select specific kernel
> for particular notebook?

I think if you choose Evaluation -> Notebook's Kernel that setting is 
saved when you save the notebook, what could the initializiation cell 
construct do more than this? Of course you can use something like:

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

hth,

albert


  • Prev by Date: Re: Drawing a vector list
  • Next by Date: Re: Drawing a vector list
  • Previous by thread: How to Assign Different Kernel To Different Notebook?
  • Next by thread: Re: How to Assign Different Kernel To Different Notebook?