9 int Np, Iam, msgid, Np_1, dir;
16 if (npaths ==
FULLCON) npaths = Np_1;
32 if (npaths > Np_1) npaths = Np_1;
33 pathlen = Np_1 / npaths;
38 lastlong = (Np_1 % npaths) * (pathlen+1);
39 for (dist=1; dist < lastlong; dist += pathlen+1)
40 send(ctxt, (pdest+dir*dist)%Np, msgid, bp);
47 send(ctxt, (pdest+dir*dist)%Np, msgid, bp);