-
Notifications
You must be signed in to change notification settings - Fork 259
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
Add regression tests with MULTI_GASES #112
Add regression tests with MULTI_GASES #112
Conversation
While this implementation passes the regression tests, it is not correct and won't work with the old gnumake build. cmake: These entries - same for all machines - say that MULTI_GASES is on by default:
Then, for each compiler
With this, -DMULTI_GASES should always be passed to the build. However, in tests/compile_cmake.sh
hence the switch to turn off multi gases is in compile_cmake.sh - and only for CCPP! That means your PR will build IPD with MULTI_GASES on no matter what when cmake is used. For the gnu make build, there are no default values set in conf/configure.fv3.*, but each of them has
While not correct, this at least means that by default the gnumake build turns multi gases off. Each conf/configure.fv3.* should have a default line towards the top saying
|
Why is this even compile time option, is there any disadvantage using run-time flag (namelist) which will be set to |
That means your PR will build IPD with MULTI_GASES on no matter what when cmake is used. We do not build nor test IPD in develop branch anymore. We stopped doing that on May 1. It's been two months since then. We should remove IPD code in one of the future commits. |
This commit even adds an IPD regression test - should we allow this? |
Dusan,
I am updating GFSv16 test case with CCPP, since GFSv16 is using IPD only, I
do hope we can at least support IPD functionality until this work is done,
so we are confident that when global RT with GFSv16 is running with CCPP,
it reproduces IPD in repro mode, then we move on with CCPP. On the other
side, if CCPP group or other people are willing to do evaluation of CCPP
test against FV3 parallel, I am OK to drop off IPD functionality at this
time too.
Jun
…On Wed, Jul 1, 2020 at 11:02 AM Dom Heinzeller ***@***.***> wrote:
*That means your PR will build IPD with MULTI_GASES on no matter what when
cmake is used.*
We do not build nor test IPD in develop branch anymore. We stopped doing
that on May 1. It's been two months since then. We should remove IPD code
in one of the future commits.
This commit even adds an IPD regression test - should we allow this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI7D6TK6TXOJ6YWAOBIRNZDRZNFVPANCNFSM4MTAB5OQ>
.
|
Please do not add any IPD test in RT, we just dropped them in early May.
On Wed, Jul 1, 2020 at 11:12 AM Jun Wang - NOAA Federal <[email protected]>
wrote:
… Dusan,
I am updating GFSv16 test case with CCPP, since GFSv16 is using IPD only,
I do hope we can at least support IPD functionality until this work is
done, so we are confident that when global RT with GFSv16 is running with
CCPP, it reproduces IPD in repro mode, then we move on with CCPP. On the
other side, if CCPP group or other people are willing to do evaluation of
CCPP test against FV3 parallel, I am OK to drop off IPD functionality at
this time too.
Jun
On Wed, Jul 1, 2020 at 11:02 AM Dom Heinzeller ***@***.***>
wrote:
> *That means your PR will build IPD with MULTI_GASES on no matter what
> when cmake is used.*
>
> We do not build nor test IPD in develop branch anymore. We stopped doing
> that on May 1. It's been two months since then. We should remove IPD code
> in one of the future commits.
>
> This commit even adds an IPD regression test - should we allow this?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#112 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AI7D6TK6TXOJ6YWAOBIRNZDRZNFVPANCNFSM4MTAB5OQ>
> .
>
|
I urge not to drop IPD, as it is very hard, if not almost impossible to
debug with CCPP.
Having IPD option makes it a lot easier to debug.
My 2 cents.
Thanks
Moorthi
…On Wed, Jul 1, 2020 at 11:13 AM Jun Wang ***@***.***> wrote:
Dusan,
I am updating GFSv16 test case with CCPP, since GFSv16 is using IPD only, I
do hope we can at least support IPD functionality until this work is done,
so we are confident that when global RT with GFSv16 is running with CCPP,
it reproduces IPD in repro mode, then we move on with CCPP. On the other
side, if CCPP group or other people are willing to do evaluation of CCPP
test against FV3 parallel, I am OK to drop off IPD functionality at this
time too.
Jun
On Wed, Jul 1, 2020 at 11:02 AM Dom Heinzeller ***@***.***>
wrote:
> *That means your PR will build IPD with MULTI_GASES on no matter what
when
> cmake is used.*
>
> We do not build nor test IPD in develop branch anymore. We stopped doing
> that on May 1. It's been two months since then. We should remove IPD code
> in one of the future commits.
>
> This commit even adds an IPD regression test - should we allow this?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <
#112 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AI7D6TK6TXOJ6YWAOBIRNZDRZNFVPANCNFSM4MTAB5OQ
>
> .
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALLVRYT2I5ZCSS2FEQBJGYDRZNG7ZANCNFSM4MTAB5OQ>
.
--
Dr. Shrinivas Moorthi
Research Meteorologist
Modeling and Data Assimilation Branch
Environmental Modeling Center / National Centers for Environmental
Prediction
5830 University Research Court - (W/NP23), College Park MD 20740 USA
Tel: (301)683-3718
e-mail: [email protected]
Phone: (301) 683-3718 Fax: (301) 683-3718
|
Moorthi, I hope you can see how difficult it is to maintain two systems in parallel - we have been doing this for so long and it has taken so much time that we could have invested better in addressing your concerns. If you can describe in detail where your specific problems are, then we can hopefully work towards a solution that helps you do what you need to do. We are not running IPD regression tests anymore, and we will not turn them back on. There is no guarantee that it will work in the future, and as this commit shows it would have "broken" the IPD build if I didn't look carefully. |
IPD multi_gases is not added in regression test, but it should be available for the test purpose as Henry mentioned that they still need it. |
Dom: |
NO! |
If you are making changes to this PR, then you need to do the following:
outside of the block
This way, all tests should pass against your new baseline. |
Dom,
This morning I was trying to debug something and I realized that it was
almost impossible under CCPP unless I go in and hack the code.All the debug
prints and logicals have been removed. So, I decided to go back to IPD to
do my debugging first.
I am not saying that regression tests need to be maintained.
Even if you all delete IPD from the source, I will maintain my branch as it
is too valuable for me.
Thanks
Moorthi
…On Wed, Jul 1, 2020 at 11:26 AM Dom Heinzeller ***@***.***> wrote:
I urge not to drop IPD, as it is very hard, if not almost impossible to
debug with CCPP. Having IPD option makes it a lot easier to debug. My 2
cents. Thanks Moorthi
… <#m_388869045140375181_>
Moorthi, I hope you can see how difficult it is to maintain two systems in
parallel - we have been doing this for so long and it has taken so much
time that we could have invested better in addressing your concerns. If you
can describe in detail where your specific problems are, then we can
hopefully work towards a solution that helps you do what you need to do. We
are not running IPD regression tests anymore, and we will not turn them
back on. There is no guarantee that it will work in the future, and as this
commit shows it would have "broken" the IPD build if I didn't look
carefully.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALLVRYRVJ2HJCJCNM3KZVELRZNIRVANCNFSM4MTAB5OQ>
.
--
Dr. Shrinivas Moorthi
Research Meteorologist
Modeling and Data Assimilation Branch
Environmental Modeling Center / National Centers for Environmental
Prediction
5830 University Research Court - (W/NP23), College Park MD 20740 USA
Tel: (301)683-3718
e-mail: [email protected]
Phone: (301) 683-3718 Fax: (301) 683-3718
|
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.
Looks good.
To add regression tests with MULTI_GASES=Y
Related pull requests:
NOAA-EMC/fv3atm#108
NOAA-EMC/GFDL_atmos_cubed_sphere#19
NCAR/ccpp-physics#444
The input data with C96L149 saved temporarily at /gpfs/hps3/emc/ensemble/noscrub/Xiaqiong.Zhou/RT/NEMSfv3gfs (WCOSS_CRAY)
and /scratch2/NCEPDEV/ensemble/Xiaqiong.Zhou/noscrub/RT/NEMSfv3gfs (HERA)