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.
15
votes
5answers
3k 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?
22
votes
4answers
735 views
Aborting evaluation when the memory exceeds a certain limit
Sometimes when generating a lot of data the memory usage shoots beyond its physical realm and my laptop freezes. There is no way to stop Mathematica when this happens. Task manager (or its equivalent ...
7
votes
2answers
350 views
Automatically load packages at startup
I'm a physics student and I try to simplify my day with Mathematica. Every time I use Mathematica I need Div[], Grad[], ...
20
votes
4answers
636 views
Saving data inside a notebook so that I don't have to run it again?
Piggybacking on this, I am somehow not fully convinced that I can't save data generated by a calculation in a mathematica file so that when I re-launch said file, I wouldn't have to run my ...
8
votes
2answers
202 views
Seeking strategies to deploy a function securely without a front end
Background
I have a fuction, which calculates an analytic solution to a multi-dimentional geometry problem.
The function takes a list of real numbers (typically less than a dozen) and outputs a ...
10
votes
2answers
166 views
How can I access a variable in one evaluator from another evaluator?
I have two notebooks, each with a different kernel. Is there a way to grab the value of a variable in KernelA from KernelB?
4
votes
3answers
159 views
Can one launch a Player Pro kernel independently of the front end
This question follows on from my earlier one, Seeking strategies to deploy a function securely without a front end.
As it pursues a different track to solve the same problem it seemed distinct enough ...
7
votes
1answer
410 views
Creating and editing new stylesheets
I'm trying to create a stylesheet, but the process has become painful. I'm sure that this has to do something with resetting something in Mathematica everytime I make changes to the stylesheet. To ...
11
votes
1answer
313 views
Space-efficient null space of sparse array
I have a roughly 100,000 × 3,000 matrix (as a SparseArray) that I'd like to find the kernel (null space) of.
It has about 500,000 nonzero entries, all -1 or 1.
...
5
votes
3answers
379 views
Generating figures over remote connection (using terminal)
Recently I've been making movies by having Mathematica create figures and then I combine all of them together using ffmpeg. The problem now is that my macbook is ...
3
votes
1answer
92 views
Connection to remote kernel can not be established - No specific error shown
I was trying to set up a remote kernel using Mathematica 8, a Debian server and a Mac OSX 10.8 client.
First I configured a VPN connection between server and client and went through all the basic ...
6
votes
1answer
190 views
How to stop the Kernel from running wild?
How to abort or stop this (accidently large defined) SparseArray production?
s = N[SparseArray[Table[{2^i, 4} -> i, {i, 30}]]]
Alt+. or Alt+, seem to give ...
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
1answer
497 views
Improving NDSolve speed for heavily stiff problems
Having looked around the intergoogles and Mathematica.SE, I thought I'd pose a question with a minimum working example.
Here is the situation I am trying to improve:
I am solving a 4th order non ...