The Kernel is the back-end application thread that does the actual evaluation of all non-graphical expressions. It can be accessed directly through the console but is more commonly working behind the scenes to power the Notebook Interface. Multiple Kernels may be run for parallel computation.
9
votes
0answers
118 views
Why are there two separate MathKernel processes running when I start up Mathematica 9?
When I start the Mathematica 9 Front End, and check the list of running processes, I see two separate MathKernel processes. If I only start the kernel, without a front end, then there's only one ...
6
votes
0answers
78 views
In .NET/Link, how do I not open multiple kernels?
I'm writing an ASP.NET page intended for multiple users. On the backend we have datatypes that are primarily mathematical, and interact with Mathematica for string-to-double evaluations, among ...
6
votes
0answers
69 views
Return partial result when MemoryConstrained aborts NDSolve
I use NDSolve to solve a large set (~400) of coupled ODEs. Sometimes, the memory (~4GB) gets filled up, and my computer becomes impossible to work with, because it ...
4
votes
0answers
83 views
Context “Unique to This Notebook” makes variables black even if they're not defined?
I'm trying to use this technique to keep variables separated between different notebooks. It seems to be working fine, except that variables turn black as soon as they are evaluated — any ideas why ...
3
votes
0answers
26 views
Behavior of $PreRead in Kernel
I am interested in making a simple accounting style line calculator that allows me to interact with it something like this:
...
2
votes
0answers
99 views
Runaway MathKernel!
I was running a simulation and everything went south (my fault, stupid coding error). So I quit the kernel. Everything was running very slowly, as if it were doing some kind of large calculation. ...
2
votes
0answers
64 views
Why FrontEnd`KernelExecute doesn't work in KeyEventTranslations.tr?
Which commands can you put in KeyEventTranslations.tr ?
There is an extensive list of FrontEndTokens, but what else can you use? Why something like this doesn't ...
1
vote
0answers
42 views
Opening multiple kernels in command line for batch operation
I have been searching around for a while, and perhaps I'm just using the wrong terminology, but I haven't found a way to do this.
I have a mathematica notebook converted and saved as nobel_test.m, ...
0
votes
0answers
123 views
Mathematica 9.0.1 is clearing variables
I have noticed an errant behavior new in Mathematica 9. I thought at first it was because I was importing a very large text file and Mathematica just couldn't handle it. But now, I have seen the ...
0
votes
0answers
62 views
FindMaximum inconsistency
The code below seems to work for n<11. But for n=11, and above, it outputs newa then just outputs "beep" sound.
WhyTheBeep says "The kernel Local has quit ...
0
votes
0answers
54 views
Killing MathKernels running in the background
I have this question: sometimes I need to interrupt my mathematica batch jobs, but how can I get to cleanly kill the MathKernels that are still running on the background? Every time I attempt to kill ...


