Main Content

Task Control and Worker Communication

Control task code execution and communication among workers during job and spmd block execution

Functions

expand all

addAttachedFilesAttach files or folders to parallel pool
labindexIndex of the current worker in an spmd block
numlabsNumber of workers running current spmd block
gcatConcatenate arrays on spmd workers
gopReduce arrays on spmd workers
gplusAdd arrays from workers in an spmd block
labBarrierSynchronize workers in an spmd block
labBroadcastSend data to all workers in an spmd block
labProbeDetermine if data is available for the current worker in an spmd to receive
labReceiveReceive data from another worker in an spmd block
labSendSend data to another worker in an spmd block
labSendReceiveSimultaneously send and receive data on a worker in an spmd block
getCurrentJobGet job object from a worker running a job
getCurrentClusterGet cluster object from a worker in a cluster
getCurrentTaskTask object currently being evaluated in this worker session
getCurrentWorkerGet worker object from current worker
getAttachedFilesFolderIdentify folder on a worker where attached files are copied to
updateAttachedFilesUpdate attached files or folders on parallel pool

Classes

expand all

parallel.TaskAccess task properties and behaviors
parallel.WorkerAccess worker that ran task