Scale Up Parallel Code to Large Clusters
You can scale up your parallel code to several thousand workers using different approaches. Parallel Computing Toolbox™ supports up to 2000 workers in a single parallel pool. However, when your computational tasks demand more than the supported number of workers, you can use alternative approaches to scale your code beyond parallel pool limits.
When to Use | Recommended Approach | Description |
---|---|---|
You want to use an interactive pool to scale up code
containing | Use |
|
You want to offload and run code containing
You want to use a parallel pool on a cluster. | Run your code containing |
|
| Run |
|
Modify your |
|
See Also
parpool
| parfeval
| parfor
| batch