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.

learn more… | top users | synonyms

5
votes
1answer
88 views

Clean webMathematica Kernel

On my webMathematica server, certain input values are being saved between page loads on different computers. I assume this is because the kernel is not clearing the values after it finishes loading a ...
0
votes
1answer
64 views

Strange evaluation of an sum involving binomial coefficients

I stumbled upon this problem while playing with Mathematica 10. Can anyone help me explain the following behaviour? I define a sum ...
9
votes
2answers
323 views

Why LibraryLink function crashes at a second time?

Bug is present as of version 10.1 on OS X 10.10.3 Update As Todd Gayley commented under halirutan's answer, this is a bug. I'm trying link one of Lapack's function to Mathematica through ...
0
votes
2answers
33 views

Parallel evaluation hangs before doing anything

[I use Mathematica 9.0.1.0 on OS X Yosemite 10.10.2.] I am experiencing difficulty with parallel evaluation that I am finding extremely perplexing to troubleshoot. I define the following function in ...
0
votes
1answer
48 views

Saving a .m file generates internal error

Why does saving a .m file in version 10 generate this error? Nothing appears when I click on the link. But it happens everytime I save a file and then the file is renamed to untitled-n file. ...
11
votes
1answer
401 views

Kernel crashes when plotting $z=\sqrt{(x^2 + y^2)}^0$

Bug introduced in 7.0.1 or earlier and fixed in 10.0.1 I'm plotting a 3D function, which makes Mathematica V9 (running on Windows 7) crash all the time. Does this only happen for me or for somebody ...
3
votes
1answer
146 views

How to connect the front end of one raspberry pi with the kernel of another

I followed the instructions in this howto from wolfram, but I keep getting the error: ...
7
votes
1answer
84 views

Why can't I abort main evaluation from ScheduledTasks (Service Link)?

FrontEndExecute[FrontEndToken["EvaluatorAbort"]] is equivalent of the menu item: Evaluation >> Abort. It works with ...
0
votes
0answers
94 views

Is there a way to give Mathematica extra memory?

I am running Mathematica 10 (Student Edition) on Mac OS X 10.7.5 on an old Mac Pro. I have lots of extra RAM that the system isn't touching, and I would like to give some of it to Mathematica in the ...
0
votes
0answers
22 views

Long time quitting kernel

Sometimes, but not always, when I quit the Mathematica 10 kernel using Evaluation / Quit Kernel, it can take several minutes before the process is completed. Other times, for the same program, it only ...
0
votes
0answers
51 views

How to make Show work in Mathematica 10 Kernel

Wolfram Research says it no longer supports JavaGraphics in Mathmatica 10. This is very bad for people who prefer the Kernel to the FrontEnd. However, I am still able to get it to work. Show ...
6
votes
1answer
192 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 ...
0
votes
0answers
49 views

How to kill the kernel process from the command line without killing the frontend?

Sometimes the kernel hangs and I'd like to see if I can kill the math-kernel process without destroying my front-end session and losing the changes in my unsaved notebook!
6
votes
1answer
235 views

Remote Kernel configuration works in v9 but not in v10

I have both v9 and v10 currently installed on my computer (Windows 7). For reasons that are not entirely clear, if I create a new remote kernel in one version, it is accessible to the other; however, ...
0
votes
1answer
41 views

How to set a shared variable Power (a modified one)?

Unprotect[Power]; Power[0|0., 0|0.] = 1 ; Protect[Power]; Table[0^0, {i, 5}] No problem at all. ParallelTable[0^0, {i, 5}] ...
4
votes
0answers
137 views

How to determine reason for kernel crash? -> Nelder Mead optimisation

I am making use of the Nelder Mead algorithm inside Mathematica's NMaximize to find a parameter set by solving the Schrodinger equation for a given system. (see ...
0
votes
0answers
37 views

Initiating another Kernel?

How can I start a separate kernel to do other work, while I have Mathematica working on a problem that requires lots of computation time? I have a program that must be run for many hours, preventing ...
5
votes
1answer
159 views

How to understand the difference between Sqrt and Log after ClearAll them

I came across this post, here I change the last line of the code Unprotect[Sqrt]; Sqrt[x_] = "blahblah"; Protect[Sqrt]; Sqrt[2] "blahblah" ...
3
votes
1answer
196 views

Trouble with Datasets in Version 10.0.1

Almost every morning, when I start my work, I observe the same problem as already mentioned here: Dataset Mathematica 10.0 and here: Dataset: cannot reproduce a basic example. A bug? I opend this new ...
27
votes
5answers
13k views

How do I clear all user defined symbols?

Is there some way to do this other than going to Evaluation -> Quit kernel and firing a new one up?
6
votes
2answers
145 views

Difference between Evaluation>>Quit Kernel and Quit[]

