Questions tagged [parallelization]
Questions on parallel computing in Mathematica.
973 questions
2 votes
0 answers
52 views
How can I reduce RAM usage when using ParallelMap with large data?
I’m using ParallelMap on a very large dataset (millions of elements), but it quickly consumes all available RAM. For example: ...
2 votes
0 answers
88 views
Is there any way to parallelize MapThread@AssociationThread?
Consider this code: ...
2 votes
1 answer
101 views
Do functions from a .m file loaded with Get automatically become available on all parallel kernels?
For a package, we use ParallelNeeds to make its functions available on all kernels for ParallelMap. For a ...
1 vote
0 answers
96 views
Timeout for subkernels using SLURM
I had previously been using a cluster with SLURM to run parallel computations with ParallelTable. However, it has randomly stopped working and I now receive the error: ...
0 votes
0 answers
66 views
Modify list defined globally in module when using ParallelMap
I have the following problem: In order to use ParallelMap to apply a certain procedure/test to a list Range[0, nval - 1], I ...
4 votes
1 answer
166 views
ForeignFunctionLoad and parallel evaluation
Context and Goal: I have a program (written in Fortran, I think we can set it up to use the ForeignFunctionLoad C types) that I would like to run in parallel. The ...
2 votes
0 answers
74 views
Why do plots exported from inside ParallelDo[] have red error overlay but no error?
I am processing some data and exporting the results as plots. It runs faster if I use a ParallelDo loop but then most of the plots get a red error overlay when exported. The plots do not get the ...
6 votes
3 answers
435 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 ...