# Questions tagged [parallelization]

Questions on parallel computing in Mathematica.

927 questions
Filter by
Sorted by
Tagged with
173 views

### Speed up the evaluation of For loop

I am writing a script to simulate the spins. I have used "For" loop, but the execution takes long time as I have a lot of dataset. Has there any way to make it faster ? Here is the code: <...
1 vote
121 views

65 views

### What is the optimal way to get selected elements from a matrix?

I have a 2x2 matrix "M", and a list "ind" containing pairs of indices. M = {{a, b, c}, {d, f, g}, {h, i, j}}; ind = {{1, 2}, {1, 1}, {3, 1}}; I ...
36 views

### Parallel Kernel inheritance problem for Protect

for the following program: Unprotect[Power]; Power[0, 0] = 1; Protect[Power]; ParallelTable[0^0, {4}] I have the following result: (kernel 1) Power::indet : ...
1 vote
55 views

### Variable replacement not working in ParallelTable

The following code produces different results using Table and ParallelTable. K and ...
43 views

### How to plot a function efficiently without having to recalculate

I have to make a lot of graphs for two different functions Nzzp (which can be computed quickly without problem) and NzzG which requires three numerical integrations in a row so I'm using paralleltable ...
73 views

### Why it is not possible to Append list in ParallelDo?

I'm trying to run long calculations, so I need to run it in parallel. I'm running two nested Do, and it works fine until I put ...
38 views

### function with parallel iterations

coprimesParallelIter[n_] := DistributeDefinitions[GCD]; ClearAll; ParallelTable[If[GCD[i, n] == 1, i, Nothing], {i, 1, n - 1}] // Flatten // DeleteCases[Nothing] ...
1 vote