CESR-lab / ucla-roms

GNU General Public License v3.0
3 stars 8 forks source link

wrt_t_dia not initialized correctly with BGC? #15

Open sdbachman opened 3 months ago

sdbachman commented 3 months ago

Trying to compile a very basic BEC experiment with the latest commit of ROMS. Getting this error:

diagnostics.f(21): error #7948: In this initialization, there are more variables than values assigned to the variables. [WRT_T_DIA] logical,public,dimension(nt) :: wrt_t_dia = (/ --------------------------------------^ compilation aborted for diagnostics.f (code 1)

Looking at line 21 of diagnostics.f, we have

  logical,public,dimension(nt) :: wrt_t_dia = (/
 &             .true.
 &            ,.false.
 &           /)

Since BEC is enabled I think nt should be around 30, so we aren't providing enough values here.