Hi, gfortran from gcc/11.3.0 tells me that the iteration variable of a loop parallelized with the !$omp do construct must not have the threadprivate attribute. Is this standard-conforming? Other compilers, e.g. CRAY, don't complain.
Thanks and best regards, M. Rheinhardt