Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #1912

Re: How to Assign Different Kernel To Different Notebook?

From Albert Retey <awnl@gmx-topmail.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How to Assign Different Kernel To Different Notebook?
Date 2011-04-27 11:24 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <ip8ucu$qv6$1@smc.vnet.net> (permalink)
References <ip8o7k$pi7$1@smc.vnet.net>

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

How to Assign Different Kernel To Different Notebook? Afolabicrystal <afolabicrystal@gmail.com> - 2011-04-27 09:39 +0000
  Re: How to Assign Different Kernel To Different Notebook? Albert Retey <awnl@gmx-topmail.de> - 2011-04-27 11:24 +0000

csiph-web