Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #1903 > unrolled thread
| Started by | Afolabicrystal <afolabicrystal@gmail.com> |
|---|---|
| First post | 2011-04-27 09:39 +0000 |
| Last post | 2011-04-27 11:24 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
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
| From | Afolabicrystal <afolabicrystal@gmail.com> |
|---|---|
| Date | 2011-04-27 09:39 +0000 |
| Subject | How to Assign Different Kernel To Different Notebook? |
| Message-ID | <ip8o7k$pi7$1@smc.vnet.net> |
Hello Group, My PC is an i7 with Quad Core, i.e. 4 processors so I can run multiple kernels. I presently have to manually select Evaluation >> Notebook's Kernel >> "KernelName" to select one of my 4 kernels which I have set up to compute some problems. Each problem takes an average of 3-4 hrs to compute and I have 4-5 of such computations to do. 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. 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? thank so much for the anticipated suggestions.
[toc] | [next] | [standalone]
| From | Albert Retey <awnl@gmx-topmail.de> |
|---|---|
| Date | 2011-04-27 11:24 +0000 |
| Message-ID | <ip8ucu$qv6$1@smc.vnet.net> |
| In reply to | #1903 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web