Parallelize a for loop -difficult!!!

I got the following error when I tried to parallize the loop

177, Intensity = 17.00
Loop not vectorized/parallelized: not countable

and the loop is

for(JZb=JZTRG;JZb!=JZBND;JZb=JZb+ISGN)

I am unsure as to what can be done if anything to parallelize this loop. Notice the stopping point is

;JZb!=JZBND

and ISGN is equal to one, but it can be equal to other numbers in other runs. It does not have to be equal to one.

Any help appreciated. Thanks in advance.


THX 1138

and ISGN is equal to one, but it can be equal to other numbers in other runs. It does not have to be equal to one.

ISGN needs to be constant otherwise the trip count can change.

  • Mat