The current version (ROMS 696) of npzd_iron_inp.h contains 2 errors that cause a segmentation fault and a compilation failure, respectively.
In line 209 and line 219: There is a missing input argument in function call to load_lbc (this causes a segmentation fault while reading in the biological boundary conditions):
line 209:
Code: Select all
Npts=load_lbc(Nval, Cval, line, nline, ifield, igrid, &
& iTrcStr, iTrcEnd, LBC)
Code: Select all
Npts=load_lbc(Nval, Cval, line, nline, ifield, igrid, &
& iTrcStr, iTrcEnd, &
& Vname(1,idTvar(idbio(itracer))), LBC)
Code: Select all
Npts=load_lbc(Nval, Cval, line, nline, ifield, igrid, &
& iTrcStr, iTrcEnd, ad_LBC)
Code: Select all
!
!-----------------------------------------------------------------------
! Report input parameters.
!-----------------------------------------------------------------------
!
IF (Lwrite) THEN
DO ng=1,Ngrids
IF (Lbiology(ng)) THEN
...
END SELECT
END DO
END IF