-
Notifications
You must be signed in to change notification settings - Fork 7
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
Build WW3 with DEBUG for CI testing #151
Comments
We should probably be doing this for every component. However it may not be straightforward. For example, when we did this for the latest OM3 build, we found a floating point exception in the dependencies - likely in the HDF5 library. (EDIT now with issue) |
Thanks @aekiss, I have a doubt here, is this |
Note that the CMake debug build type does both things: it tweaks the compiler flags, but it also enables model specific compile options. So if you notice there are model specific compile options, like |
Thanks @micaeljtoliveira. It seems that CMake debug build is enough to create debug version of WW3. However, to enable the debug outputs in WW3, |
@aekss - what I meant by DEBUG is to compile with bounds checking and floating point exception trapping. I did not mean the WW3-T switch. It sounds like you are already handling this with the CMAKE debug. |
@mvertens commented that they found several bugs in WW3 by building it with DEBUG - this catches bounds and floating-point errors. Sounds like we should use DEBUG for CI.
The text was updated successfully, but these errors were encountered: