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
36 views

Execute wolfram command from java & j/link along with set of variables [closed]

I have been trying to execute some expression/formula which may have multiple variable, and I want to set values(like how we do on kernel command tool). We are using J/Link to connect kernel from java....
user avatar
  • 11
0 votes
0 answers
15 views

Remote kernel works in terminal but not in Notebook

I am using a Mac OS 12.2.1 computer that's trying to connect to a remote kernel in a Windows 10 computer. I am able to connect to that computer via ssh in terminal. Inside the terminal, I can launch a ...
user avatar
  • 1,941
0 votes
0 answers
64 views

Why does my function for LocalSubmit successfully create a TaskObject with no errors but ignores my simple Print task?

tldr: for lazy readers (don't blame you im sometimes that way too) or those who found my details below a little bit vague my question is: why is my Print not ...
user avatar
  • 1,787
0 votes
0 answers
58 views

FullSimplify crashes kernel

I'm trying to simplify an enormous analytic expression as much as possible. When I use Simplify, I get a half-decent result in about 20 seconds. However when I use <...
user avatar
4 votes
0 answers
54 views

Area mapped over list of 2 polygons crashes kernel depending on order

I have a list of 2 Polygon objects (see below for the list polys and a visualization). They are all seem valid. Still, when I ...
user avatar
6 votes
2 answers
89 views

Error message not reproduced at reevaluation, SetDelayed cache?

Mathematica v13.0: nr:=HoldForm@Evaluate@Function[t,x@t][] then evaluate ...
user avatar
8 votes
3 answers
644 views

How to clear up RAM without exiting kernel?

I am trying to implement the code which generates some table, works with it, extracts some numbers, add them to some other table, then clears the table (only the table and not the other elements of ...
user avatar
  • 3,544
0 votes
0 answers
39 views

2 installations of WolframEngine on 1 machine, 2 users

Here is the setup: 2 users on a Linux server. Each has their own WolframEngine License (free license). I want both users to be able to run WolframEngine without competing for licenses / kernels. I ...
user avatar
  • 1
3 votes
0 answers
76 views

How to allocate more physical memory to Mathematica?

My MacBook Pro (2019) has 32 GB of memory, but when I work with a large array reaching 1 GB of storage, the Mathematica Kernel only gets a little more of 1 GB, but gets allocated a lot of virtual ...
user avatar
  • 1,196
0 votes
0 answers
51 views

Best way to run multiple calculations simultaneously?

I feel this question probably has been asked before, but I can't find a thread with a clear enough answer. Let me know if you can help locate anything useful. As the title suggests, I want to run ...
user avatar
  • 4,006
1 vote
0 answers
39 views

How module checks if syntax is correct?

I would like to understand the following module subtlety. Consider two seemingly equivalent instances Module[{temp}, Sequence[x, x]] (Module::argrx: Module called ...
user avatar
  • 2,847
0 votes
1 answer
72 views

How to count Kernel evaluations then call a function on every nth evaluation

On every nth (2) evaluation autoEval should invoke a function check[]. The thing which is supposed to listen for all ...
user avatar
  • 1,787
1 vote
2 answers
134 views

Mathematica: How can I solve the problem "The Kernel Local has quit (exited) during the course of an evaluation"

I am using a Mac Book with Monterey and 16GB RAM for a calculation with 2 nested For loops. I am relatively new to Mathematika and still trying to learn the language properly, so I hope the problem is ...
user avatar
0 votes
0 answers
44 views

Launch remote kernels on the cluster node

I run the Mathematica front end with Xterm on main machine of Unix cluster. It can start parallel kernels locally ...
user avatar
1 vote
0 answers
112 views

Mathematica 12.3 won't launch. Freezes on 'opening welcome screen' and turns off [closed]

Mathematica 12.3 won't launch. Freezes on 'opening welcome screen' and turns off. Mathematica Kernel works properly. Specifications: Version: 12.3.1 for Microsoft Windows (64-bit) (June 24, 2021) ...
user avatar
  • 11
0 votes
0 answers
44 views

How can we tell if an evaluation has corrupted or is still on-going properly?

I was trying to evaluate a NDSolveValue function of mathematica, but it is taking excessively long time (~30 min) now. I am not sure if I shall leave it alone or quit the kernel. Is there a general ...
user avatar
  • 43
0 votes
0 answers
44 views

Is it possible to run kernel in address space of another process?

Kernel executables seem to be relatively small wrappers around "dynamic link library" that contains all the functionality of the kernel. Is it possible to load the kernel (as a dynamic link ...
user avatar
0 votes
0 answers
66 views

how to run multiple notebook at the same time using multiple kernels

My problem is that the second notebook file opens but waits for the first notebook to be evaluated. I want to execute both file1.nb and file2.nb at the same time. Here is my code. any idea? ...
user avatar
4 votes
1 answer
78 views

How to add new coordinate chart?

I want to add my own coordinate system to existing CoordinateChartData[All], which would mimic the standard functionality as much as possible. As a simple work ...
user avatar
  • 2,847
0 votes
0 answers
50 views

Using generalized hypergeometrics in RegionPlot hangs the Kernel

This simple code, is just an example, hangs the kernel: RegionPlot[ x + y + HypergeometricPFQ[{1, 2.5, 3.1}, {4.65, 3.28}, 0.2] > 0, {x, -1, 2}, {y, -2, 3}] ...
user avatar
5 votes
0 answers
191 views

How to allow one process to take advantage of all available cores while other processes run in parallel?

I have to run multiple tasks simultaneously: Data download from stock exchange during live market session and append it to a global variable. Process the data by taking the data from the front of the ...
user avatar
  • 91
4 votes
0 answers
59 views

On auto-limiting memory and other resource usage

I play fast and loose with my evaluations, so try to calculate something much too large at least once a day. Life has gotten a lot easier ever since I started setting: ...
user avatar
  • 611
0 votes
1 answer
102 views

With Intel Xeon(R) E5-2667 v4 and 250GB RAM: still automatically quitting kernel when doing symbolic integrations

[![Here is the configuration for my calculation. Guess it can't be affected by this.][1]][1] I was in trouble when solving the algebraic equations for q1 and q2. \begin{equation}\label{eq:18} \begin{...
user avatar
  • 1
2 votes
1 answer
82 views

AceFEM: MIEL example aborts for many load steps

I am currently using AceFEM version 7.303 and Mathematica 12.2 but had the same problem with other versions before. My laptop as well as the server I use work with Linux. When I run the example "...
user avatar
1 vote
1 answer
58 views

Quit Mathematica script (no matter what)

I have a complicated script (not just written by me) that gets called using MathKernel -script script.m. Among others script.m ...
user avatar
  • 3,553
1 vote
1 answer
71 views

Re-evaluating the notebook takes long time after doing `Quit`

I have a code. After Quit, I want to re-evaluate the notebook. It takes about 10 seconds to start the re-evaluation in Windows 10. But my friend uses Macbook. It ...
user avatar
  • 483
0 votes
0 answers
37 views

Notebook Evaluate crashes after several evaluations

I created master and slave notebook where master notebook evaluates slave notebook as follows: ...
user avatar
  • 1
2 votes
1 answer
79 views

CurrentScreenVideo function

Does anybody know if Wolfram is looking into creating a function that can record you screen video. Preferably regions AND active windows and such so I don't have to buy additional software to do that. ...
user avatar
  • 3,600
1 vote
1 answer
87 views

Mathematica Kernel Aborting With ComplexPlot

I am trying to run the following line: ...
user avatar
  • 571
2 votes
1 answer
363 views

What does this error communication mean?

Few days ago, executing the command ...
user avatar
  • 16.8k
1 vote
1 answer
109 views

WSTP connection does not connect on windows

I am new in mathematica programming. Actually referring this link, I tried to connect to kernel from c++ program on Windows with visual studio. I copied all these .exe files in related folder which i ...
user avatar
  • 351
3 votes
0 answers
101 views

Mathematica Kernels and CPU cores

I want to use an 8 kernel Mathematica 12.2 version. Does a core i7 CPU with 4 cores and 4 threads fully utilize the benefit of the 8 kernels or an 8-core CPU is needed?
user avatar
  • 31
0 votes
0 answers
40 views

Kernel crashes on invoking Python prompt

Apologies if this is a naive question. A typing error keeps crashing the kernel. My typing error is to start a line with ">", unintentionally invoking Python. The problem is that this ...
user avatar
  • 339
1 vote
0 answers
71 views

Kernel failing to connect to the frontend

I've been using Sakra's tunnel https://github.com/sakra to try to connect my mathematica in Linux to the server of my university. The problem being that even though the SSH connection works well in ...
user avatar
2 votes
0 answers
34 views

Why kernel quits when trying to FullSimplify Piecewise with default Nothing value?

I found that kernel of In[1]=$Version (*"12.1.1 for Linux x86 (64-bit) (June 19, 2020)"*) quits when trying to FullSimplify a simple piecewise ...
user avatar
  • 2,847
1 vote
1 answer
44 views

How to collect results from compiled function in ParallelEvaluate?

I am using Mathematica 12.x and have a compiled function, returning many things. I would like to run several instances of this compiled function, one for each core of my CPU, and then collect all of ...
user avatar
2 votes
1 answer
124 views

Kernel crashes trying to execute NDSolve

I am trying to solve an energy functional equation using Mathematica's NDSolve function, but the kernel is temperamental. It almost always crashes after a second of ...
user avatar
  • 413
3 votes
1 answer
565 views

Running Mathematica on a Remote Machine (using frontend and ssh)

I've been trying to run my Mathematica code on a remote machine. I'm using Windows and the remote machine is a Linux machine. I write a notebook on my local machine, convert it to a .m file, and use ...
user avatar
1 vote
0 answers
37 views

Standalone Kernel No input available

I have encountered the same problem as the thread attached. Mathematica stuck in "running" for every calculation I attempt, kernel error However, when I try to launch a standalone kernel ...
user avatar
  • 11
0 votes
0 answers
46 views

If the Mathematica is running the code in one kernel, how can I run another code in other kernel? [duplicate]

If one kernel (with KernelID 1) is running the code which will take a long time, how can I run another code in other kernels (KernelID 2) in the process?
user avatar
  • 469
1 vote
0 answers
59 views

No output after memory constrained short computation using 'Solve'

I am trying to solve a system of nonlinear equations symbolically using Solve. The input runs for only ~30 seconds, then my syntax highlighting goes black, and there is no output: Does this mean my ...
user avatar
1 vote
0 answers
80 views

What does it mean when $MaxLicenseProcesses returns Infinity?

I am learning how to use Mathematica on a cluster, and a lot of this stuff is still way over my head. Please let me know if I am missing any crucial details. The cluster uses Linux and uses Lmod to ...
user avatar
0 votes
0 answers
189 views

Mathematica stops working with no warning/error

I have some long computations on my Mathematica notebook. For some reason they stop and Mathematica gives me no reason as to why. No warning. No erros. If run the "Initialization Lines" (...
user avatar
3 votes
2 answers
179 views

What is the cheapest method to get cloud computing, remote kernels, HPC access, connection to clusters or GPUs?

I want to be able to run parallelisable tasks quicker and on better hardware. Are there any services that can easily do this with my personal copy of Mathematica?
user avatar
  • 309
9 votes
1 answer
245 views

Kernel starts up very slowly on Linux

V 12.1.1, starting a kernel, e.g. by entering wolframscript in the shell, takes an unexpectedly long time (~5 min, the time elapsed between pressing Enter and the ...
user avatar
8 votes
2 answers
326 views

Choose the number of kernels used by ParallelTable

By default, on my system, ParallelTable uses 4 kernels. Is it possible to change the number of kernels used, for example using only 3 instead of 4?
user avatar
  • 6,114
0 votes
0 answers
354 views

Create keyboard shortcut to quit the kernel

I would like to reset all my user-defined symbols using a keyboard shortcut. I believe the mouse-activated command is Evaluation->Quit Kernel. How can I do this without having to use the mouse?
user avatar
4 votes
0 answers
113 views

Using ASCII plots in Terminal in version 12.1

This question was asked before for version 12 but unfortunately the provided patch doesn't work anymore for version 12.1. Using Terminal` (ASCII plots) in Wolfram 12 I was trying to use the Terminal` ...
user avatar
  • 716
2 votes
0 answers
122 views

Aborting any computation that takes too long

One of the biggest annoyances in Mathematica is that it will often hang up without any way to abort (i.e. Alt + . or other methods can't stop the computation). Is ...
user avatar
  • 3,553
0 votes
0 answers
49 views

Does Remove["Global`*"] on one kernel clear definitions and functions on another kernel?

While I was running a quite long evaluation on one kernel(kernel 1), I executed Remove["Global`*"]; on the other kernel(kernel 2). How will this affect my current evaluation on kernel 1? Will it ...
user avatar
  • 373

1
2 3 4 5
7