! Loop which you want to parallelize
DO I = 1, N
call complex_subroutine(..., i, ...)
when the parallel openMP specification is in the calling calling program around a DO loop. It is possible to collect these variables and put them in some form of COMMON if that would help. I am able to parallelize the process successfully if I use OMP SECTIONS and clone the routines but that is clumsy/bulky and limits the degree of parallelization that I could achieve.
1 Are variables like SQ private to a given thread in routines at the AMF level?
2 Is there any potential problem with the local variable SQ in AMF...?
2... I assume that I need to move EFPOR out of COMMON?
Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 5 guests