Questions tagged [parallelization]
Questions on parallel computing in Mathematica.
968 questions
1vote
0answers
39views
RegionPlot, parallel evaluations, and interpolations
Consider the following serial and parallelized computation of some regions: ...
5votes
3answers
348views
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 ...
0votes
0answers
55views
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 ...
0votes
0answers
42views
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 ...
13votes
1answer
697views
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 ...
1vote
1answer
87views
ParallelMap only parallelize on first level
I have a 8 cores CPU. The ParallelMap work well in first level. ...
6votes
1answer
210views
Precison of InterpolatingFunction decreases to MachinePrecision in ParallelTable
Bug introduced after 8.0.4, persisting through 14.1. Here is the code: ...
0votes
0answers
27views
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 ...
0votes
0answers
45views
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 ...
9votes
1answer
253views
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 ...
1vote
0answers
114views
ParallelMap vs ParallelTable: issues and performance for Mathematica 13.2 vs 14.1
Consider the following test code: ...
1vote
1answer
85views
Parallel loop wrecks integration
I am doing a quadruple nested integral and noticed that it produces inconsistent results when in a parallel computing environment. ...
1vote
1answer
71views
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 ...
0votes
1answer
70views
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 ...
1vote
0answers
94views
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 ...