"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.
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.
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
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
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. |
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
- 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).
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