Skip to content

Bad Ungrib Output From CMake Build #279

@scrasmussen

Description

@scrasmussen

ISSUE: running ungrib.exe gives bad results when using the new CMake build.

  • An error first appears when running ./real.exe
$ tail rsl.error.0000
Max map factor in domain 1 =  1.00. Scale the dt in the model accordingly.
Using sfcprs3 to compute psfc
d01 2013-09-09_18:00:00 Old data, no inland lake information
 Assume Noah LSM input
d01 2013-09-09_18:00:00 forcing artificial silty clay loam at    7 points, out of   1681
-------------- FATAL CALLED ---------------
grid%tsk unreasonable
-------------------------------------------

$ tail rsl.out.0000
 i,j=          36           8
 grid%landmask=   1.00000000
 grid%tsk, grid%sst, grid%tmn=   162768112.       0.00000000       281.150146
 error in the grid%tsk
 i,j=          37           8
 grid%landmask=   0.00000000
 grid%tsk, grid%sst, grid%tmn=   162768112.       161704032.       162768112.
-------------- FATAL CALLED ---------------
grid%tsk unreasonable
-------------------------------------------
  • But it gets introduced earlier, which is apparent when looking at met_em.d01.2013-09-09_18:00:00.nc output produced by a CMake built ungrib and met
Image
  • If we run ungrib with one build with the old configure method or /glade/work/wrfhelp/derecho_pre_compiled_code/wpsv4.6.0_jb/ungrib.exe and the rerun ./metgrid.exe, the output looks better
Image

INSTRUCTIONS TO REPRODUCE ERROR:

  • I'm working through the A2. Coupled WRF | WRF-Hydro Test Case User Guide in appendices.pdf. (I've attached a PDF because the readthedocs is slightly out of date and the PR with updates hasn't been merged yet)
  • In the PDF there are instructions for the CMake and older GNU Make methods.
  • I'm building on Derecho and using the GNU modules, as listed in the appendix instructions
$ module purge
$ module load ncarenv gcc ncarcompilers cray-mpich craype netcdf cmake
  • Note, in namelist.wps I use
geog_data_path = '/glade/work/wrfhelp/WPS_GEOG/',

and followed the PDF instructions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions