I get that warning as well, and you can ignore it. The compiler is stating that the parallel construct within a target region is limited to a single thread, which is true. However, the simd construct is what allows for the parallelism across threads within a target region. $!omp teams distribute parallelizes across workgroups. For Fortran, simd parallelizes across …