Task Control and Worker Communication
Control task code execution and communication among
workers during job and spmd block execution
Functions
labindex |
Index of this worker |
numlabs |
Total number of workers operating in parallel on current
job |
gcat |
Global concatenation |
gop |
Global operation across all workers |
gplus |
Global addition |
pload |
Load file into parallel session |
psave |
Save data from communicating job session |
labBarrier |
Block execution until all workers reach this call |
labBroadcast |
Send data to all workers or receive data sent to all workers |
labProbe |
Test to see if messages are ready to be received from
other worker |
labReceive |
Receive data from another worker |
labSend |
Send data to another worker |
labSendReceive |
Simultaneously send data to and receive data from another
worker |