-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uninitialised variables being used in MOM_tracer_advect.F90 #134
Comments
nikizadehgfdl
pushed a commit
to nikizadehgfdl/MOM6
that referenced
this issue
Oct 9, 2017
Update test build scripts with new CPP define _USE_LEGACY_LAND_. Clos…
gustavo-marques
pushed a commit
to gustavo-marques/MOM6
that referenced
this issue
Dec 20, 2019
Fix bugs in Leith add new input parameter
MJHarrison-GFDL
pushed a commit
to MJHarrison-GFDL/MOM6
that referenced
this issue
Jun 15, 2021
Fix data_override crash in interspersed ice mode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The variables domore_v, domore_u are being read before being intialised in subroutine advect_tracer(). Running the benchmark test under Valgrind gives errors like:
==11103== Conditional jump or move depends on uninitialised value(s)
==11103== at 0x976DF4: mom_tracer_advect_MOD_advect_tracer (MOM_tracer_advect.F90:293)
==11103== by 0xF0306B: __mom_MOD_step_mom (MOM.F90:1076)
==11103== by 0xA1A1FE: MAIN (MOM_driver.F90:396)
==11103== by 0x1B33249: main (in /short/v45/nah599/more_home/mom6/NOAA-GFDL-MOM6-examples/build/gnu/ocean_only/debug/MOM6)
The text was updated successfully, but these errors were encountered: