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.

Filter by
Sorted by
Tagged with
1
vote
0answers
22 views

How to close a specific Kernel after completion of evaluation in ParallelDo

I have a particular code that I have to run over several different parameters. I am using ParallelDo to parallelize the process. Due to the nature of the evaluations some Kernels finish the ...
0
votes
0answers
20 views

Closing sleeping kernels in parallel computation

I want to close the kernels which have completed their jobs in parallel computation. I have a test code as following: ...
0
votes
0answers
34 views

Parallel Computation: Kill kernels which have completed the jobs while others keep running

I launch 20 parallel kernels in the background using nohup math -run "<<file.m" &> file.out The nature of computation is integration over various ...
3
votes
0answers
50 views

How to use the old kernel in a newer version of MMa

I am used to the conveniences of MMA 11.3 such as: can undo some times, autocomplete codes, and so on, however I have to run some functions in the version 5.2. So I installed Mathematica V11.3 and V5....
4
votes
1answer
59 views

How to set up Wolfram Language cluster with only the command line interface

I'd like to set up a cluster of WL nodes without using the notebook user interface. Everything I've seen about how to set up a WL remote kernel talks about how to configure the remote kernel by going ...
2
votes
0answers
97 views

Kernel crash after repeated use of NDSolve

I am trying to solve the Einstein-Klein-Gordon system (equations below) for different piecewise potentials but the kernel keeps crashing after repeated use of NDSolve. Apparently, everything works ...
2
votes
0answers
93 views

Why does this memoized function cause the kernel to quit? [closed]

The following memoized recursive function causes the kernel to beep and quit. ...
2
votes
0answers
38 views

Is there a function that reverts or undoes the effects of Needs? [duplicate]

Needs is used to load packages. Is there a function that cleans all the Definitions and ...
2
votes
1answer
106 views

Mathematica Won't Recognize a MeshRegion

I've implemented the code in the top answer of this question on the Plateau problem in differential geometry, and it works with the example shown in Example 1, so there is nothing wrong with the code. ...
13
votes
1answer
356 views

VideoPlay crashes the Kernel with Mathematica 12.1

I'm using Mathematica 12.1 on windows 10 (Microsoft Windows [Version 10.0.16299.1686]) When going to the Help file about VideoPlay I tried the standard example and it crashes the Kernel. For me it'...
0
votes
0answers
32 views

After execution of simple list manipulation every expression turns dark blue and nothing is defined - how to debug

This question is related to this one in the sense that it uses the code from there. What happens is best illustrated in the video here. When I run (* part 1 *) ...
2
votes
0answers
24 views

Remote kernel lost internet connection

I'm running a calculation on a remote kernel and the internet connection is interrupted. When it recovered, all definitions were lost on the front end. Does the kernel on the remote machine ...
7
votes
1answer
69 views

Cannot remove configured kernels in version 12.0

Bug introduced in 12.0 I have defined the settings of a new remote kernel from Kernel Configuration Options in a MacOS machine. But the specification have a mistake and I need to redefine. When I ...
3
votes
1answer
38 views

How to get KernelID in from KernelObject?

In a nutshell, how can I get this number: I'm having trouble because $KernelID isn't a function and the FullForm is this crazy thing: Motivation: After you call ...
1
vote
0answers
44 views

How do Mathematica processes DynamicBox? [closed]

I've heard that Mathematica uses a session ad hoc to process DynamicBox, but I don't know any detail. I am using DynamicBox in ...
4
votes
1answer
110 views

Deleting a specific In[ ] / Out[ ] pair

I recently found that the CleanSlate package allows you to free memory without restarting the Wolfram kernel. The CleanSlate package includes the ClearInOut, which ...
0
votes
0answers
53 views

Using allocated cores for subkernels on computing cluster

I am really struggling to get to run my Mathematica job on a high-performance-computing cluster (TORQUE based). What I have is: A wolfram script (wls), that is wrapped in a ...
-2
votes
1answer
129 views

How to use deep clones in Mathematica [closed]

