Dear all,
I am aware that this issue has been raised before however the resolutions posted in those specific threads have not aided in my case.
I am getting the following openmp error for a parallel for loop directive.
domain.cpp(902): error: invalid entity for this variable list in omp clause
The offending code can be seen below:
#pragma omp parallel for schedule(static) private(ib) shared(nblk,sq,saux,srhs,slhs,fld)
for( ib=0;ib<nblk;ib++ )
{
blks[ib]->iflx( nq, sq, saux, srhs, slhs, fld);
}
blks is an array holding BLOCK objects within a block-structured grid whilst nq, sq, saux, srhs, slhs are arrays declared as data members for a Domain class. I have updated to the latest icpc compiler with no avail (icpc (ICC) 15.0.0 20140723)
Does anyone have the faintest of idea what the problem might be?
Thank you in advance for your time and consideration.