I tried to compile a DO loop with construction name in an OpenMP DO COLLAPSE environment, see code:
... !$OMP DO COLLAPSE(2) FIRSTPRIVATE(J) & !$OMP PRIVATE(K,I,IC,ILXU,ILYU,ILZU,RU,RD,RP,VC,AXU,AXD,AYU,AYD,AZ,IW,RAP) CKLOOP: DO K=KSTART,KEND,KSTEP CILOOP: DO I=ISTART,IEND,ISTEP
PGI Compiler PFG9.01 is not able to compile this loop, I got an error:
PGF90-F-0155-DO loop expected after COLLAPSE
Based on the Fortran Standard the code is correct, other compilers have no problem with this kind of loop.
Are there any compiler flags to ignore this “error”?