id summary reporter owner description type status priority milestone component version severity resolution keywords cc 1607 out-of-bound references in agrif_lim2_update (lim2_vp case) in trunk and v3_6_STABLE mscheinert nemo "In subroutine `update_v_ice()` of module agrif_lim2_update (with key_lim2_vp) there is an out-of-bound reference in `e1f` which can lead to NaN entries causing a MPI dead-lock or a crash. {{{ 179 DO jj=j1,j2 180 DO ji=i1,i2 181 v_ice(ji,jj) = tabres(ji,jj) / (e1f(ji-1,jj-1)) 182 v_ice(ji,jj) = v_ice(ji,jj) * tmu(ji,jj) 183 END DO 184 END DO }}} Analogue to the other do loop in the same routine, I suggest to use MAX() function, too: {{{ 179 DO jj=MAX(j1,2),j2 180 DO ji=MAX(i1,2),i2 }}}" Bug closed normal 2015 release-3.6 AGRIF v3.6 fixed LIM* v3.6