Skip to main content

Questions tagged [parallelization]

Questions on parallel computing in Mathematica.

1 vote
0 answers
37 views

RegionPlot, parallel evaluations, and interpolations

Consider the following serial and parallelized computation of some regions: ...
John Taylor's user avatar
  • 5,881
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 ...
Philipp Strasberg's user avatar
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 ...
paperclip optimizer's user avatar
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 ...
220284's user avatar
  • 371
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 ...
MMA13's user avatar
  • 5,353
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. ...
zzy's user avatar
  • 359
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: ...
Ren Witcher's user avatar
  • 1,153
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 ...
josh's user avatar
  • 2,733
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 ...
Paul R's user avatar
  • 469
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 ...
Kvothe's user avatar
  • 4,881
1 vote
0 answers
111 views

ParallelMap vs ParallelTable: issues and performance for Mathematica 13.2 vs 14.1

Consider the following test code: ...
John Taylor's user avatar
  • 5,881
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. ...
Luca's user avatar
  • 426
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 ...
Matteo's user avatar
  • 305
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 ...
Tanmoy Pati's user avatar
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 ...
BabaYaga's user avatar
  • 1,907

15 30 50 per page
1
2 3 4 5
65