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
0
votes
0answers
57 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
33 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
86 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 ...
1
vote
0answers
43 views

why ??x and ??args yields different answers in 11.3

In fresh kernel Mathematica 11.3 (Linux) asking for args (similarly for dims) I obtain ??args (*Global`args*) As far as I remember similar problem we had ...
1
vote
0answers
27 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
44 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
122 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
54 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
60 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
31 views

Mathematica restarts kernel when trying to evaluate the integral using GlobalAdaptive

I have Mathematica 11. Each time when I try to evaluate some (specific) multi-dimensional integral using Automatic or GlobalAdaptive, it restarts the kernel, while for MonteCarlo it works fine. What ...
0
votes
0answers
28 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
40 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 ...
0
votes
0answers
31 views

Reading a chunk of data from a stream using Parallelization

I am trying to read a stream and perform some operations in parallel. Here is the logic of the code inside the ParallelDo: 1- Open stream 2- Read chunk of data 3- Close stream 4- Process the data ...
1
vote
1answer
104 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
52 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
40 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
113 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
39 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
83 views

Why do some uses of PropertyList crash the kernel?

Bug introduced in 10.1.0 or earlier and persisting through 12.0.0 or later A support case with the identification [CASE:4222617] was created. While looking at the question How to evaluate the "...
1
vote
0answers
61 views

Number of processes in text (batch) mode

I have tex mode access to server with Mathematica the math sesion parameters are: ...
0
votes
0answers
73 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
29 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
32 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
89 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
83 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
96 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
256 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
105 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
90 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 ...
2
votes
1answer
109 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
vote
0answers
51 views

How can I exit a specific kernel?

According to the documentation, the following are true: The Exit[] command "terminates a Wolfram Language kernel session." The ...
10
votes
2answers
177 views

Any ergonomic tools for the command line kernel?

Mathematica on the command-line (invoked by running 'wolfram' on bash shell) seems bereft of all modern usability features. I'd like a list of the best third-party packages available (if any exist) ...
0
votes
1answer
118 views

Manipulate within Manipulate

Since the original post of mine, which is below, is too long, too complicated and time-consuming for others, I tried to mimic the same structure with a very simple ...
0
votes
0answers
218 views

ParallelTable::nopar: No parallel kernels available; proceeding with sequential evaluation

I am trying to use a the following code: ...
5
votes
1answer
128 views

What is the difference between controlling and computational kernels?

I have just dowloaded Mma 11.3 with a trial licence. In the download page you can see: That I can use 2 controlling kernels and 4 computing kernels. What is the difference between controlling and ...
5
votes
0answers
149 views

How can I create a REPL for Mathematica in Sublime Text

I would like to be able to interact with Mathematica command line interface from within Sublime Text. Sublime Text has a package called Sublime REPL that provides an interface for different ...
2
votes
2answers
617 views

Mathematica 11.3 keeps crashing on initializing Kernel

I have been using a licenced mathematica, provided by my research institute, for a while. Weeks ago it happened to me that at the startup of my mathematica (while initializing Kernel), mathematica ...
1
vote
0answers
213 views

Kernel shutting down automatically with no error

What are the possible reasons why a kernel exits and the computation simply stops without printing out an error message? In case the specific scenario is required, it is as follows but perhaps the ...
3
votes
0answers
61 views

Launching kernels… freezes

I'm running a Mathematica script on a remote machine (via ssh connection). I log on the machine and I execute math -script algorithm.m and this message appears ...
2
votes
2answers
418 views

Mathematica 11 does not start up, WolframKernel gives seg fault in terminal

I have an install of Mathematica 11.2 that worked without problems until now, but now, after not using it for a few months, it does not start up (hanging on "Initialising kernels..."). I tried to ...
2
votes
1answer
72 views

Streams in parallel kernels. Writing in multiple files in ParallelDo loop in Mathematica

I need to write data in multiple files in ParallelDo loop: ...
5
votes
2answers
261 views

Simple desire to run two evaluations in two notebooks simultaneously

I have a simple requirement to run evaluations in two notebooks simultaneously. My 11.3 Home Edition, with two notebooks open, and nothing (that I know of, unless it's the ff statement) being ...
1
vote
1answer
80 views

Functions aren't executed

Can't figure out why Mathematica doesn't want to execute built-in functions? What can be wrong? Input: ...
8
votes
1answer
156 views

How to use a remote windows laptop for NetTrain?

I have a windows 10 laptop (with a gpu) at home and a macbook at my office, both with v11.3. What are steps to use the windows machine remotely for training? That is, I want to launch and run ...
4
votes
1answer
241 views

Mathematica 11.3 not responding (OS X El Capitan)

I first updated Mathematica from a previous version (11.0.1) to the newest (11.3) and any computation requiring the kernel would make the software freeze. To solve the problem I tried completely ...
0
votes
1answer
60 views

Define parameters local to a notebook section

Is there a way to split a Mathematica worksheet, so that I can define parameters that are valid only for a section of the worksheet, like "local parameters" of a Matlab or C++ function? I need a ...
0
votes
2answers
47 views

How to parallel the mechanism of SetDelayed as in ReplaceAll that makes substitution first, then possible further evaluation?

For SetDelayed, the kernel first makes the substitution literally, then does the further evaluation process if necessary. I always think of ...
1
vote
0answers
48 views

Access to a specific subkernel

Say I want to distribute a task in the following way on the available subkernels: ...
0
votes
0answers
64 views

Calculation time for a limit, is my calculation still calculating?

I am calculating the limit of an eighth order derivative with ~700 terms. The notebook has been in the 'running' phase for a few days now. If it says it is still running, does this necessarily mean ...
5
votes
4answers
3k views

High Fibonacci numbers [duplicate]

When I investigate Fibonacci's series fib[n_] := fib[n] = fib[n - 1] + fib[n - 2] fib[0] = fib[1] = 1; Block[{$RecursionLimit = 10^4}, fib[10^3]] I can evaluate ...