-
Notifications
You must be signed in to change notification settings - Fork 254
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
noahmp with coupled model configurations produces segfault in debug mode #609
Comments
@HelinWei-NOAA May I ask if you can take a look at issue with NoahMP debug test? The issue is in both standalone gfsv16 NoahMP and coupled NoahMP tests. |
@DeniseWorthen Please try the following fix Helin provided. If it is working, we may ask Helin to create a new PR. The modification is shown below in FV3/ccpp/physics/physics/module_sf_noahmplsm.f90 ! ground snow cover fraction [niu and yang, 2007, jgr]
|
@junwang-noaa I tested this fix. In debug mode, there is no seg fault. In non-debug mode, both the control and restart test pass. |
This will be fixed by ccpp PR #673 |
@junwang-noaa @climbfuji I expected that PR #702 would fix this issue since that PR contained the fix for a divide by zero for
|
@HelinWei-NOAA FYI |
line 2028 is Can you print out some parameters to see which one is zero? Or please tell me your running directory and I can do a test. Thanks. |
There is a test branch you can use to re-create the error. Use |
@DeniseWorthen @junwang-noaa I'm a little confused about when/if this was ever fixed. Denise's comment on June 1 seems to indicate that is was working, but then it stopped working and the title was changed. Is there a known point in the history where the code was passing debug mode and then a known point where it wasn't? |
I tested the fsno fix noted above in debug mode at the time. I am assuming that somewhere in later commits a different fault crept in. I don't know at which commit that occurred. I had created the test because I wanted to have a restart test ready for the p7 configuration (we can't test restarts in the wave configurations). But we're not currently running this non-wave, p7b test. I can try to do some sleuthing and pinpoint when I first see the test fail. |
OK, thanks Denise. Helin and I are trying to figure out what is happening, but have no solution now. The Noah-MP model, driver and parameter source code hasn't changed since June 7 so it is a bit confusing. |
The test itself changed for p7b:
I can try to recreate the original test, which I believe was nsst and noahmp only. |
@barlage As part of updating all the coupled regression tests to use P7 settings, I have a low resolution (C96/1deg ocean/ice) case which gives me the same error message. That run directory is on hera:
|
@DeniseWorthen From my testing, I found it was caused by fractional grid. Because you still used the old fixed fields (on Gaussian grid), sometimes vegetation and soil type mismatches will happen with fractional grid. vegetation type indicates land but soil type points to water. So for my own runs, I use the tiled fixed fields. George has run QC to make sure that situation will not happen with fraction grid when he creates the tiled fixed fields. For the time being, you can turn off fractional grid scheme. P7 runs will also use the tiled fixed fields and there should be no such issue. |
@HelinWei-NOAA Thanks, but this test case (in the rt_7926 directory) is using tiled fixed files. It is our low resolution match for the P7 prototype configuration. The input.nml is below. There are some grb files---are there tiled versions of these I should be using?
|
Helin,
I decided to give a try to NoahMP with debug on. I am using
frac_grid=.true. and tiled fix fields.
Yet my job crashed with the same error
"libpthread-2.17.s 00002AFE3877D630 Unknown Unknown Unknown
fv3_cmeps_CICE6_n 0000000009539438 module_sf_noahmpl 2028
module_sf_noahmplsm.f90
fv3_cmeps_CICE6_n 000000000952D007 module_sf_noahmpl 756
module_sf_noahmplsm.f90
fv3_cmeps_CICE6_n 0000000008BF305C noahmpdrv_mp_noah 840
sfc_noahmp_drv.F90
fv3_cmeps_CICE6_n 0000000006C5FE0E smgshocnsstnoahmp 794
ccpp_FV3_GFS_cpld_rasmgshocnsstnoahmp_ugwp_physics_cap.F90
fv3_cmeps_CICE6_n 00000000062B4C22 ccpp_static_api_m 2172
ccpp_static_api.F90"
Moorthi
…On Thu, Jul 29, 2021 at 1:59 PM HelinWei-NOAA ***@***.***> wrote:
@DeniseWorthen <https://github.com/DeniseWorthen> From my testing, I
found it was caused by fractional grid. Because you still used the old
fixed fields (on Gaussian grid), sometimes vegetation and soil type
mismatches will happen with fractional grid. vegetation type indicates land
but soil type points to water. So for my own runs, I use the tiled fixed
fields. George has run QC to make sure that situation will not happen with
fraction grid when he creates the tiled fixed fields. For the time being,
you can turn off fractional grid scheme. P7 runs will also use the tiled
fixed fields and there should be no such issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#609 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALLVRYXANCZPXSW2R62BLY3T2GJGVANCNFSM45YNLQ3Q>
.
--
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: ***@***.***
Phone: (301) 683-3718 Fax: (301) 683-3718
|
My run was C384L127.
On Thu, Jul 29, 2021 at 2:07 PM Shrinivas Moorthi - NOAA Federal <
***@***.***> wrote:
… Helin,
I decided to give a try to NoahMP with debug on. I am using
frac_grid=.true. and tiled fix fields.
Yet my job crashed with the same error
"libpthread-2.17.s 00002AFE3877D630 Unknown Unknown
Unknown
fv3_cmeps_CICE6_n 0000000009539438 module_sf_noahmpl 2028
module_sf_noahmplsm.f90
fv3_cmeps_CICE6_n 000000000952D007 module_sf_noahmpl 756
module_sf_noahmplsm.f90
fv3_cmeps_CICE6_n 0000000008BF305C noahmpdrv_mp_noah 840
sfc_noahmp_drv.F90
fv3_cmeps_CICE6_n 0000000006C5FE0E smgshocnsstnoahmp 794
ccpp_FV3_GFS_cpld_rasmgshocnsstnoahmp_ugwp_physics_cap.F90
fv3_cmeps_CICE6_n 00000000062B4C22 ccpp_static_api_m 2172
ccpp_static_api.F90"
Moorthi
On Thu, Jul 29, 2021 at 1:59 PM HelinWei-NOAA ***@***.***>
wrote:
> @DeniseWorthen <https://github.com/DeniseWorthen> From my testing, I
> found it was caused by fractional grid. Because you still used the old
> fixed fields (on Gaussian grid), sometimes vegetation and soil type
> mismatches will happen with fractional grid. vegetation type indicates land
> but soil type points to water. So for my own runs, I use the tiled fixed
> fields. George has run QC to make sure that situation will not happen with
> fraction grid when he creates the tiled fixed fields. For the time being,
> you can turn off fractional grid scheme. P7 runs will also use the tiled
> fixed fields and there should be no such issue.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#609 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ALLVRYXANCZPXSW2R62BLY3T2GJGVANCNFSM45YNLQ3Q>
> .
>
--
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: ***@***.***
Phone: (301) 683-3718 Fax: (301) 683-3718
--
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: ***@***.***
Phone: (301) 683-3718 Fax: (301) 683-3718
|
My testing indicates that it is |
@SMoorthi-emc Can you try to turn off the fractional grid? That means we still have some mismatches with those tiled fixed fields, i.e. the land-sea mask points to the land while both veg/soil type are water with fractional grid. |
I want to make a correction. It is not veg and soil type mismatch. It is land-sea mask vs veg/soil type with fractional grid. If you print out parameters%bexp(1), the model will crash with bexp=0 and soil type=14, vtype=17.
|
Just submitted. I am just trying to run for 6hrs.
On Thu, Jul 29, 2021 at 2:14 PM HelinWei-NOAA ***@***.***>
wrote:
… Helin, I decided to give a try to NoahMP with debug on. I am using
frac_grid=.true. and tiled fix fields. Yet my job crashed with the same
error "libpthread-2.17.s 00002AFE3877D630 Unknown Unknown Unknown
fv3_cmeps_CICE6_n 0000000009539438 module_sf_noahmpl 2028
module_sf_noahmplsm.f90 fv3_cmeps_CICE6_n 000000000952D007
module_sf_noahmpl 756 module_sf_noahmplsm.f90 fv3_cmeps_CICE6_n
0000000008BF305C noahmpdrv_mp_noah 840 sfc_noahmp_drv.F90 fv3_cmeps_CICE6_n
0000000006C5FE0E smgshocnsstnoahmp 794
ccpp_FV3_GFS_cpld_rasmgshocnsstnoahmp_ugwp_physics_cap.F90
fv3_cmeps_CICE6_n 00000000062B4C22 ccpp_static_api_m 2172
ccpp_static_api.F90" Moorthi
… <#m_-5465419480722264843_>
On Thu, Jul 29, 2021 at 1:59 PM HelinWei-NOAA *@*.
*> wrote: @DeniseWorthen <https://github.com/DeniseWorthen>
https://github.com/DeniseWorthen <https://github.com/DeniseWorthen> From my
testing, I found it was caused by fractional grid. Because you still used
the old fixed fields (on Gaussian grid), sometimes vegetation and soil type
mismatches will happen with fractional grid. vegetation type indicates land
but soil type points to water. So for my own runs, I use the tiled fixed
fields. George has run QC to make sure that situation will not happen with
fraction grid when he creates the tiled fixed fields. For the time being,
you can turn off fractional grid scheme. P7 runs will also use the tiled
fixed fields and there should be no such issue. — You are receiving this
because you are subscribed to this thread. Reply to this email directly,
view it on GitHub <#609 (comment)
<#609 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALLVRYXANCZPXSW2R62BLY3T2GJGVANCNFSM45YNLQ3Q
<https://github.com/notifications/unsubscribe-auth/ALLVRYXANCZPXSW2R62BLY3T2GJGVANCNFSM45YNLQ3Q>
. -- 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: @.* Phone: (301) 683-3718
Fax: (301) 683-3718
@SMoorthi-emc <https://github.com/SMoorthi-emc> Can you try to turn off
the fractional grid? That means we still have some mismatches with those
tiled fixed fields, i.e. the land-sea mask points to the land while both
veg/soil type are water with fractional grid.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#609 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALLVRYRQV26O7QG672ZL2W3T2GK65ANCNFSM45YNLQ3Q>
.
--
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: ***@***.***
Phone: (301) 683-3718 Fax: (301) 683-3718
|
That's what I found too. Only when soil type=14 (water), bexp=0. When the point is water, the LSM should not be called. |
Noah LSM doesn't assign bexp to zero for soil type 14 (water). Otherwise the run with Noah LSM and fractional grid should crash too. |
Well, my run was not successful as my script is not completely general.
I think we may need protection in the code if the landfrac is > 0 and soil
type is water, to reset landfrac to zero or something such fix.
…On Thu, Jul 29, 2021 at 2:30 PM HelinWei-NOAA ***@***.***> wrote:
My testing indicates that it is parameters%bexp(1) which can be zero. I
am testing on gaea right now to avoid hera congestion so I can't point you
to a run directory unless you also have access to gaea.
That's what I found too. Only when soil type=14 (water), bexp=0. When the
point is water, the LSM should not be called.
Noah LSM doesn't assign bexp to zero for soil type 14 (water). Otherwise
the run with Noah LSM and fractional grid should crash too.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#609 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALLVRYQYP7H2Q5GFKQXF46LT2GM3VANCNFSM45YNLQ3Q>
.
--
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: ***@***.***
Phone: (301) 683-3718 Fax: (301) 683-3718
|
Moorthi,
I agree. But it is better to do it when we create those fixed fields with
the fraction grid. As long as landfrc >0, we need to have valid veg/soil
types.
On Thu, Jul 29, 2021 at 2:44 PM SMoorthi-emc ***@***.***>
wrote:
… Well, my run was not successful as my script is not completely general.
I think we may need protection in the code if the landfrac is > 0 and soil
type is water, to reset landfrac to zero or something such fix.
On Thu, Jul 29, 2021 at 2:30 PM HelinWei-NOAA ***@***.***>
wrote:
> My testing indicates that it is parameters%bexp(1) which can be zero. I
> am testing on gaea right now to avoid hera congestion so I can't point
you
> to a run directory unless you also have access to gaea.
>
> That's what I found too. Only when soil type=14 (water), bexp=0. When the
> point is water, the LSM should not be called.
>
> Noah LSM doesn't assign bexp to zero for soil type 14 (water). Otherwise
> the run with Noah LSM and fractional grid should crash too.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <
#609 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ALLVRYQYP7H2Q5GFKQXF46LT2GM3VANCNFSM45YNLQ3Q
>
> .
>
--
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: ***@***.***
Phone: (301) 683-3718 Fax: (301) 683-3718
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#609 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALPHKYC3E2VMBJPRQCCVZCDT2GOPZANCNFSM45YNLQ3Q>
.
|
I'm confused about your statement that "P7 runs will also use the tiled fixed fields and there should be no such issue." This test is for the P7 configuration. The resolution is C96/1deg because that is our control case for regression testing. Since this test uses tiled fixed files then it indicates to me that either a) the QC was not adequate on the C96 files or b) even with QC, the code needs modification to ensure that LSM is not called for water points. |
@GeorgeGayno-NOAA Can you confirm your code did assign both valid soil and veg types for fractional grid (1>landfrc>0)? We came across the situation with landfrc > 0 but both soil/veg indicate water.
|
Helin,
I was able to run with ffrac_grid=.false., but using the tiled fix fields
(from the frac dir) and the model did not crash (it ran out of time as I
was testing in the debug queue).
Moorthi
On Thu, Jul 29, 2021 at 2:43 PM Shrinivas Moorthi - NOAA Federal <
***@***.***> wrote:
… Well, my run was not successful as my script is not completely general.
I think we may need protection in the code if the landfrac is > 0 and soil
type is water, to reset landfrac to zero or something such fix.
On Thu, Jul 29, 2021 at 2:30 PM HelinWei-NOAA ***@***.***>
wrote:
> My testing indicates that it is parameters%bexp(1) which can be zero. I
> am testing on gaea right now to avoid hera congestion so I can't point you
> to a run directory unless you also have access to gaea.
>
> That's what I found too. Only when soil type=14 (water), bexp=0. When the
> point is water, the LSM should not be called.
>
> Noah LSM doesn't assign bexp to zero for soil type 14 (water). Otherwise
> the run with Noah LSM and fractional grid should crash too.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#609 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ALLVRYQYP7H2Q5GFKQXF46LT2GM3VANCNFSM45YNLQ3Q>
> .
>
--
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: ***@***.***
Phone: (301) 683-3718 Fax: (301) 683-3718
--
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: ***@***.***
Phone: (301) 683-3718 Fax: (301) 683-3718
|
Where are the ICs from chgres? I can help check. |
Hi George,
The ICs are here:
/scratch2/NCEPDEV/stmp3/Bing.Fu/o/p7ic/com/gens/dev/merge/C384_025
Thanks,
Bing
…---------------------------------------------------------
Bing Fu
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct.,
College Park, MD 20740
***@***.***
301-683-3738
---------------------------------------------------------
On Mon, Aug 2, 2021 at 11:09 AM GeorgeGayno-NOAA ***@***.***> wrote:
@bingfu-NOAA <https://github.com/bingfu-NOAA> could you please pick a few
more ICs to check if there are points where 1) veg and soil type are 0
while land frac > 0, 2) veg=17 and soil=14 while land frac >0 ? If these
points do exist, can you trace back to find out at which step of the IC
generation they occurred ?
Where are the ICs from chgres? I can help check.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#609 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALQG5GZ74UFPBVJFOJIGN6TT22YLZANCNFSM45YNLQ3Q>
.
|
@bingfu-NOAA @GeorgeGayno-NOAA If you need any help, I can assist too. I have some scripts that I have used to check some of the tiles in the past: /home/Michael.Barlage/data/check They could be easily modified for whatever purpose. |
@bingfu-NOAA Thanks. I checked the surface files for 2018030100. The files do not contain the land fraction record, only the 'slmsk'. Looking at tile 1, 'slmsk' is either 0 or 1. I see there are numerous points that have a valid soil/veg type with an 'slmsk' of 0. I was not able to tell if there were any undefined soil/veg points where 'slmsk' was '1'. If the model uses land fraction from the orog files, please let me know where they are so I can do a proper check of the surface files. |
Hi George,
Thanks for helping to check the files. The oro files are here:
/scratch2/NCEPDEV/stmp3/Bing.Fu/fixtile/oro_C384.mx025_ceil.tile1.nc
and
/scratch2/NCEPDEV/stmp3/Bing.Fu/fixtile/oro_C384.mx025_floor.tile1.nc
I am going to re-run a case and check all the log files.
Bing
…---------------------------------------------------------
Bing Fu
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct.,
College Park, MD 20740
***@***.***
301-683-3738
---------------------------------------------------------
On Mon, Aug 2, 2021 at 11:49 AM GeorgeGayno-NOAA ***@***.***>
wrote:
Hi George, The ICs are here:
/scratch2/NCEPDEV/stmp3/Bing.Fu/o/p7ic/com/gens/dev/merge/C384_025 Thanks,
Bing
… <#m_-5810848534313804343_>
--------------------------------------------------------- Bing Fu IMSG at
NOAA/NWS/NCEP/EMC 5830 University Research Ct., College Park, MD 20740 *@*.***
301-683-3738
On Mon, Aug 2, 2021 at 11:09 AM GeorgeGayno-NOAA *@*.***> wrote:
@bingfu-NOAA <https://github.com/bingfu-NOAA>
https://github.com/bingfu-NOAA could you please pick a few more ICs to
check if there are points where 1) veg and soil type are 0 while land frac
> 0, 2) veg=17 and soil=14 while land frac >0 ? If these points do exist,
can you trace back to find out at which step of the IC generation they
occurred ? Where are the ICs from chgres? I can help check. — You are
receiving this because you were mentioned. Reply to this email directly,
view it on GitHub <#609 (comment)
<#609 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALQG5GZ74UFPBVJFOJIGN6TT22YLZANCNFSM45YNLQ3Q
.
@bingfu-NOAA <https://github.com/bingfu-NOAA> Thanks. I checked the
surface files for 2018030100. The files do not contain the land fraction
record, only the 'slmsk'. Looking at tile 1, 'slmsk' is either 0 or 1. I
see there are numerous points that have a valid soil/veg type with an
'slmsk' of 0. I was not able to tell if there were any undefined soil/veg
points where 'slmsk' was '1'. If the model uses land fraction from the orog
files, please let me know where they are so I can do a proper check of the
surface files.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#609 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALQG5GYOBUEQA4I2ZVYQSZLT2247JANCNFSM45YNLQ3Q>
.
|
The oro data the model actually reads in for integration is /scratch1/NCEPDEV/global/glopara/fix/fix_fv3_fracoro/C384.mx025_frac/oro_C384.mx025.tile1.nc. Is there any concern about the consistency between this file and the ceil/floor files ? @shansun6 Shan, can you remind us again the differences between the three files ? |
I looked at the oro data here: /scratch1/NCEPDEV/global/glopara/fix/fix_fv3_fracoro/C384.mx025_frac. And the surface data here: /scratch2/NCEPDEV/stmp3/Bing.Fu/o/p7ic/com/gens/dev/merge/C384_025/2018030100/gfs/C384/INPUT Using 'ncview' I did not see any obvious mismatches. To confirm, I will need to write a utility to read each file and check. Unless someone already has a utility to do that. |
@GeorgeGayno-NOAA I expanded the check ncl script here: (0) number of cumulative fix_mask=1: 260881 The final four are reporting that everywhere there are valid land (veg type > 0) and soil (soil type >0 and /=14) in the surface tiles, there are coincident values in the fix files. Also, cross checking sfc land with fix soil and fix land with sfc soil shows the same, no inconsistencies. |
@barlage @GeorgeGayno-NOAA Thank you all for your help to check the sfc IC files. |
@barlage @GeorgeGayno-NOAA This is interesting and puzzling. @shansun6 noticed there are mismatched points between the new oro data @mdtoyNOAA Mike created for the uGWD and the original fractional oro data. Shan's email
|
Hi -
Similar to what George and Mike found, I didn't find any inconsistency
between the oro data at
/scratch1/NCEPDEV/global/glopara/fix/fix_fv3_fracoro/C384.mx025_frac
and the surface data at
/scratch2/NCEPDEV/stmp3/Bing.Fu/o/p7ic/com/gens/dev/merge/C384_025/2018030100/gfs/C384/INPUT.
Namely,
(1) at each point with land_frac >0, both vtype & stype are > 0.
(2) at each point with land_frac=0, both vtype & type are zero.
Let me know if you need more info.
Shan
…On Mon, Aug 2, 2021 at 7:23 PM Michael Barlage ***@***.***> wrote:
@GeorgeGayno-NOAA <https://github.com/GeorgeGayno-NOAA> I expanded the
check ncl script here:
/home/Michael.Barlage/data/check/check_land_soil.ncl
(0) number of cumulative fix_mask=1: 260881
(0) number of cumulative fix_land_frac (0,1]: 273435
(0) number of cumulative fix_lake_frac (0,1]: 6907
(0) number of cumulative valid fix land type: 273435
(0) number of cumulative valid fix soil type: 273435
(0) number of cumulative missing fix veg type with land: 0
(0) number of cumulative missing fix soil type with land: 0
(0) number of cumulative fix land type = 17: 0
(0) number of cumulative sfc_mask=1 : 255365
(0) number of cumulative valid sfc land type: 273435
(0) number of cumulative valid sfc soil type: 273435
(0) number of cumulative sfc land type >0 : 273435
(0) number of cumulative sfc soil type /=14: 273435
(0) number of cumulative sfc land type =0 : 611301
(0) number of cumulative sfc soil type =0 : 611301
(0) number of cumulative sfc land type =17 : 0
(0) number of cumulative sfc soil type =14 : 0
(0) number of cumulative mismatch land : 0
(0) number of cumulative mismatch soil : 0
(0) number of cumulative mismatch cross1 : 0
(0) number of cumulative mismatch cross2 : 0
The final four are reporting that everywhere there are valid land (veg
type > 0) and soil (soil type >0 and /=14) in the surface tiles, there are
coincident values in the fix files. Also, cross checking sfc land with fix
soil and fix land with sfc soil shows the same, no inconsistencies.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#609 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALORMVSUG3GBYBD43AFCMFDT25AKNANCNFSM45YNLQ3Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Is there a precision issue ? For instance, land_frac=0 in the ICs becomes a very small value after being read into the model. Can we run a test by setting in the model, for instance, if ( land_frac < 1.0E-6) then land_frac=0 ? |
@shansun6 you may want to also add a check for vtype>0 and stype=14 14 is soil type "water" and does not have valid values in the noahmp parameter table and I believe was the source of the original problems in this issue. |
Hi Fanglin,
Interesting on the precision issue. However, this issue didn't happen in P6
though.
Shan
…On Mon, Aug 2, 2021 at 8:32 PM Fanglin Yang ***@***.***> wrote:
(1) at each point with land_frac >0, both vtype & stype are > 0.
(2) at each point with land_frac=0, both vtype & type are zero.
Is there a precision issue ? For instance, land_frac=0 in the ICs becomes
a very small value after being read into the model. Can we run a test by
setting in the model, for instance, if ( land_frac < 1.0E-6) then
land_frac=0 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#609 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALORMVTOYYGVJVHUKKQFRMLT25ILVANCNFSM45YNLQ3Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
This is consistent with what I found. There is no soil type 14 in the soil type data from the fixed fields. But the model crashed at the point with soil type =14. Below is the email I sent to Moorth when we discussed this issue: Even I added this section to FV3GFS_io.F90, the model still crashed at the same point.
! landfrac >0 with veg/soil point to water, set landfrac=0
It turns out in FV3GFS_io.F90, we don't have any case for soil type =14. The soil type is from Sfcprop(nb)%stype(ix). However in the other place like sfc_noahmp_drv.F90, the soil type is given by GFS_Interstitial(cdata%thrd_no)%soiltype. Do you know where GFS_Interstitial(cdata%thrd_no)%soiltype is defined in the model? So basically there is a conflict, we don't have any soil type 14 from Sfcprop but we have some from GFS_Interstitial(cdata%thrd_no). |
Hi Mike,
Thanks for your reply. When I added a check for vtype>0 and stype=14, there
was no point showing up. Actually there was no point with stype=14
regardless of vtype. Is it possible?
Shan
…On Mon, Aug 2, 2021 at 8:58 PM Michael Barlage ***@***.***> wrote:
@shansun6 <https://github.com/shansun6> you may want to also add a check
for vtype>0 and stype=14
14 is soil type "water" and does not have valid values in the noahmp
parameter table and I believe was the source of the original problems in
this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#609 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALORMVWECJ4XE4FP4FTGQI3T25LLHANCNFSM45YNLQ3Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
or soil type 14 is from GFS_surface_generic.F90 |
The raw data has only valid type over land only. So actually we don't have stype=14. Over water it is either 0 or the flag value. |
Now both fixed fields and ICs look good. There should be some issues in the code and Moorthi already has the solution. @SMoorthi-emc can you explain what you found and how you fixed the problem? Thanks. |
We have another problem to address. I will get back after figuring that
out.
Moorthi
…On Tue, Aug 3, 2021 at 12:16 AM HelinWei-NOAA ***@***.***> wrote:
Now both fixed fields and ICs look good. There should be some issues in
the code and Moorthi already has the solution. @SMoorthi-emc
<https://github.com/SMoorthi-emc> can you explain what you found and how
you fixed the problem? Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#609 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALLVRYXOVDQP2KI2LQSPUUTT25UP3ANCNFSM45YNLQ3Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
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: ***@***.***
Phone: (301) 683-3718 Fax: (301) 683-3718
|
Helin,
There may be a bigger problem with NoahMP.
Please see the attached figure which plots soilt1 at 0N. The green line is
from Noah and black line is from NoahMP
The noah version was run with gwd_opt=1, and the noamp version with
gwd_opt=2.
Unfortunately, my SDF's were like that. Otherwise the remaining code is the
same.
Moorthi
On Tue, Aug 3, 2021 at 8:00 AM Shrinivas Moorthi - NOAA Federal <
***@***.***> wrote:
… We have another problem to address. I will get back after figuring that
out.
Moorthi
On Tue, Aug 3, 2021 at 12:16 AM HelinWei-NOAA ***@***.***>
wrote:
> Now both fixed fields and ICs look good. There should be some issues in
> the code and Moorthi already has the solution. @SMoorthi-emc
> <https://github.com/SMoorthi-emc> can you explain what you found and how
> you fixed the problem? Thanks.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#609 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ALLVRYXOVDQP2KI2LQSPUUTT25UP3ANCNFSM45YNLQ3Q>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
> .
>
--
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: ***@***.***
Phone: (301) 683-3718 Fax: (301) 683-3718
--
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: ***@***.***
Phone: (301) 683-3718 Fax: (301) 683-3718
|
NOAH-MP was turned on in p7a and p7b. Soil temp was fine in Lydia's plot. Can we make a run with NOAH-MP and uGWD.v0 (gwd_opt=1) ? A new SDF needs to be created it does not exist. |
Code was fixed in PR #723 |
* update atmos_cubed_sphere
1) Fix the bad WE2E test configuration file for MET_verification_only_vx (Issue #608). 2) Make creation of symlinks to pregenerated files depend on whether downstream tasks need those symlinks (Issue #610). 3) Set default value of FIXdir to HOMEdir/fix only when RUN_ENVIR="nco", not when RUN_TASK_MAKE_GRID=False; otherwise, set FIXdir to EXPTDIR (Issue #616). 4) Add a flag to the script get_expts_status.sh so that if an experiment hasn't been launched yet, it calls the launch script launch_FV3LAM_wflow.sh to launch it instead of only outputting a message that it's not yet launched.
The way the fix directory is set changed in PR #609, specifically item number 3. I think this has been causing an issue with forced run_envir=nco mode. I don't have a full explanation for this at the moment, but reverting back to old way of setting FIXdir seems to atleast partially fix the issue. I was able to run fundamental tests successfully on Hera using run_envir=nco.
Description
Compiling S2S in debug mode and running a new cpld_bmarkfrac_v16_noahmp test produces a segfault.
To Reproduce:
Checkout this branch
This branch includes a new (non-wave) benchmark_v16_7b test and a matching restart test. To produce the segfault:
./rt.sh -cek -l rt.test > output 2>&1 &
The low-resolution cpld_control_p7 test is located in this branch
Additional context
Output
err log:
The offending line is:
fsno = tanh( snowh /(parameters%scffac * fmelt))
The following modification eliminates the segfault :
if(fmelt .gt. 0.)fsno = tanh( snowh /(parameters%scffac * fmelt))
.With the above fix, when compiled in non-debug mode the v16 noahmp restart test passes.
The text was updated successfully, but these errors were encountered: