Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
46 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
27 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
26 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
34 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
50 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
44 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
39 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
111 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
35 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
75 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
59 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
49 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
29 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 ...
2
votes
1answer
75 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
70 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
64 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
243 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
96 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
75 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
83 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
43 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
169 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
115 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
142 views

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

I am trying to use a the following code: ...
5
votes
1answer
115 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
112 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 ...
1
vote
2answers
453 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
159 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
54 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
337 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
60 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: ...
4
votes
2answers
189 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
78 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
149 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
219 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
52 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
43 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
41 views

Access to a specific subkernel

Say I want to distribute a task in the following way on the available subkernels: ...
0
votes
0answers
49 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 ...
2
votes
0answers
77 views

Export cdf does not work in MathKernel command line

I am using Mathematica through command line MathKernel. I am not trying to draw any graphics in the console. But I should be able to export things a CDF. Why can't ...
1
vote
1answer
96 views

Backing up and restoring all Mathematica notebook variables using 'Put' '>>' and 'Get' `<<`

As discussed here and here, the state of a notebook can be backed up by saving all variables using: DumpSave["backup.mx", "Global`"]; These variables can be ...
3
votes
1answer
56 views

Sharing kernel between interactive command line and notebook?

What I miss at times in Mathematica is an interactive prompt where I can type to see, e.g., the value of a variable, without having to go through the hassle of cleaning the notebook from cluttering ...
1
vote
0answers
82 views

keep Mathematica session alive on ssh

I have to access to a server via ssh and open a graphical session, using XQuartz, for using Mathematica. Is it possible to let Mathematica run even when I disconnect to the server? I could add ...
4
votes
1answer
454 views

Mathematica remote kernel on ubuntu

I want to evaluate an expression on a server where it has a kernel. I totally searched on the internet but still I am not able to connect to the remote kernel. I am looking for a clear and a direct ...
1
vote
0answers
101 views

Kernel compilation failed

I'm trying the cuda in mathematica 11.1. The cuda functions seems to work fine. The CUDAFluidDynamics[], runs the example simulation, although I am not certain if it runs on the device or the host. ...
3
votes
0answers
198 views

Parallel kernel status is idle though program is running [closed]

The Mathematica window says that the program is running. However, the parallel kernel status says that the kernel is idle. What does this mean?
3
votes
0answers
118 views

Mathematica Kernels in a remote machine via port forwarding and no public password

I would like to launching Mathematica kernels on a remote machine. Port forwarding is required to connect to this machine. I usually need to connect to a machine via ssh port forwarding and then in ...