I use NEMO trunk compiled with key_si3 in coupled mode with WRF.
The coupled model crushes with “Segmentation fault” when I try to switch on seaice model in NEMO (nn_ice = 2).
I looked at code and found that NEMO crushes in
SUBROUTINE sbc_cpl_ice_flx
at the line
zevap_ice(:,:,1) = frcv(jpr_ievp)%z3(:,:,1)
NEMOGCM/src/OCE/SBC/sbccpl.F90
IF (sn_rcv_emp%clcat == ‘yes’) THEN
…
ELSE
zevap_ice(:,:,1) = frcv(jpr_ievp)%z3(:,:,1)
zevap_ice_total(:, = zevap_ice(:,:,1)
DO jl = 2, jpl
zevap_ice(:,:,jl) = zevap_ice(:,:,1)
ENDDO
ENDIF
It seems that in coupled mode NEMO expects to receive seaice evaporation field from WRF.
But WRF doesn’t produce such field for coupled exchange.
Is it possible to just set this field to some constant in the code ?