ROMS/TOMS Developers

Algorithms Update Web Log

kate - November 15, 2014 @ 20:16
Read the output file- Comments (0)

Hey, have you ever had some bizarre behavior where it runs fine when compiled for the debugger but blows up when optimized? It turns out the answer was in the output if I’d only looked:

 uice                     1   Gradient     Gradient     Gradient     Gradient
 vice                     1   Gradient     Gradient     Gradient     Gradient
 aice                     1   Closed       Closed       Closed       Closed
 hice                     1   Closed       Closed       Closed       Closed
 tisrf                    1   Closed       Closed       Closed       Closed
 snow_thick               1   Closed       Closed       Closed       Closed
 apond                    1
 hpond                    1   ^Xêg^D/+^@^@^Xêg  ^D/+^@^@

I was switching back and forth between old and new codes in the source directory, using git branches. But I didn’t always update the ocean.in accordingly in the run directory… apond and hpond replace the old sfwat variable in my new code. Providing the LBC option for sfwat wasn’t helping.