-
Notifications
You must be signed in to change notification settings - Fork 14
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
Bug fix for z0t #2
Bug fix for z0t #2
Conversation
@ChunxiZhang-NOAA It seems that action is failing because GitHub Action runner is using new version of OS and spack package installer is failing. I am looking into it. I could also test your changes manually under UFS. BTW, it might be nice to add this new variable to the history file. You just need it to add just after this line, noahmp/drivers/nuopc/lnd_comp_io.F90 Line 2245 in 0729e88
|
@uturuncoglu I added the variable to the history file as you suggested. I tested it in the UFS, and it changed the BLs. |
@uturuncoglu @barlage Please review this PR ASAP. This PR is scheduled to be committed today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes look good to me.
@barlage Thank you! |
@ChunxiZhang-NOAA I am getting following errors from container with GNU compiler,
|
Does GNU have a column 132 truncation requirement? |
@uturuncoglu It looks the issue is not related to this PR. The error message shows the truncation error. If can be solved with compiling options. |
Fortran90+ has 132 line length limit. Intel compiler usually doesn't strictly force it. Looks like gnu does. Maybe it will help by adding this compiler option: -ffree-line-length-none |
In a future update, we can break this line. |
@uturuncoglu Could you try the compiler option -ffree-line-length-none? I believe it will resolve the issue with this option. |
@ChunxiZhang-NOAA I compiled with
|
@uturuncoglu any reason why these are showing up now? as far as I know, none of this code has been changed in this PR. |
@barlage i am not sure. Maybe adding |
@ChunxiZhang-NOAA @barlage Okay. I fixed the long lines and compile without extra flags. It builds without any issue and also runs under my Docker container. So, we just need to fix those long lines and split them using |
I guess the question also applies to the original error since this long line is in the original version too. |
@uturuncoglu Did you try to only use -ffree-line-length-none? |
@ChunxiZhang-NOAA it seems it is building fine with only this option. |
@uturuncoglu Good to know. I think it is because -ffixed-line-length-none makes the "&" character at column 73 legal but "&" in the context is illegal in Fortran77. |
@ChunxiZhang-NOAA Thanks. I think this is fine. I could make changes in the action once I fix the issue with the updated runner. |
@ChunxiZhang-NOAA I could merge it now, if it is fine for you. |
@uturuncoglu The UFS commit process for PR#1394 has started one hour ago. It would be great if you can create a new PR for the changes in the actions. |
@ChunxiZhang-NOAA Yes. No worries about action. I could fixed later. |
@uturuncoglu Ok, thank you! |
All tests are done on ufs-wm pr #1493 side. Can we start merging in this pr? |
This is a corresponding PR to ccpp-physics PR#23. It fixed a bug related to the definition of z0t. A new variable ztmax is added.