How to Compile?

How to Run?

WRF Namelist

Known Problems and Fixes

Graphic Tools

Utilities

 

 

 

WRF Model Version 4.0 : Known Problems and Fixes


Newer GNU Internal Compiler Error with Bounds Checking (Posted June 8, 2018)

Problem: Starting with GNU/6.4.0 and continuing through (at least) GNU/7.2.0, the fast RRTMG scheme is not able to compile when using the "-D" option on the configure command.

./configure -D


Below is the message users will see after the build:

module_ra_rrtmg_swf.f90:5612:0:

      use rrsw_kg21_f, only : kao, kbo, selfrefo, forrefo, sfluxrefo, &

internal compiler error: in gfc_trans_use_stmts, at fortran/trans-decl.c:4920

module_ra_rrtmg_swf.f90:5612:0: internal compiler error: Abort trap: 6 gfortran: internal compiler error: Abort trap: 6 (program f951)

Solution: Currently, the solution is to remove the offending code (RRTMG fast for longwave and shortwave). After the user constructs the configure.wrf file (after the configure step, and before the compile step), the configure.wrf file is edited. Remove this line:

-DBUILD_RRTMG_FAST=1 \

Then the code may be built as usual. Note that in this condition, the WRF code may not be used to run either of the fast RRTMG schemes.



Incorrect Pressure with use_theta_m = 1 (Posted Aug 14, 2018)

Problem: There is a known error in the wrf.exe program, noticeable in the pressure field, related to the usage of the moist potential temperature option (use_theta_m=1). In the WRF/dyn_em/start_em.F file, near line 782, the original code ALWAYS includes the scale factor of 1+Rv/Rd*Qv for the potential temperature. In the case that the incoming potential temperature variable is already moist theta (i.e., the user has set use_theta_m=1, which is now the default), then this is a repeated scaling.

Solution: Download this modified start_em.F file. Unpack it in the WRF/dyn_em/ directory and then recompile the code. Since there is no change to the registry, it is not necessary to clean or reconfigure. Simply recompile.

 

 




 
 
Home -- Model System -- User Support -- Doc / Pub -- Links -- Download -- WRF Real-time Forecast