WRFDA community support

Frequently asked questions

Known problems and solutions

System requirements

About wrfhelp

wrf-news list

wrf-users list

Becoming a registered user

WRF Workshop

WRFDA Tutorials

Users' Guide

 

 

 

Known bugs and solutions (if available)

NOTE: if you are running WRFDA on the Yellowstone machine and your problem is not listed on this page, click here.

Before installing WRFDA, ensure your system meets the minimum requirements.

If your issue is not found on this page, please contact wrfhelp for assistance.


WRFDA Version 3.8.1 : Known Problems and Fixes

Compilation Errors

PGI 4DVAR compilation failure (posted 2017-04-13)

Problem:
WRFDA fails to compile for 4DVAR with PGI compilers, giving the following error message:

PGF90-S-0155-Ambiguous interfaces for generic procedure set_tiles (da_wrfvar_top.f: 3921)

Solution:
Add a new line containing the text "set_tiles" just before the "##########" line at the end of the file var/build/da_name_space.pl. Then run `clean -a` and re-compile.

Run-Time Errors

"The microphysics option does not exist" during adjoint integrate step for 4DVAR (posted 2017-04-13)

Problem:
WRFDA fails with the following error message (the exact number may vary):

FATAL CALLED FROM FILE: <stdin> LINE: 1837
The microphysics option does not exist: mp_physics = 1075052544

Solution:
Copy the following two files into the WRFDA/var/da/da_4dvar directory:

overwriting the existing files in that directory. Then re-compile the code.

"Error in decomposition" when assimilating radiances with CRTM (posted 2017-01-19)

Problem:
WRFDA fails with the following (or similar) error message:

Fatal error in file: da_eof_decomposition.inc LINE: 40
Error in decomposition, info = 7

Solution:
This problem is due to pixels not being rejected properly when CRTM has errors calculating the vertical pressure profile.
In file var/da/da_radiance/da_get_innov_vector_crtm.inc, after line 434, add the following text on its own new line:

iv%instid(inst)%info%proc_domain(:,n) = .false.

This should be just before the line that says "cycle pixel_loop"
Then re-compile the code. This should properly reject these bad pixels which cause this failure.

"Error in decomposition" when assimilating radiances with CRTM (posted 2017-01-19)

Problem:
WRFDA fails with the following (or similar) error message:

Fatal error in file: da_eof_decomposition.inc LINE: 40
Error in decomposition, info = 7

Solution:
This problem is due to pixels not being rejected properly when CRTM has errors calculating the vertical pressure profile.
In file var/da/da_radiance/da_get_innov_vector_crtm.inc, after line 434, add the following text on its own new line:

iv%instid(inst)%info%proc_domain(:,n) = .false.

This should be just before the line that says "cycle pixel_loop"
Then re-compile the code. This should properly reject these bad pixels which cause this failure.

Precision errors using ifort on Cray machines (posted 2016-09-21)

Problem:
The WRFPLUS adjoint check fails on Cray machines:

ad_check: VAL_TL: 0.29626592914807E+12
ad_check: VAL_AD: 0.29626592915255E+12

This may result in precision problems, including bit-for-bit differences between runs, on affected machines

Solution:
Replace the arch/configure_new.defaults file in your WRFPLUS and/or WRFDA builds with this version: configure_new.defaults

After replacing the file, run ./clean -a and re-compile WRFPLUS and/or WRFDA.

WRFDA Version 3.8 : Known Problems and Fixes

Compilation Errors

PGI 4DVAR compilation failure (posted 2017-04-13)

Problem:
WRFDA fails to compile for 4DVAR with PGI compilers, giving the following error message:

PGF90-S-0155-Ambiguous interfaces for generic procedure set_tiles (da_wrfvar_top.f: 3921)

Solution:
Add a new line containing the text "set_tiles" just before the "##########" line at the end of the file var/build/da_name_space.pl. Then run `clean -a` and re-compile.

Run-Time Errors

"The microphysics option does not exist" during adjoint integrate step for 4DVAR (posted 2017-04-13)

Problem:
WRFDA fails with the following error message (the exact number may vary):

FATAL CALLED FROM FILE: <stdin> LINE: 1837
The microphysics option does not exist: mp_physics = 1075052544

Solution:
Copy the following two files into the WRFDA/var/da/da_4dvar directory:

overwriting the existing files in that directory. Then re-compile the code.

"Error in decomposition" when assimilating radiances with CRTM (posted 2017-01-19)

Problem:
WRFDA fails with the following (or similar) error message:

Fatal error in file: da_eof_decomposition.inc LINE: 40
Error in decomposition, info = 7

Solution:
This problem is due to pixels not being rejected properly when CRTM has errors calculating the vertical pressure profile.
In file var/da/da_radiance/da_get_innov_vector_crtm.inc, after line 434, add the following text on its own new line:

iv%instid(inst)%info%proc_domain(:,n) = .false.

This should be just before the line that says "cycle pixel_loop"
Then re-compile the code. This should properly reject these bad pixels which cause this failure.

Compilation error in BUFR libraries (posted 2016-05-15)

Problem:
BUFR libraries (and therefore da_wrfvar.exe) fail to compile, potentially with the following (or similar) error message:

atrcpt.f:3.1:
C$$$ SUBPROGRAM DOCUMENTATION BLOCK
1
Fatal Error: Invalid character '$' at (1). Use -fdollar-ok to allow it as an extension

Solution:
This problem is due to a mistake in the BUFR Makefile, causing variables in the user's environment to be read incorrectly. There are two potential solutions:

  • Unset the environment variables "FCFLAGS" and/or "FORMAT_FIXED"
  • Replace the file var/external/bufr/Makefile with this version: (Makefile)

After applying either above solution, run ./clean -a and re-compile WRFDA.

Segmentation fault when running 4DVAR with RRTMG physics (posted 2016-05-15)

Problem:
Code crashes when running WRFDA-4DVAR with ra_lw_physics=4 and/or ra_sw_physics=4.

Solution:
Replace the file WRFPLUSV3/phys/module_ra_cam_support.F with this copy: (module_ra_cam_support.F). Then re-compile WRFPLUS and WRFDA (in that order).

WRFDA Version 3.7.1 : Known Problems and Fixes

"Error in decomposition" when assimilating radiances with CRTM (posted 2017-01-19)

Problem:
WRFDA fails with the following (or similar) error message:

Fatal error in file: da_eof_decomposition.inc LINE: 40
Error in decomposition, info = 7

Solution:
This problem is due to pixels not being rejected properly when CRTM has errors calculating the vertical pressure profile.
In file var/da/da_radiance/da_get_innov_vector_crtm.inc, after line 434, add the following text on its own new line:

iv%instid(inst)%info%proc_domain(:,n) = .false.

This should be just before the line that says "cycle pixel_loop"
Then re-compile the code. This should properly reject these bad pixels which cause this failure.

Error for large domains of certain sizes (posted 2016-12-07)

Problem:
WRFDA fails with the error message:
Fatal error in file: <A HREF="http://www.mmm.ucar.edu/people/wrfhelp/wrfvar/code/trunk/da_setup_runconstants.html">da_setup_runconstants.inc</a> LINE: 54
No factor found

Solution:
This error can seen when running WRFDA for large domains of certain sizes, due to the way WRFDA's FFT routines work. In the file var/da/da_setup_structures/da_setup_runconstants.inc, change "nrange" as defined in the beginning of the program from "60" to "1000", then recompile the code. This should allow WRFDA to work for very large domains, up to tens of thousands of grid points across.

Error using VARBC for IASI (posted 2016-04-06)

Problem:
Code crashes when using Variational Bias Correction for IASI instrument

Solution:
This problem is due to incorrect entries in the default VARBC.in file; use this version instead: (VARBC.in)

Failure to compile with RTTOV 11.3 (posted 2015-10-14)

Problem:
When using RTTOV 11.3, WRFDA fails to compile with an error message beginning with:

Can not find a compatible RTTOV library!

Solution:
Replace the file WRFDA/compile with this copy: (compile). Then run "./clean -a" and recompile.

Bad results with new cv_options=7 background error option (posted 2015-12-09)

Problem:
GEN_BE has a bug for the new cv_options=7 option that produces incorrect statistics for some control variables in be.dat.

Solution:
As a quick fix for version 3.7.1: Replace the script WRFDA/var/scripts/gen_be/gen_be.ksh with this copy: (gen_be.ksh). There is no need to recompile WRFDA; the new script will be read properly at run time. We highly recommend using a more recent version of WRFDA (V3.8 or newer) if you plan on using the CV7 GEN_BE option.

WRFDA Version 3.7 : Known Problems and Fixes

NOTE: It is strongly recommended that you not use wrfinput files created with WRF version 3.7, which have problems with the initial wind field when generated from GFS or FNL input. Either upgrade to WRF version 3.7.1 or apply the fix mentioned on the WRF Known Problems page under "Input/Boundary Data".

Compilation Errors

"Error in decomposition" when assimilating radiances with CRTM (posted 2017-01-19)

Problem:
WRFDA fails with the following (or similar) error message:

Fatal error in file: da_eof_decomposition.inc LINE: 40
Error in decomposition, info = 7

Solution:
This problem is due to pixels not being rejected properly when CRTM has errors calculating the vertical pressure profile.
In file var/da/da_radiance/da_get_innov_vector_crtm.inc, after line 434, add the following text on its own new line:

iv%instid(inst)%info%proc_domain(:,n) = .false.

This should be just before the line that says "cycle pixel_loop"
Then re-compile the code. This should properly reject these bad pixels which cause this failure.

Problems with PGI compilers (posted 2015-04-21)

Problem:
There are several known issues with WRFDA compiled with PGI compilers:

  • Certain 4DVAR tests fail
  • Bit-for-bit reproducability errors with PGI version 13.3, 13.9, and possibly others
  • PGI version 14+: 4DVAR compilation fails

No solution available at this time; use another compiler if possible

Run-time Errors

Error for large domains of certain sizes (posted 2016-12-07)

Problem:
WRFDA fails with the error message:
Fatal error in file: <A HREF="http://www.mmm.ucar.edu/people/wrfhelp/wrfvar/code/trunk/da_setup_runconstants.html">da_setup_runconstants.inc</a> LINE: 54
No factor found

Solution:
This error can seen when running WRFDA for large domains of certain sizes, due to the way WRFDA's FFT routines work. In the file var/da/da_setup_structures/da_setup_runconstants.inc, change "nrange" as defined in the beginning of the program from "60" to "1000", then recompile the code. This should allow WRFDA to work for very large domains, up to tens of thousands of grid points across.

Errors and bad results with the "rttov_emis_atlas_ir" option (posted 2015-08-12)

Problem:
For 4DVAR radiance assimilation with RTTOV, using the rttov_emis_atlas_ir=1 option can cause WRFDA to crash, and even if it does not crash the results are likely bad.

Solution:
Replace the file WRFDA/var/da/da_radiance/da_get_innov_vector_rttov.inc with this copy: (
da_get_innov_vector_rttov.inc). Then recompile WRFDA.

Bugs affecting results

Bad results with new "use_radar_rqv" option (posted 2015-05-19)

Problem:
In certain weather regimes (especially tropical), radar assimilation with use_radar_rqv=.true. will incorrectly result in no clouds.

Solution:
Replace the file WRFDA/var/da/da_radar/da_get_innov_vector_radar.inc with this copy: (
da_get_innov_vector_radar.inc). Then recompile WRFDA.

Bad results with new cv_options=7 background error option (posted 2015-12-09)

Problem:
GEN_BE has a bug for the new cv_options=7 option that produces incorrect statistics for some control variables in be.dat.

Solution:
As a quick fix for version 3.7: Replace the script WRFDA/var/scripts/gen_be/gen_be.ksh with this copy: (gen_be.ksh). There is no need to recompile WRFDA; the new script will be read properly at run time. When the next version of WRFDA (3.8) is released, we highly recommend using that version if you plan on using the CV7 GEN_BE option.