Is there a way to use deep clones in Mathematica? Maybe by making lots of different kernels. In order to execute multiple notebooks I need more than one kernel, is there a way to make them using C# ...
0
votes
0answers
54 views

Can't modify “Kernel Configuration Options”

Immediately after adding a kernel using the Evaluation --> Kernel Configuration Options, I cannot further modify the list of kernels in that configuration panel (...
4
votes
0answers
52 views

Run computation in separate process and kill it after a time limit

I am looking for a solution to run a Mathematica calculation in a separate process (separate kernel) and cancel the computation after a given time. If it cannot be cancelled, then just kill that ...
8
votes
0answers
159 views

The most bizarre kernel crash ever. Kernel crash in Integrate under simple different setups. Unable to find cause

Reported to WRI. CASE:4330461 V 12 on windows 10 64 bit. Note: This problem do not show up in V 11.3. Only in V12. For the last 2 hrs, I've been trying to zoom into why V12 kernel crash when ...
10
votes
2answers
589 views

Using Terminal` (ASCII plots) in Wolfram 12

I was interested in exploiting the Terminal` package, as demonstrated in this post, to show some ASCII plots straight through the terminal of my Raspberry Pi Model 3 B+. However, it doesn't seem that ...
0
votes
0answers
77 views

Readable formula output on command line

I was trying to solve some differential equations. Mathematica is a little expensive to me, so I went for the free Wolfram Engine for Developers. It is said that the engine offers the full power of ...
0
votes
0answers
36 views

SingularValueDecomposition crashes kernel?

Consider the following simple example (Windows 10, MA 11.3) mat = Table[RandomReal[], {i, 1, 2000}, {i, 1, 2500}]; {u, ww, vt} = SingularValueDecomposition[mat]; ...
7
votes
1answer
88 views

Why call to StreamPlot terminates kernel each time?

FYI, reported to WRI [CASE:4288967] By mistake, I put x range starting from negative to make StreamPlot for expression with ...
11
votes
1answer
142 views

Why does args symbol exist in a fresh kernel?

In fresh kernel Mathematica 11.3 (Linux) asking for args (similarly for dims) I obtain ??args Global`args As far as I ...
1
vote
0answers
28 views

Kernel runs continously with Manipulate Block inside Package, not notebook

I recently moved an Manipulate block from a notebook to a package (.m file). The original manipulate called functions from the package in the form of Package`f(x) and was used in the Manipulate. The ...
2
votes
0answers
57 views

Kernel crash when Saving/Get ing big files

I have been experiencing crashes in Mathematica 11.0.1 on a machine at work. I've tracked down the problem to when Mathematica is either using Save[fileName] or <...
1
vote
0answers
132 views

Surprise: I don't need a new kernel to make to MMA notebooks independent [closed]

People seem to suggest that one needs to start a new kernel to keep multiple Mathematica (MMA) notebooks independent e.g. Kernel management link. But I did not do so and still found my two notebooks ...
1
vote
0answers
64 views

Using WSTP to connect a C process to local and remote kernels simultaneously [closed]

Is it possible for a C program to communicate (via WSTP) with both a Mathematica kernel running on its machine, and a remote one? For context: I use a local Mathematica kernel which talks to a remote ...
1
vote
0answers
78 views

How to use two or more kernels in the same notebook frontend?

Is there a way to connect the notebook front end to both kernels, 11.3 and 12.0 at the same time. So I can run certain commands in older version. It would be nice to have a way to run certain cells ...
0
votes
0answers
38 views

List of all items stored in kernel

In Matlab, there is a window on the side that contains all of the variables stored in the workspace. Is there something equivalent in Mathematica? I am imagining a command kind of like DownValues or ...
2
votes
0answers
49 views

Problem exporting vector graphics (PDF) in Mathematica Notebook Front-End using remote kernel on linux

I'm not being able to export vector graphics images (especially PDF) in a Mathematica Notebook Front-End in Windows 8.1 using a remote kernel on a Linux server. I can, however, export Raster Image ...
2
votes
1answer
226 views

Launching remote kernel--increase timeout time

When launching several remote kernels manually on a cluster (as described in here under `Remote Kernels/Manual Launching') I see quite frequently the following error: ...
0
votes
0answers
77 views

Dynamic updating issue

I would like to evaluate/simplify a series of expressions. The first set of expressions works fine, but when I try to evaluate the second line of my code (a very simple expression), the program keeps ...
1
vote
0answers
43 views

Can I still access my Mathematica Kernel after notebook disappears? [closed]

I am currently accessing a Linux research computer via x2go, and was running a long evaluation on a mathematica notebook there. Logging back on to check how it was going, the notebook was no longer ...
7
votes
1answer
115 views

Strange behavior of Out[]

Let's create two notebooks external.nb and primary.nb. Then call the external.nb notebook from the primary.nb and investigate values of Out[ ]. The context of the external notebook is not important, ...
1
vote
0answers
44 views

How badly does switching kernel slow down or completely stop Mathematica running jobs?

I have a question on how to run two or more Mathematica jobs on one laptop. For example, I use a local kernel to run a job. Then I open another job and choose Kernel configuration option and choose ...
5
votes
0answers
103 views

Why do some uses of PropertyList crash the kernel?

Bug introduced in 10.1.0 or earlier and fixed in 12.1.0 While looking at the question How to evaluate the "Domain" of an InterpolationObject? I noted that using ...
1
vote
0answers
63 views

Number of processes in text (batch) mode

I have tex mode access to server with Mathematica the math sesion parameters are: ...
1
vote
0answers
109 views

How to install only Wolfram Kernel and register to a MathLM Server?

I have access to a MathLM server and the Mathematica 11.3 install files. Is there a command line option for the install that will only install the Wolfram Kernel and not the Mathematica front-end? ...
0
votes
0answers
32 views

Export of plot depends on kernel

I am trying to export a log-plot to a pdf-file but the logarithmic axis ticks are broken when exporting from my default kernel local. The exported pdf is as ...
0
votes
0answers
43 views

How can I launch several different kernels for multiple evaluation of many scripts mean Linux terminal?

I have several scripts to launch, with the command: math.9 < script_name.m, on a server Linux based mean Linux terminal. The Mathematica version on the server is Mathematica 9. I know that I cannot ...
3
votes
1answer
119 views

Why are stored variables with symbols featuring subscripts in blue after evaluation?

When normal variables are stored in the kernel after an evaluation they change color in the notebook from blue to black. I notice that if such variables are defined with symbols having subscripts such ...
1
vote
0answers
104 views

Why is my Mathematica notebook resetting all my previous computations after some hours?

I am using Mathematica 11.1. This morning I started some calculations in the hope that when I come back from work, they will be finished and I can get on with the rest of my project. Indeed, when I ...
1
vote
0answers
145 views

How do I check how many (sub)kernels my program is using?

I am running a code that uses up to 60% of CPU on my quad-core machine, suggesting that it is using some subkernel, introducing overhead in the computations and slowing down the program which is not ...
7
votes
1answer
264 views

Complete list of documented symbols that require a front-end?

I'm looking for an exhaustive list of symbols that work: On the cmd line kernel (without a Front-End) Only in a notebook (with a Front-End) In the Wolfram cloud (in the paid version and the free lab ...
1
vote
2answers
139 views

How can I effectively achieve remote access to Mathematica output?

I will be away from my home institution for an extended period. I plan to leave programs running on machines there. These programs periodically (every several hours) output updated results (improved ...
0
votes
0answers
110 views

Mathematica quits kernel with a beep sound on MacBook Pro (2015)

Mathematica sometimes quits kernel while I'm trying to plot a bunch of eigenvalues of a matrix vs some parameter, accompanied by a beep sound. It didn't used to do this at all, so I don't think its ...
3
votes
1answer
166 views

How do I launch a remote kernel on one Win 10 system from another Win 10 sys?

I have two win 10 computers and I have enabled the built-in windows 10 OpenSSH Client and OpenSSH serve in both of them. I can use one of the computers to run programs on another computer. I have also ...

1
2 3 4 5 6