Task Control and Worker Communication

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

Functions

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
ploadLoad file into parallel session
psaveSave data from communicating job session
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
getCurrentClusterCluster object that submitted current task
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

Classes

parallel.TaskAccess task properties and behaviors
parallel.WorkerAccess worker that ran task
Was this topic helpful?