> Don't do this, compute loop count during omp expansion (there is already > code that does that for you, after all, for #pragma omp for the loop count is > typically (unless static schedule) passed as parameter to the runtime as well.
Where does this happen? Is there a routine that you can point me to that will compute the loop-count? Thanks, Balaji V. Iyer.