Skip to content

Commit a9a957e

Browse files
committed
return a more accurate error message in MOM_stochasics
1 parent 56bb41e commit a9a957e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

config_src/external/OCEAN_stochastic_phyiscs/MOM_stochastics.F90

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@ subroutine stochastics_init(dt, grid, GV, CS, param_file, diag, Time)
101101
call init_stochastic_physics_ocn(dt,grid%geoLonT,grid%geoLatT,nx,ny,GV%ke, &
102102
CS%pert_epbl,CS%do_sppt,master,mom_comm,iret)
103103
if (iret/=0) then
104-
write(6,*) 'call to init_stochastic_physics_ocn failed'
105-
call MOM_error(FATAL, "stochastic physics in enambled in MOM6 but "// &
106-
"not activated in stochastic_physics namelist ")
104+
call MOM_error(FATAL, "call to init_stochastic_physics_ocn failed")
107105
return
108106
endif
109107

0 commit comments

Comments
 (0)