ClusterPool
Description
Use parpool
to create a parallel pool of workers on a cluster
of machines. After you create the pool, parallel pool features, such as
parfor
or parfeval
, run on the workers. With the
ClusterPool
object, you can interact with the parallel
pool.
Creation
Create a parallel pool on a cluster of machines by using the parpool
function.
pool = parpool("myCluster")
myCluster
is the name of a cluster profile for a cluster of
machines.Properties
Object Functions
addAttachedFiles | Attach files or folders to parallel pool |
delete | Shut down parallel pool |
listAutoAttachedFiles | List of files automatically attached to job, task, or parallel pool |
parfeval | Run function on parallel pool worker |
parfevalOnAll | Run 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 |