Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
A version of ParallelMap with incremental progress display
ResourceFunction["ParallelMapProgress"][f,expr] evaluates ParallelMap[f,expr] and displays incremental progress information, including an estimated time to completion. |
DistributedContexts | $DistributedContexts | specifies which symbols appearing in expr have their definitions automatically distributed to all available kernels before the computation |
Method | "FinestGrained" | specifies the parallelization method to use |
Find Mersenne primes:
In[1]:= | ![]() |
Perform a series of calculations with large integers:
In[2]:= | ![]() |
The stop button will gracefully terminate the computation without aborting the kernels:
In[3]:= | ![]() |
For immediate termination, abort the computation:
In[4]:= | ![]() |
Out[4]= | ![]() |
By default, definitions in the current context are distributed automatically:
In[5]:= | ![]() |
In[6]:= | ![]() |
Out[6]= | ![]() |
Do not distribute any definitions of functions. In this case, the definition of local is applied only after the results are returned to the local kernel:
In[7]:= | ![]() |
In[8]:= | ![]() |
Out[8]= | ![]() |
If the larger computations are near the end of the input list, timing estimates will be inaccurate:
In[9]:= | ![]() |
Out[9]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License