Quantcast
Channel: Fortran
Viewing all articles
Browse latest Browse all 3108

Cross-thread Stack Access

$
0
0

Hi All,

I'm running an OpenMP application (minimal example) :
  !$OMP PARALLEL DO

     DO KR=1,100

            Array_Out(KR) = Array_Input(KR)

    ENDDO 

  !$OMP END PARALLEL DO

 
I verified that I do not have data race (I get the same results with only one thread), however when running the application in the Inspector XE 2013 - I get a massage that I have cross-thread stack accesses. 

How can I prevent this behavior, and what is the practical effect if not on the results ?

Thanks in advance for your replies,

Jack. 


Viewing all articles
Browse latest Browse all 3108

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>