WRFDA Version 3.6.1 : Known Problems and Fixes

Error for large domains of certain sizes (posted 2016-12-07)

Problem:
WRFDA fails with the error message:
Fatal error in file: <A HREF="http://www.mmm.ucar.edu/people/wrfhelp/wrfvar/code/trunk/da_setup_runconstants.html">da_setup_runconstants.inc</a> LINE: 54
No factor found

Solution:
This error can seen when running WRFDA for large domains of certain sizes, due to the way WRFDA's FFT routines work. In the file var/da/da_setup_structures/da_setup_runconstants.inc, change "nrange" as defined in the beginning of the program from "60" to "1000", then recompile the code. This should allow WRFDA to work for very large domains, up to tens of thousands of grid points across.

Failure to compile with RTTOV 11.2 (posted 2014-10-17)

Problem:
When using RTTOV 11.2, WRFDA fails to compile with the following (or similar) error message:

ld: cannot find -lrttov11.1.0_coef_io

Solution:
Replace the file WRFDA/compile with this copy: (compile). Then run "./clean -a" and recompile.

WRFDA Version 3.6 : Known Problems and Fixes

Compilation Errors

Failure to compile with RTTOV 11.2 (posted 2014-10-17)

Problem:
When using RTTOV 11.2, WRFDA fails to compile with the following (or similar) error message:

ld: cannot find -lrttov11.1.0_coef_io

Solution:
Replace the file WRFDA/compile with this copy: (
compile). Then run "./clean -a" and recompile.

"Unable to open MODULE file da_grid_definitions.mod" (posted 2014-07-23)

Problem:
WRFDA fails to compile with the following (or similar) error message:

Unable to open MODULE file da_grid_definitions.mod

Solution:
Replace the file WRFDA/var/build/depend.txt with this copy: (depend.txt). Then run "./clean -a" and recompile.

Problems compiling on Mac OS X 10.9 (Mavericks) and potentially other systems (posted 2014-05-27)

Problem:
WRFDA fails to compile, returning the following message at or near the end of the compilation log:

Undefined symbols for architecture x86_64:
  "_irev_", referenced from:
      _ipkm_ in libbufr.a(ipkm.o)
      _pkb_ in libbufr.a(pkb.o)
      _pkc_ in libbufr.a(pkc.o)
      _iupm_ in libbufr.a(iupm.o)
      _upbb_ in libbufr.a(upbb.o)
  "_wrdlen_", referenced from:
      _openbf_ in libbufr.a(openbf.o)
      _iupbs01_ in libbufr.a(iupbs01.o)
      _iupbs3_ in libbufr.a(iupbs3.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: [obsproc.exe] Error 1 (ignored)

Solution:
Please download and untar the following tar file (bufr.tar), which contains a directory named "bufr". Delete the directory "WRFDA/var/external/bufr" and replace it with the new "bufr" directory. Then run "./clean -a" and recompile.

Problems compiling with PGI fortran (posted 2014-05-02, updated 2014-07-27)

Problem:
Compilation fails with the message "PGF90-S-0155-Kind type parameter component does not have a corresponding type parameter specifier - n_layers (NLTECoeff_Define.f90: 125)". This specific error has been seen in PGI version 13.3 and 13.6.

Solution:
Replace the file "WRFDA/var/external/crtm_2.1.3/libsrc/NLTECoeff_Define.f90" with this copy: (NLTECoeff_Define.f90). Then run "./clean -a" and recompile.

Problem:
Compilation with version 12.5 fails with internal compiler error
Compilation with version 13.9 fails with assembler error

These are problems with the pgf90 compiler itself; we do not have a fix at this time.

Run-time Errors

Error for large domains of certain sizes (posted 2016-12-07)

Problem:
WRFDA fails with the error message:
Fatal error in file: <A HREF="http://www.mmm.ucar.edu/people/wrfhelp/wrfvar/code/trunk/da_setup_runconstants.html">da_setup_runconstants.inc</a> LINE: 54
No factor found

Solution:
This error can seen when running WRFDA for large domains of certain sizes, due to the way WRFDA's FFT routines work. In the file var/da/da_setup_structures/da_setup_runconstants.inc, change "nrange" as defined in the beginning of the program from "60" to "1000", then recompile the code. This should allow WRFDA to work for very large domains, up to tens of thousands of grid points across.

Error writing final output when assimilating PREPBUFR data (posted 2014-08-08)

Problem:
WRFDA fails after the minimization step with the following error:

 ---------------------------- FATAL ERROR -----------------------
 Fatal error in file: <A HREF="http://www2.mmm.ucar.edu/people/wrfhelp/wrfvar/cod
 e/trunk/da_read_omb_tmp.html">da_read_omb_tmp.inc</a>  LINE:     412
 Got unknown obs_type string:                   1 on unit  26
 ----------------------------------------------------------------
wrf_abort


This error may be seen when assimilating PREPBUFR data. The error has only been seen when running serially, but it may occur in parallel runs as well.

Solution:
Replace the file "WRFDA/var/da/da_obs_io/da_read_obs_bufr.inc" with this copy: (
da_read_obs_bufr.inc). Then run "./clean -a" and recompile.

Problems with 4DVAR radiance assimilation using RTTOV (posted 2014-07-27)

Problem:
Assimilation fails while calculating innovation vector. May either fail with an error ("profile deallocation error"), a segmentation fault or hang indefinitely. Last message printed to the rsl.out files is usually "Calculate innovation vector(iv)" or messages related to "VARBC".

Solution:
Replace the file "WRFDA/var/da/da_radiance/da_get_innov_vector_rttov.inc" with this copy: (da_get_innov_vector_rttov.inc). Then run "./clean -a" and recompile.

Problems reading LITTLE_R files in OBSPROC (posted 2014-06-23)

Problem:
OBSPROC fails to read LITTLE_R files, with one of the following (or similar) error messages:

forrtl: severe (64): input conversion error, unit -5, file Internal Formatted Read
Fortran runtime error: Bad value during integer read
PGFIO-F-231/formatted read/internal file/error on data conversion.

Solution:
Download and untar the following tar file (obsproc.tar), which contains a directory named "obsproc". Delete the directory "WRFDA/var/obsproc" and replace it with the new "obsproc" directory. Then run "./clean -a" and recompile.

Problems with SEVIRI radiance assimilation (posted 2014-05-16)

Problem:
WRFDA fails when SEVIRI data is assimilated. May either fail with an error such as a segmentation fault or hang indefinitely.

Solution:
Replace the following two files:

Then run "./clean -a" and recompile.

WRFDA Version 3.5 : Known Problems and Fixes

Error for large domains of certain sizes (posted 2016-12-07)

Problem:
WRFDA fails with the error message:
Fatal error in file: <A HREF="http://www.mmm.ucar.edu/people/wrfhelp/wrfvar/code/trunk/da_setup_runconstants.html">da_setup_runconstants.inc</a> LINE: 54
No factor found

Solution:
This error can seen when running WRFDA for large domains of certain sizes, due to the way WRFDA's FFT routines work. In the file var/da/da_setup_structures/da_setup_runconstants.inc, change "nrange" as defined in the beginning of the program from "60" to "1000", then recompile the code. This should allow WRFDA to work for very large domains, up to tens of thousands of grid points across.

Compilation failure on IBM AIX platforms (posted 2015-01-14)

Problem:
Compilation of BUFR libraries fail on IBM AIX platforms using the cc_r C compiler, with the following message:

bort_exit.o: not found

make: The error code from the last command is 1.
make: Ignored error code 1 from last command.
    cc_r -o bort_exit.o -c -DNOUNDERSCORE  -DMAX_HISTORY=25 -DNMM_CORE=0 -DUNDERSCORE bort_exit.c

Solution:
Replace the file "var/external/bufr/Makefile" with this copy: (Makefile). Then run "./clean -a" and recompile.

WRFPLUS fails to compile with serial option is selected (posted 2014-01-30)

Problem:
Compilation of WRFPLUS fails at main/module_wrf_top.f90 with message "error #6404: This name does not have a type, and must have an explicit type." (or similar error message)

Solution:
Replace the file "main/module_wrf_top.F" with this copy: (module_wrf_top.F). Then run "./clean -a" and recompile WRFPLUS.

WRFDA compilation problem with some older compilers (posted 2013-04-29)

Problem:
Compilation fails with the message "Error: Too many digits in STOP code at (1)"

Solution:
Replace the file "var/da/da_radiance/da_read_obs_bufratms.inc" with this copy: (da_read_obs_bufratms.inc). Then run "./clean -a" and recompile.

Problem reading BUFR or PREPBUFR files (posted 2009-04-09)

Problem:
WRFDA 3.5 or earlier compiled with gfortran or ifort returns the following error message when trying to read a BUFR or PREPBUFR file:

**************BUFR ARCHIVE LIBRARY ABORT*****************
BUFRLIB: OPENBF - ERROR READING INPUT FILE CONNECTED TO UNIT 26
WHEN CHECKING FOR 'BUFR' IN FIRST 4 BYTES OF RECORD
**************BUFR ARCHIVE LIBRARY ABORT*****************

Solution:
See our page on Reading BUFR files

WRFDA Version 3.4 : Known Problems and Fixes

gfortran "Graphite loop optimizations" error (posted 2015-05-18)

Problem:
WRFDA fails to compile: gfortran gives the message "sorry, unimplemented: Graphite loop optimizations can only be used if the libcloog-ppl0 package is installed"

Solution:
After running the configuration script (./configure wrfda) edit the "configure.wrf" file to remove the text "-ftree-loop-linear" at or near line 115 (where the variable "FCOPTIM" is defined). Then compile WRFDA.

Problem with WRFPLUS under certain "mp_physics" settings (posted 2012-07-24)

Problem:
WRFPlus adjoint model fails with a segmentation fault or a fatal error message "subscript out of range for array head_grid%g_moist (mediation_pertmod_io.f90: 428)" when mp_physics = any of the following: 9,10,13,14,16,17, or 18.

Solution:
Download and unpack Registry.EM_COMMON.tar.gz, and use this file to overwrite the WRFPLUS/Registry/Registry.EM_COMMON file. Then run "./clean -a" and recompile.

Problem reading BUFR or PREPBUFR files (posted 2009-04-09)

Problem:
WRFDA 3.5 or earlier compiled with gfortran or ifort returns the following error message when trying to read a BUFR or PREPBUFR file:

**************BUFR ARCHIVE LIBRARY ABORT*****************
BUFRLIB: OPENBF - ERROR READING INPUT FILE CONNECTED TO UNIT 26
WHEN CHECKING FOR 'BUFR' IN FIRST 4 BYTES OF RECORD
**************BUFR ARCHIVE LIBRARY ABORT*****************

Solution:
See our page on Reading BUFR files

Older versions

NOTE: It is strongly recommended that you use the most recent version of WRFDA. Versions older than 3.3 are very outdated, have many bugs (even those not listed), and are no longer supported.

For posterity and reference, known problems with older versions can be found at this page.

Bad compilers

The following compilers have bugs that will cause some or all versions WRFDA and/or WRFPLUS to fail. If no solution is listed, you must update/downgrade to a different compiler version, or use a different compiler.

Be sure your compiler meets the minimum requirements.

Intel (ifort)

  • Intel (ifort) version 15.0.0
    • No solution at this time
  • Intel (ifort) version 14.0.2 (details).
    • Reducing the optimization in the configure.wrf file may solve this problem. Change the line "FCOPTIM         =       -O3" so that it instead reads "-O2" or "-O1" (note that this is a capital letter "O", not a zero)
  • Intel (ifort) version 11.1 (details).
    • No solution at this time

PGI (pgf90)

  • PGI (pgf90); all versions:
    • In the files "var/external/crtm_2.1.3/configure/pgf90.setup" and "var/external/crtm_2.1.3/configure/pgi.setup", delete lines that say "-fast \". Then run "./clean -a" and recompile.
  • PGI (pgf90) versions 12.5, 13.9
    • No solution at this time
  •