Questions tagged [parallelization]
Questions on parallel computing in Mathematica.
968 questions
1
vote
0
answers
37
views
RegionPlot, parallel evaluations, and interpolations
Consider the following serial and parallelized computation of some regions:
...
5
votes
3
answers
341
views
Speeding up multiplication of matrix arrays by parallelization?
EDITED QUESTION:
I edit my question to be as clear as possible, as I find the problem quite confusing and severe, and the previous answers unfortunately not helpful.
I define two arrays of matrices ...
0
votes
0
answers
54
views
How can I parallelize the function evaluation in ComplexPlot?
I'm trying to visualize a function that's relatively expensive to compute with ComplexPlot.
This strikes me as an "embarrassingly parallel" task, the kind that is so trivial to parallelize ...
0
votes
0
answers
42
views
Random crashes when running WolframScript
I use wolframscript to generate sequences of images for visualization of mathematical phenomena. Unfortunately these scripts crash randomly (i.e. sometimes they work and sometimes they don't, without ...
13
votes
1
answer
697
views
ParallelTable is about 100 slower on MMA14.2 compared to MMA14.1?
MMA14.2 on win10, 64
ParallelTable[
Sin[ x y], {x, 2, 2, 0.001}, {y, -2, 2, 0.001}]; // AbsoluteTiming
{1.56029, Null}
MMA14.1
...
1
vote
1
answer
87
views
ParallelMap only parallelize on first level
I have a 8 cores CPU.
The ParallelMap work well in first level.
...
6
votes
1
answer
210
views
Precison of InterpolatingFunction decreases to MachinePrecision in ParallelTable
Bug introduced after 8.0.4, persisting through 14.1.
Here is the code:
...
0
votes
0
answers
27
views
Dynamic user-context variable in RadioButtonBar not getting updated in parallel kernels like system variables
When I define a Dynamic user-defined context variable in a RadioButtonBar such as myContext`var2 and distribute it to the parallel kernels the kernels are not recognizing the updated value as the ...
0
votes
0
answers
45
views
Kernels, Subkernels and Sockets
I have the following Mathematica plan: 2 activation keys (2 licences/kernels I guess) and 4 subkernels on each kernel.
I'm trying to understand how it works with sockets.
On the same machine I've ...
9
votes
1
answer
253
views
Simple way to evaluate a cell in a separate kernel
I want to be able to evaluate a cell that takes a long time to evaluate while being able to evaluate other cells. I have looked at ParallelSubmit and ParallelEvaluate but neither seems to allow me to ...
1
vote
0
answers
111
views
ParallelMap vs ParallelTable: issues and performance for Mathematica 13.2 vs 14.1
Consider the following test code:
...
1
vote
1
answer
84
views
Parallel loop wrecks integration
I am doing a quadruple nested integral and noticed that it produces inconsistent results when in a parallel computing environment.
...
1
vote
1
answer
71
views
Strange behavior of numerical derivative inside a ParallelTable
I have observed something strange happening with the function ND[] from the package NumericalCalculus.
In particular, if I define a function G that returns the numerical derivative of a compiled ...
0
votes
1
answer
70
views
Splitting a large expression for parallel evaluation
I have a huge expression which I need to expand around $x\to0$. In sequential evaluation, it takes huge time. So, I was thinking to partition it into the number of kernels and evaluate paralleled and ...
1
vote
0
answers
94
views
Import and assign/manipulate the content of a huge number of files efficiently
I have a folder containing eg. around 40K txt files with randomly assigned names.
I am trying to import the content of these files as List/Table and process them ...