Operating System - HP-UX
1833873 Members
3197 Online
110063 Solutions
New Discussion

Trip count expression in OpenMP

 
Praveen urs M.K
Occasional Contributor

Trip count expression in OpenMP

HI,

I AM using hP C compiler ver B.11.11.02 on HP-UX 11.0, when I try to run a program whic contains openmp pragmas , the following error is poping up,

cc: line 147: cpmloc(): warning 8000: "OMP FOR", line 147: warning unable to compute trip-count expression for loop, directive ignored: (8000)

and the for loop is like this,

nblk = a[10];

#pragma omp parallel for private(ib)
{
for (ib = 1 ; ib <= nblk; ++ ib)
{
----------------
----------------
} /* end of for */

} /* end of pragma */


Please reply to me at the earliest...

thanks in advance,
Praveen
1 REPLY 1

Re: Trip count expression in OpenMP

Hello,

This is a compiler problem. Please file a defect report against the HP C Compiler.

Regards,
Lal
With God, all things are possible