What is the difference between Evaluation >> QuitKernel and Quit[]? Both seem to quit the kernel (and clearing all ...
1
vote
0answers
38 views

Evaluation is finished but local kernel still works [closed]

I am executing complex independent calculations of the same type in parallel. ...
10
votes
2answers
265 views

ScheduledTask with scoped variables. Working with timed evaluation

I guess I have to try harder and focus more but timed evaluation always frustrates me. I will show the issue on simple example of delayed trigger. ...
2
votes
0answers
67 views

Integrate with Subscript: does this crash your kernel too?

I encountered some strange behaviour running v10.0.1 on a Mac Pro, while working with Integrate and Subscript. Starting from a ...
2
votes
0answers
63 views

$Epilog does not work when exit

The following code does work: $Epilog := Print@1; Quit[]; But if I close the document and exit WM or click QuitKernel, it does not work. Why?
5
votes
1answer
55 views

Changing MathKernel process priority on the startup

In the built-in Documentation there is an example how it is possible to change the priority of the MathKernel process using NetLink: ...
4
votes
1answer
73 views

what's the meaning of “-mathlink” as part of Arg for LinkLaunch?

LinkLaunch["MathKernel -mathlink"] LinkLaunch["MathKernel"] The both code line above can launch a MathKernel. What's the difference of them? what's the meaning of ...
2
votes
1answer
203 views

Remote Kernel Setup: SSH fails with exit code 32512

I am having trouble with configuring parallel kernels. What I want to do is the following: run remote kernels on my home server to which I would like to connect from work using my laptop. Both ...
1
vote
2answers
100 views

Change Temporary Directory

How to change the value of $TemporaryDirectory ? I need to change it because there is not enough space on the C drive and the calculation seems to stop after a while !
2
votes
1answer
54 views

Unprotect fails the first time, works on second pass [duplicate]

I am redefining some of the standard math functions. I know this is dangerous, so I am trying to be extra careful. (For instance, in the redefinitions, I make sure to only match a custom head) The ...
0
votes
1answer
235 views

How to use multiple core in evaluation?

Sorry if the question is very basic, that's because I am newbie in the Mathematica. Assume I have a module that is supposed to do a very very long calculation result = Table[0, {i, 100000000}]; ...
2
votes
1answer
254 views

Export notebook file without launching front-end

I am using a Mathematica script to programmatically generate a Mathematica notebook. The script generates a Notebook expression and then uses ...
10
votes
2answers
237 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 ...
8
votes
0answers
327 views

Keyboard issues with Mathematica 9.0.1 for Linux [closed]

After working for a while with Manipulate function and increasing the number of variables to be manipulated, keyboard stops working properly in the Notebook. It ...
2
votes
0answers
70 views

Some global variables are defined even at the start of a fresh session [duplicate]

In a fresh Mathematica session evaluating Names["Global`*"] doesn't give an empty list. The result is either {rhs, z} ...
3
votes
1answer
173 views

Parallel kernel and front end

I have a piece of code which looks like this: ParallelTable[ Monitor[ Table[ <code here> ,{i,i1,i2]; ,i]; ] so basically a ...
0
votes
0answers
61 views

kernel stops evaluation, clears variables

I am using the new Mathematica 10 student edition. As I am evaluating a table of integrals and calling NIntegrate repeatedly, the evaluation stops without error and the kernel clears all variables. ...
6
votes
2answers
149 views

Communication between local kernels

this is my first post but you have already helped me so many times that I have to start by saying thanks a lot! I have a really long calculation to do, and I have used the Evaluation->Kernel ...
3
votes
0answers
96 views

Why am I getting a kernel crash on Chop?

First post, hopefully I figure out the formatting easily. Please forgive me if this posts ugly. I am having a (repeatable) problem where when I run my code everything works fast and the output is ...
2
votes
1answer
225 views

kernel Local crashes during the course of a For loop

I want to find the minimum of the function r[x,p] subject to the constraint w[x,p,t]==0 (t ...
1
vote
1answer
69 views

Keep batch-mode kernel alive

I made a small HTTP server using jlink that works when running with the frontend. Now I need to keep a stand-alone math kernel alive after all functions have evaluated for the server to stay up. All ...
30
votes
2answers
1k views

What information is sent to Wolfram Research when loading or working with Mathematica?

Recently I am told that information unknown to the user is sent to Wolfram Servers. Is there any truth behind it ? I was told that more than just an IP address of the user is sent to them and that ...
20
votes
1answer
569 views

Kernel crash after idle in version 10.0

In version 10.0, when I leave the Mathematica section idle for some time (of order an hour), the kernel quit automatically. The syntax highlighting is gone and the variables that has defined before ...
2
votes
1answer
86 views

Kernel quits on closing notebook

Mathematica quits (exits) when the single notebook I'm working on is closed. How to prevent this? Win7, v10 Mathematica
2
votes
0answers
160 views

Death of parallel sub-kernels

EDIT : Finally, the new Mathematica 10.0 seems to fix it. I have a little parallelization problem. I wrote a code to generate a quasicrystal by dynamical generation. Here the code: ...
7
votes
1answer
322 views

CompilationTarget->“C” crashes the kernel

Major deviation from my original post I realize that the long code I originally had was very discouraging to debug and did not attract any answers. So I have decided to revamp this question ...
2
votes
0answers
152 views

Kernel quits upon evaluation of a limit

Using 9.0.1 on OS 10.9.3, I evaluated Limit[(1 + t/Sqrt[n])^-n, n -> Infinity] at the start of a session and it caused an error that made the kernel quit. ...
0
votes
1answer
375 views

How does Mathematica interpret a expression?

I'm a beginner to Mathematica. I'd read several document. But I still have a problem. For example, every expression in Mathematica are of the form ...
4
votes
2answers
243 views

Keep kernel running for execution of scheduled task

How can I keep a kernel running until all scheduled tasks have completed? For example upon running the following script bazinga.m: ...