User`s guide
4 Interactive Parallel Computation with pmode
4-4
4
A variable does not necessarily have the same value on every worker. The labindex
function returns the ID particular to each worker working on this communicating
job. In this example, the variable x exists with a different value in the workspace of
each worker.
P>> x = labindex
5
Return the total number of workers working on the current communicating job with
the numlabs function.
P>> all = numlabs
6
Create a replicated array on all the workers.
P>> segment = [1 2; 3 4; 5 6]