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

0
votes
2answers
30 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
45 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. ...
1
vote
1answer
120 views

Is there a way to simplify a symbolic expression at assignment, once-for-all?

I have a series of symbolic function calls that could be greatly simplified using some assumptions. I think I would like for these assumptions to be used in the definition of the function so that they ...
3
votes
1answer
130 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: ...
0
votes
0answers
84 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 ...
7
votes
1answer
81 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
48 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 ...
0
votes
0answers
47 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!
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
129 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
34 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
158 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" ...
6
votes
1answer
211 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, ...
1
vote
0answers
37 views

Evaluation is finished but local kernel still works [closed]

I am executing complex independent calculations of the same type in parallel. ...
1
vote
0answers
64 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 ...
6
votes
2answers
136 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 ...
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?
3
votes
1answer
192 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 ...
5
votes
1answer
53 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
69 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
51 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 ...
1
vote
2answers
97 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
182 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 ...
0
votes
1answer
207 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}]; ...
11
votes
1answer
400 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 ...
0
votes
0answers
60 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. ...
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} ...
6
votes
2answers
147 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
214 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 ...
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 ...
2
votes
1answer
83 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
20
votes
1answer
560 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
0answers
155 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: ...
1
vote
1answer
68 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 ...
3
votes
1answer
168 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
1answer
352 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
242 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: ...
2
votes
0answers
149 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. ...
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 ...
4
votes
0answers
88 views

Suspend computation so it can be resumed even after the PC is rebooted

Sometimes a computation takes a long time. But when I sleep in the night, I want to shutdown my PC. Next morning when I wake, I want to start Mathematica and resume the computation. If you are ...
0
votes
0answers
53 views

Evaluating expressions stored in notebook from Java

The Mathematica kernel can generally open a notebook and evaluate the functions present in the notebook using UsingFrontEnd Command. Example: ...
3
votes
1answer
139 views

Copy a variable to a specific kernel in Mathematica [closed]

I would like to copy some parameter from the main Kernel of Mathematica to the parallel kernels available. So I'm running now a command like: ...
0
votes
0answers
105 views

Use remote kernel on debian from win8

I spend almost two week to figure out how mma could use a remote kernel. The following is my results: The basic environment is: mma9.0.1 on win8 as my host (local machine); mma9.0.1 on Deiban 7 as a ...
0
votes
0answers
45 views

KernelObject::rdead on local kernels

I'm trying to parallelize some tasks which involve fetching data from a URL and processing it. This is the code: ...
1
vote
0answers
59 views

Multiple scripts run using same kernel

I have an external program that calls Mathematica scripts upon certain events. Each script requires a large Mathematica library to load (takes a while). Is there some way to run an initial script ...
1
vote
1answer
107 views

Launching external program in background process with ParallelSubmit

I work on the implementation of an image processing pipeline in Mathematica in which I also would like to use external programs to do certain processing steps. As an example I have macros for the ...
2
votes
1answer
191 views

Render dynamic Graphics objects static

As was discussed in the comments of another question (MathLink Graphical Output (Plots) to File), Graphcis objects produced by commands such as ...