I am having an issue with my tracer boundary read-in as time stepping is about to start. My simulation is intended to be a realistic representation of Bahia Almirante, a bay in Panama. I've interpolated HYCOM u, v, T, S, and sea surface height onto the boundaries of the modeling domain to use as boundary forcing. My south boundary is closed, while the east, west, and north boundaries use the radiation with nudging condition.
I get the following error:
Code: Select all
[hpc3-19-13:4901 :0:4901] Caught signal 8 (Floating point exception: floating-point invalid operation)
==== backtrace (tid: 4901) ====
0 0x0000000000054bf5 ucs_debug_print_backtrace() /export/repositories/buildlibs-admix/BUILD/ucx_1.8.1-1.8.1/ucx-1.8.1/src/ucs/debug/debug.c:653
1 0x000000000166ad3f __t3dbc_mod_MOD_t3dbc_tile() /data/homezvol0/skastner/ROMS/trunk/projects/almirante/alpha/Build_romsG/t3dbc_im.f90:301
2 0x000000000087bd55 __pre_step3d_mod_MOD_pre_step3d_tile() /data/homezvol0/skastner/ROMS/trunk/projects/almirante/alpha/Build_romsG/pre_step3d.f90:901
3 0x000000000088c008 __pre_step3d_mod_MOD_pre_step3d() /data/homezvol0/skastner/ROMS/trunk/projects/almirante/alpha/Build_romsG/pre_step3d.f90:108
4 0x0000000000778b9b __rhs3d_mod_MOD_rhs3d() /data/homezvol0/skastner/ROMS/trunk/projects/almirante/alpha/Build_romsG/rhs3d.f90:76
5 0x000000000041837d main3d_() /data/homezvol0/skastner/ROMS/trunk/projects/almirante/alpha/Build_romsG/main3d.f90:245
6 0x000000000040a233 __ocean_control_mod_MOD_roms_run() /data/homezvol0/skastner/ROMS/trunk/projects/almirante/alpha/Build_romsG/ocean_control.f90:192
7 0x0000000000406a12 MAIN__() /data/homezvol0/skastner/ROMS/trunk/projects/almirante/alpha/Build_romsG/master.f90:108
8 0x0000000000406baf main() /data/homezvol0/skastner/ROMS/trunk/projects/almirante/alpha/Build_romsG/master.f90:50
9 0x0000000000022555 __libc_start_main() ???:0
10 0x0000000000405b89 _start() ???:0
=================================
Code: Select all
GET_NGFLD - salinity northern boundary condition, 2019-09-10 00:00:00.00
(Grid= 01, Rec=2147, Index=1, File: almirante_bound.nc)
(Tmin= 6912.5000 Tmax= 7593.2500) t = 7192.0000
(Min = 3.48235054E+01 Max = 3.68154144E+01)
TIME-STEP YYYY-MM-DD hh:mm:ss.ss KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME
C => (i,j,k) Cu Cv Cw Max Speed
0 2019-09-10 00:00:00.00 1.478048E-19 6.262519E+03 6.262519E+03 2.368591E+12
(001,350,27) 4.312984E-11 2.302341E-11 0.000000E+00 2.151831E-08
DEF_HIS - creating history file, Grid 01: /dfs2/davis/skastner/Bocas_Modeling/output/alpha/almirante_his_0001.nc
WRT_HIS - wrote history fields (Index=1,1) in record = 1
These are all similar lines of code, with varying indexing depending on the boundary:
Code: Select all
IF (LBC(iwest,isTvar(itrc),ng)%nudging) THEN
IF (LnudgeTCLM(itrc,ng)) THEN
obc_out=CLIMA(ng)%Tnudgcof(Istr-1,j,k,ic)
obc_in =obcfac(ng)*obc_out
ELSE
obc_out=Tobc_out(itrc,ng,iwest)
obc_in =Tobc_in (itrc,ng,iwest)
END IF
IF ((dTdt*dTdx).lt.0.0_r8) THEN
tau=obc_in
ELSE
tau=obc_out
END IF
tau=tau*dt(ng)
END IF
My initial thought was that I had NaNs in my boundary forcing file, causing dTdt and/or dTdx to contain NaNs, but I have quintuple checked this at this point; there are none.
Has anyone seen anything like this before? I haven't found any similar forum posts. I'm using ROMS v3.9. I'm uploading my log, error, .in, and grid files for reference. The boundary forcing file is large, but I could provide it if needed.
Thanks in advance for your help,
Sam Kastner
Postdoctoral Scholar
University of California-Irvine