Skip to content

Commit 3434712

Browse files
committed
Move !$OMP THREADPRIVATE(TRH) in TSsubs.f90 to after the variable declaration for IFX compiler
1 parent 4b189e4 commit 3434712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/turbsim/src/TSsubs.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ SUBROUTINE CalcFourierCoeffs_IEC( p, U, PhaseAngles, S, V, TRH_in, ErrStat, ErrM
5555
INTEGER(IntKi), INTENT(OUT) :: ErrStat
5656
CHARACTER(*), INTENT(OUT) :: ErrMsg
5757

58-
!$OMP THREADPRIVATE(TRH)
5958
REAL(ReKi), allocatable, save :: TRH(:) ! Each OMP thread gets its own copy of this array
59+
!$OMP THREADPRIVATE(TRH)
6060
REAL(ReKi), ALLOCATABLE :: Dist(:) ! The distance between points
6161
REAL(ReKi), ALLOCATABLE :: DistU(:)
6262

0 commit comments

Comments
 (0)