-
Notifications
You must be signed in to change notification settings - Fork 30
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
Optional argument CVmix_conv_params_user used in subroutine. #92
Comments
Thanks for reporting this, and apologies for taking so long to get back to you. What version of the compiler is complaining in debug mode? I'm a little confused about what it is balking at, since CVMix-src/src/shared/cvmix_convection.F90 Line 263 in 52aac95
I wonder if a better fix would be to explicitly call |
Thanks @mnlevy1981. The failure is with intel 19.0.4 using debug flags, specifically:
I'm guessing that -check all is the critical one. It compiles fine, but get the runtime error:
and confirmed that this change:
fixes the problem with my set-up. This was originally posted here: |
I have created a branch at https://github.com/mnlevy1981/CVMix-src/tree/add_convective_test that does two things:
If you could test this out on your machine, that would be great. The steps to take:
That script should prompt for information about your compiler and netcdf path.
Use
That will launch the build, and also run the test case (assuming a successful build). The tail of the output that I see is
but I think this should mimic your setup sufficiently to trigger the runtime error with 19.0.4? I've built this with 19.0.2 and 19.0.5, though, and both of those executables run successfully... so either the problem you are seeing is limited to 19.0.4 (and maybe 19.0.3), or something in how I set up the test is not quite the same as whatever is causing your error. (If it's the latter, we can certainly keep iterating until we can reproduce the issue!) And one comment about the stand-alone test suite; if you want the test suite to rebuild the model, you need to run edit: realized that I phrased the last sentence poorly; the script that gathers compiler information doesn't run during |
I tested as you suggested above and it ended with:
so this all works. Thanks for your help. For my own reference, this is on LANL badger with modules loaded from compass master abb60740 and
I provided the ' ./kpp-test.sh' with the |
Hmm,that's interesting... I was hoping the test would fail with the same error you were seeing out of the MPAS runs. I wonder if I missed a flag when I updated |
This line:
CVMix-src/src/shared/cvmix_convection.F90
Line 227 in 52aac95
uses an optional argument, and produces a run-time error when compiled in debug if that optional argument is not provided. I think the intention was
Similarly, this
CVMix-src/src/shared/cvmix_convection.F90
Line 404 in 52aac95
should be
The text was updated successfully, but these errors were encountered: