We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd93524 commit dc8e126Copy full SHA for dc8e126
components/mpas-seaice/src/column/ice_warnings.F90
@@ -42,7 +42,7 @@ subroutine add_warning(warning)
42
integer :: &
43
nWarningsArray, & ! size of warnings array at start
44
iWarning ! warning index
45
-
+ !$omp critical
46
! check if warnings array is not allocated
47
if (.not. allocated(warnings)) then
48
@@ -90,7 +90,7 @@ subroutine add_warning(warning)
90
91
! add the new warning
92
warnings(nWarnings) = trim(warning)
93
+ !$omp end critical
94
end subroutine add_warning
95
96
!=======================================================================
0 commit comments