-
Notifications
You must be signed in to change notification settings - Fork 251
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
Compile with DEBUG=Y must add "--debug" to ccpp_prebuild.py #135
Comments
Dom, is this still an issue? |
Yes, it is. Now in fv3atm, since the call to
There is no logic to add In my opinion, it would be best if we could call |
@junwang-noaa @aerorahul @DusanJovic-NOAA I just discussed with the other CCPP developers. We feel that ccpp_prebuild.py should still be called (as a command) from the top-level directory, not from inside FV3. This is to ensure consistency with existing documentation, tutorials etc. The logic to trigger the call can still sit in the fv3atm
Of course we'll have to add back in the prefix
|
Why can't we update the documentation and keep the code where it actually belongs. The |
None of the "code" is moved elsewhere, it's just called from one directory up. I guess you underestimate how many presentations and documents are out there that tell developers that for debugging they need to do
|
I am wondering how/when we can make this change. Not before the completion of the ufs-s2s and ufs-weather merge, certainly. I suggest the first PR afterwards for the combined repository, combined with Moorthi's change in ccpp-physics to establish the GFSv16 comparison. That will push out the HWRF PR by one, but I think that is ok, this will be a quick one. |
Dom, from the code structure level, I don't think it's proper to put CCPP
under ufs-weather-model along with atmosphere, ocean, ice, ww3 model rather
than under FV3 atmosphere directory. I do understand you have history
documentation. But the current model needs an updated documentation to go
along with it, in other words, CCPP documentation needs to have a version
associated with it so that people who use previous version can use the
version of documentation working with the corresponding repo, and the
latest code can have newer version of documentation associated with the
code. In long term would this be a better solution than using the
component documentation to decide the application code structure?
…On Thu, Oct 22, 2020 at 10:40 PM Dom Heinzeller ***@***.***> wrote:
Why can't we update the documentation and keep the code where it actually
belongs.
The --debug not being added is not a because of moving the call one level
down. That issue existed before this move.
None of the "code" is moved elsewhere, it's just called from one directory
up. I guess you underestimate how many presentations and documents are out
there that tell developers that for debugging they need to do
./FV3/ccpp/framework/scripts/ccpp_prebuild.py --config=FV3/ccpp/config/ccpp_prebuild_config.py ...
I am wondering how/when we can make this change. Not before the completion
of the ufs-s2s and ufs-weather merge, certainly. I suggest the first PR
afterwards for the combined repository, combined with Moorthi's change in
ccpp-physics to establish the GFSv16 comparison. That will push out the
HWRF PR by one, but I think that is ok, this will be a quick one.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI7D6TNVNPW3RBQPPLBOUILSMDUIZANCNFSM4NNQXOOA>
.
|
We have one comprehensive documentation called the CCPP Technical Documentation. This needs to refer to host models as well as internals of the CCPP. It's in the ccpp-doc github repo and visible here: https://ccpp-techdoc.readthedocs.io/en/latest/ It is not practical to split this documentation up and maintain fragments in various repositories. As for this specific change, I don't understand what the problem is. CCPP sits under fv3atm, ccpp_prebuild.py is triggered by fv3atm's |
Dom, thanks for the explanation. I am curious since CCPP is a common
physics package, why do you want to stick with
"FV3/ccpp/framework/scripts/ccpp_prebuild.py"
in the documentation, won't "ccpp/framework/scripts/ccpp_prebuild.py" be
more general for broad users in the future? I feel the longer you stay with
the current documentation, the harder to change it in the future if you
want to explain that CCPP can actually be hosted by other atmosphere models
as well.
…On Fri, Oct 23, 2020 at 9:23 AM Dom Heinzeller ***@***.***> wrote:
Dom, from the code structure level, I don't think it's proper to put CCPP
under ufs-weather-model along with atmosphere, ocean, ice, ww3 model rather
than under FV3 atmosphere directory. I do understand you have history
documentation. But the current model needs an updated documentation to go
along with it, in other words, CCPP documentation needs to have a version
associated with it so that people who use previous version can use the
version of documentation working with the corresponding repo, and the
latest code can have newer version of documentation associated with the
code. In long term would this be a better solution than using the component
documentation to decide the application code structure?
… <#m_6183954119776612026_>
We have one comprehensive documentation called the CCPP Technical
Documentation. This needs to refer to host models as well as internals of
the CCPP. It's in the ccpp-doc github repo and visible here:
https://ccpp-techdoc.readthedocs.io/en/latest/ It is not practical to
split this documentation up and maintain fragments in various repositories.
As for this specific change, I don't understand what the problem is. CCPP
sits under fv3atm, ccpp_prebuild.py is triggered by fv3atm's
CMakeLists.txt, the only thing I am doing is add a /.. to the working
directory for the ccpp_prebuild.py call and prepend the path to the
script and config with FV3. This has absolutely nothing to do with where
the code is hosted or how the logic of the build is controlled.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI7D6TKPR7A3BMDR47EDMZDSMF7V3ANCNFSM4NNQXOOA>
.
|
Because we'll transition to cap_gen.py by the end of the year, hopefully!, and this will require an update of the entire documentation. It's not worth changing the way this is called, upsettting users and rewriting documentation if two months later we have to do it again. With the upcoming UFS tutorial, we want to stay consistent with how it has been until it is transitioned out. Makes sense?
… On Oct 23, 2020, at 7:49 AM, Jun Wang ***@***.***> wrote:
Dom, thanks for the explanation. I am curious since CCPP is a common
physics package, why do you want to stick with
"FV3/ccpp/framework/scripts/ccpp_prebuild.py"
in the documentation, won't "ccpp/framework/scripts/ccpp_prebuild.py" be
more general for broad users in the future? I feel the longer you stay with
the current documentation, the harder to change it in the future if you
want to explain that CCPP can actually be hosted by other atmosphere models
as well.
On Fri, Oct 23, 2020 at 9:23 AM Dom Heinzeller ***@***.***>
wrote:
> Dom, from the code structure level, I don't think it's proper to put CCPP
> under ufs-weather-model along with atmosphere, ocean, ice, ww3 model rather
> than under FV3 atmosphere directory. I do understand you have history
> documentation. But the current model needs an updated documentation to go
> along with it, in other words, CCPP documentation needs to have a version
> associated with it so that people who use previous version can use the
> version of documentation working with the corresponding repo, and the
> latest code can have newer version of documentation associated with the
> code. In long term would this be a better solution than using the component
> documentation to decide the application code structure?
> … <#m_6183954119776612026_>
>
> We have one comprehensive documentation called the CCPP Technical
> Documentation. This needs to refer to host models as well as internals of
> the CCPP. It's in the ccpp-doc github repo and visible here:
> https://ccpp-techdoc.readthedocs.io/en/latest/ It is not practical to
> split this documentation up and maintain fragments in various repositories.
> As for this specific change, I don't understand what the problem is. CCPP
> sits under fv3atm, ccpp_prebuild.py is triggered by fv3atm's
> CMakeLists.txt, the only thing I am doing is add a /.. to the working
> directory for the ccpp_prebuild.py call and prepend the path to the
> script and config with FV3. This has absolutely nothing to do with where
> the code is hosted or how the logic of the build is controlled.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#135 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AI7D6TKPR7A3BMDR47EDMZDSMF7V3ANCNFSM4NNQXOOA>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#135 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB5C2RMC5YKKI7APHUOAGQDSMGCVJANCNFSM4NNQXOOA>.
|
Is the upcoming UFS tutorial based on |
In the first week, it focuses on the MRW App v1.1 - in the second week (developer session), it switches to develop.
… On Oct 23, 2020, at 8:02 AM, Rahul Mahajan ***@***.***> wrote:
Is the upcoming UFS tutorial based on develop or a release tag?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#135 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB5C2RMATW5Q7MWKDQLCBOLSMGEFTANCNFSM4NNQXOOA>.
|
Just to be clear: if I had paid better attention (and would have had more time) I would not have let this change to call |
I have to say this is a first: revert code to keep up with existing documentation. |
There is always a first by definition ;-) |
That was not a complement. |
This issue has been sitting here for some time, and in the meanwhile we had the UFS MRW tutorial during which we had to teach the participants how to run (1) add This should make @aerorahul happy ;-) |
…, updates to other GSL physics (#202) This PR updates the GSL physics and does a few other things: *add --debug to ccpp_prebuild.py call when model is compiled in DEBUG mode, and pretty print the output in the build log (fixes #187 and ufs-community/ufs-weather-model#135) *add unified gravity wave drag (called unified ugwp) that combines the UGWP v1 with the GSL drag suite *add suite definition file for GFS v16beta for coupled model *move static array zs (depth of soil layer), dimensioned as 1:lsoil_lsm from Sfcprop to Model (since this is a model configuration and only needs to be stored once, not for each block) Co-authored-by: DomHeinzeller <58610420+DomHeinzeller@users.noreply.github.com> Co-authored-by: samuel.trahan <Samuel.Trahan@noaa.gov> Co-authored-by: hannah barnes <hannah.barnes@noaa.gov> Co-authored-by: tanyasmirnova <tanya.smirnova@noaa.gov> Co-authored-by: Joseph Olson <Joseph.B.Olson@noaa.gov> Co-authored-by: Michael Toy <michael.toy@noaa.gov>
- Update Externals.cfg to point to hash of UFS_UTILS with bug fix - Update Quickstart documentation accordingly Out-of-the-box case builds with GNU and workflow runs to completion on Cheyenne.
This used to be the case, however, it doesn't work any longer.
does not add
--debug
to theccpp_prebuild.py
command.The text was updated successfully, but these errors were encountered: