Questions tagged [kernel]
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.
366 questions
2
votes
1
answer
144
views
Programatic Interaction with Front End (notebooks) via API
I am trying to build a Model Context Protocol tool that allows LLM to manipulate notebooks currently opened in a Mathenmatica front end. (using functions in https://reference.wolfram.com/language/...
10
votes
1
answer
381
views
How to deal with the zombie apocalypse caused by Python ExternalSessions?
I am working on a Mathematica package for knot theory that combines functionality of several other packages. Two notable examples are SnapPy and Regina. Fortunately, both have a rich Python interface ...
5
votes
0
answers
208
views
Any work around for many kernel crashes in V 14.2 on DSolve with pde's?
Reported to WRI also [CASE:5261604]
Each one of these DSolve calls cause kernel crash in V 14.2 and 14.2.1 instead of an $Aborted message or an actual solution. (These are from textbook and not made ...
7
votes
1
answer
172
views
Select on tabular with dates crashes kernel
Bug introduced in 14.2 and fixed in 14.2.1.
...
0
votes
0
answers
34
views
Unexpectedly shutdown when typing in “Simplify[..,Assumptions]" [duplicate]
I’m encountering a strange issue while using Mathematica 14.2 on macOS 15.3.1. Every time I type Simplify[..,Assumptions] and use the autocomplete feature to type Assumptions, Mathematica crashes ...
3
votes
0
answers
193
views
How do I restart kernel programmatically?
Due to memory buildup issues, I need to re-start kernel, keeping/reloading one variable and continue calculation.
Say, I have a variable tst={1,2,3} and I want to ...
0
votes
0
answers
72
views
Is it possible to increase compilation timing attempt?
I wrote a code that, if executed completely, causes the kernel to shut down as well as interrupting the compilation. So, to increase the compilation time I thought of using the following command but ...
1
vote
0
answers
148
views
What is the advantage of more than one kernel?
I have a code sample, I want to run it in different notebooks after different modifications. (To be more specific, the code sample is for differential equation solving, and I want to set different ...
1
vote
0
answers
94
views
Independent and interdependent notebooks
My Mathematica 11.2 home edition license under Windows 10 allows only for two independent notebooks/processes at a time. Is this what the Mathematica license calls "2 Frontends"? Does this ...
0
votes
1
answer
72
views
Setting shared function values in parallel is running sequentially
I am trying to define a function whose values can be updated across different Kernels running in parallel, where each Kernel might have to use values defined by other Kernels previously in the process....
0
votes
0
answers
63
views
Parallelization with Do and ParallelSubmit
I have quite a large expression that I need to integrate. My ansatz was to Expand the expression (easiest case results in ~5.5 million terms) and parallelize the ...
0
votes
2
answers
135
views
Need help to understand subtle difference using Replace in Association
Consider these two rules, which I initially considered as equivalent. Now I use rulesPlusMultScalarAssociationA as a "bug fix" in my code and use it instead of my "buggy" ...
2
votes
1
answer
103
views
Not able to use multiple notebook at a time
I have recently shifted to Macbook Pro M3 and having problem in running multiple notebook at a time. In Ubuntu I could open as many notebook as I want directly by clicking the notebooks. Now in Mac, ...
2
votes
0
answers
99
views
Changes in the kernel across versions
I was going through the Power programming book by David Wagner, and I tried:
...
1
vote
1
answer
123
views
How to show all bandwidth in adaptive bandwitdh KDE?
I have implemented the KDE distribution finding for a dataset. I apply the adaptive bandwidth method; I want to plot the change in bandwidth over the entire distribution. How can I do it? Thank you!