Skip to content

Commit

Permalink
Merge pull request #2501 from deslaughter/b/aerodyn_inflow_omp
Browse files Browse the repository at this point in the history
Remove $OMP directives from AeroDyn_Inflow due to Intel compiler bug
  • Loading branch information
andrew-platt authored Nov 5, 2024
2 parents fdb0d23 + a6268d3 commit aa51340
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/aerodyn/src/AeroDyn_Inflow.f90
Original file line number Diff line number Diff line change
Expand Up @@ -488,16 +488,12 @@ subroutine ADI_CalcOutput_IW(t, u_IfW, IW, errStat, errMsg)
call InflowWind_CalcOutput(t, u_IfW, IW%p, IW%x, IW%xd, IW%z, IW%OtherSt, IW%y, IW%m, errStat2, errMsg2)
call SetErrStat(errStat2, errMsg2, errStat, errMsg, 'ADI_CalcOutput_IW')
else
!$OMP PARALLEL DEFAULT(SHARED)
!$OMP DO PRIVATE(j,z) schedule(runtime)
do j=1,size(u_IfW%PositionXYZ,2)
z = u_IfW%PositionXYZ(3,j)
IW%y%VelocityUVW(1,j) = IW%HWindSpeed*(z/IW%RefHt)**IW%PLExp
IW%y%VelocityUVW(2,j) = 0.0_ReKi !V
IW%y%VelocityUVW(3,j) = 0.0_ReKi !W
end do
!$OMP END DO
!$OMP END PARALLEL
endif
end subroutine ADI_CalcOutput_IW
!----------------------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit aa51340

Please sign in to comment.