Main Content

Task Control and Worker Communication

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


expand all

addAttachedFilesAttach files or folders to parallel pool
labindexIndex of this worker
numlabsTotal number of workers operating in parallel on current job
gcatGlobal concatenation
gopGlobal operation across all workers
gplusGlobal addition
labBarrierBlock execution until all workers reach this call
labBroadcastSend data to all workers or receive data sent to all workers
labProbeTest to see if messages are ready to be received from other worker
labReceiveReceive data from another worker
labSendSend data to another worker
labSendReceiveSimultaneously send data to and receive data from another worker
getCurrentJobJob object whose task is currently being evaluated
getCurrentClusterGet cluster object from a worker in a cluster
getCurrentTaskTask object currently being evaluated in this worker session
getCurrentWorkerWorker object currently running this session
getAttachedFilesFolderFolder into which AttachedFiles are written
updateAttachedFilesUpdate attached files or folders on parallel pool


expand all

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