Access parallel pool
A parallel.Pool object provides access to a parallel pool running on a cluster.
A parallel pool object has the following methods.
addAttachedFiles | Attach files or folders to parallel pool |
delete (Pool) | Shut down parallel pool |
listAutoAttachedFiles | List of files automatically attached to job, task, or parallel pool |
parfeval | Execute function asynchronously on parallel pool worker |
parfevalOnAll | Execute function asynchronously on all workers in parallel pool |
ticBytes | Start counting bytes transferred within parallel pool |
tocBytes | Read how many bytes have been transferred since calling ticBytes |
updateAttachedFiles | Update attached files or folders on parallel pool |
A parallel pool object has the following properties.
Property | Description |
---|---|
AttachedFiles | Files and folders that are sent to workers |
Cluster | Cluster on which the parallel pool is running |
Connected | False if the parallel pool has shut down |
FevalQueue | Queue of FevalFutures to run on the parallel pool |
IdleTimeout | Time duration in minutes before idle parallel pool will shut down |
NumWorkers | Number of workers comprising the parallel pool |
SpmdEnabled | Indication if pool can run SPMD code |
To get further help on parallel.Pool objects, including a list of links to help for specific properties, type:
help parallel.Pool