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
0 answers
99 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 ...
Hao Wu's user avatar
  • 111
6 votes
0 answers
131 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 ...
gwr's user avatar
  • 13k
1 vote
0 answers
69 views

Number of processes in text (batch) mode

I have tex mode access to server with Mathematica the math sesion parameters are: ...
Olaf's user avatar
  • 41
1 vote
0 answers
176 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? ...
Edmund's user avatar
  • 41.7k
0 votes
0 answers
53 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 ...
Stalpotaten's user avatar
0 votes
0 answers
108 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 ...
John Champion's user avatar
3 votes
1 answer
259 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 ...
Mirko Aveta's user avatar
  • 2,150
1 vote
0 answers
190 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 ...
Klangen's user avatar
  • 967
1 vote
0 answers
270 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 ...
mattiav27's user avatar
  • 6,557
8 votes
1 answer
288 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 ...
M.R.'s user avatar
  • 31.2k
1 vote
2 answers
218 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 ...
Paul B. Slater's user avatar
0 votes
0 answers
213 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 ...
Trock's user avatar
  • 53
3 votes
1 answer
439 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 ...
Hallow_Juan's user avatar
2 votes
0 answers
158 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 ...
Shredderroy's user avatar
  • 5,117
11 votes
2 answers
267 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) ...
M.R.'s user avatar
  • 31.2k
0 votes
1 answer
222 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 ...
Tugrul Temel's user avatar
  • 5,470
5 votes
0 answers
1k views

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

I am trying to use a the following code: ...
mattiav27's user avatar
  • 6,557
5 votes
1 answer
220 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 ...
mattiav27's user avatar
  • 6,557
7 votes
0 answers
485 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 ...
Nima's user avatar
  • 71
2 votes
2 answers
1k 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 ...
KratosMath's user avatar
  • 1,243
1 vote
0 answers
929 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 ...
MvP's user avatar
  • 265
4 votes
0 answers
106 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 ...
Luthien's user avatar
  • 185
2 votes
2 answers
1k 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 ...
fifaltra's user avatar
  • 339
2 votes
1 answer
185 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: ...
Karamveer Kaur's user avatar
8 votes
2 answers
1k 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 ...
M. Robinson's user avatar
1 vote
1 answer
129 views

Functions aren't executed

Can't figure out why Mathematica doesn't want to execute built-in functions? What can be wrong? Input: ...
Hasek's user avatar
  • 187
8 votes
1 answer
176 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 ...
user5601's user avatar
  • 3,581
4 votes
1 answer
292 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 ...
Mammouth's user avatar
  • 481
1 vote
1 answer
130 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 ...
user1611107's user avatar
0 votes
2 answers
80 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 ...
Eric's user avatar
  • 1,181
1 vote
0 answers
85 views

Access to a specific subkernel

Say I want to distribute a task in the following way on the available subkernels: ...
pawel_winzig's user avatar
  • 1,567
0 votes
0 answers
152 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 ...
ming.vase's user avatar
5 votes
4 answers
4k 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 ...
NeverMind's user avatar
  • 1,201
2 votes
0 answers
149 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 ...
Neel Basu's user avatar
  • 961
3 votes
1 answer
202 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 ...
Miladiouss's user avatar
  • 1,853
3 votes
1 answer
82 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 ...
Three Diag's user avatar
1 vote
0 answers
146 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 ...
Galuoises's user avatar
  • 523
4 votes
1 answer
1k 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 ...
heaven-of-intensity's user avatar
1 vote
0 answers
146 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. ...
Gluoncito's user avatar
  • 517
3 votes
0 answers
418 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?
Fibonacci's user avatar
  • 329
5 votes
0 answers
188 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 ...
Galuoises's user avatar
  • 523
14 votes
1 answer
290 views

Clean package update for API/FormFunctions on Wolfram Cloud

Cross posted on community.wolfram.com (new comments) TLDR There is a pool of kernels/sessions available for each user, you don't have control over the pool only over specific kernel you currently ...
Kuba's user avatar
  • 136k
3 votes
1 answer
261 views

Autoload a package

I want to aoutoload a package at the beginning of a notebook. I set up my directory as written here How to use the Autoload directory? So, I have these files: ../Work/MyFile.nb ../Work/Autoload/...
Ale1794's user avatar
  • 525
6 votes
2 answers
433 views

How can I terminate a MathKernel that is running an external program after a timeout?

I'm using ParrallelDo to parallel run another program (windows executable) in 8 subkernels. Sometimes a SubKernel freezes. What I see in the task-manager is that ...
Kab's user avatar
  • 165
3 votes
0 answers
126 views

How can I programmatically set a notebook's kernel? [duplicate]

Is there a way to to change the notebook's kernel without using the menu?
user5601's user avatar
  • 3,581
9 votes
1 answer
619 views

Package loading in init.m

I'm loading a package at startup in "~/Library/Mathematica/Kernel.init", which looks like this: ...
M.R.'s user avatar
  • 31.2k
3 votes
0 answers
155 views

Launching Mathematica 11 kernel through double SSH

I'm trying to connect to a server in my university to do some computations. The problem is that I first need to login to one server through SSH and then from this one go to the "computation" server (I ...
Caims's user avatar
  • 432
8 votes
1 answer
167 views

RegionMeasure on packed array crashes Kernel in version 11.1

Bug introduced in 11.1.0 and fixed in 11.1.1 In version 11.1.0, applying RegionMeasure or Area to a region with packed ...
Alexey Popkov's user avatar
1 vote
1 answer
177 views

Measuring memory use

Here is some simple code: Quit[] B[d_] := Sum[Sqrt[1 + k^2] // N[#, d] &, {k, 0, 2 d}] LaunchKernels[]; k = $KernelCount outputting 6 for k. Next, I have ...
Iosif Pinelis's user avatar
-1 votes
1 answer
318 views

Using different master kernel in the same notebook

In my notebook, I have to call another file, let's say 'program.m' that defines functions, let's say F[] of whom result c I need ...
Giancarlo's user avatar
  • 712

1 2
3
4 5
7