I have a doubt about the default data-sharing attribute of the J variable in the next code:
- Code: Select all
!$OMP PARALLEL DO
Is the J variable private by default (because it is a loop iteration variable of a Fortran program), or is it shared (because the J loop is external to the parallel region)?
Thanks in advance,