[Wrf-users] Unused variables on WRFDA-3.5.1 compilation:

MORRIS KENOBI ISIMA kenimor at yahoo.com
Thu Feb 20 13:29:50 MST 2014


Hi everyone,

I have just compiled WRFPLUS with WRFDA for 4dvar run successful. However, on the compile.log file I have numerous warnings in the form of unused variables.Also, I have 43 executables on the ../var/da/*.exe including da_wrfvar and obsproc.exe on ../var/obsproc/. I just want to know if my compilation is correct or not. Below are some of the mentioned warnings;


NB: I have used gfortran as the compiler with both WRFPLUS and WRFDA compiled for distributed memory use with mpich2. Also, hdf5 and other required libraries are installed to support GRIB2 file.



File_Utility.f90:328:0: warning: ‘cchar[1]{lb: 1 sz: 1}’ may be used uninitialized in this function [-Wuninitialized]
NESDIS_OCEANEM_Module.f90:1008.18:

      depspp_dt = 1.0_fp_kind/(2.0*pi*eo*f)*dssw_dt + aid/(1.0+(tsw*f)**2)**2
                  1
Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1)
NESDIS_OCEANEM_Module.f90:892.17:

      depsp_dt = aid/(1.0e+0+(f*tsw)**2)**2
                 1
Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1)
NESDIS_OCEANEM_Module.f90:584.10:

  EPSPP = tsw*f*(esw-eswi)/(1.0_fp_kind+(tsw*f)**2)
          1
Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1)
NESDIS_OCEANEM_Module.f90:586.10:

  EPSPP = EPSPP + ssw/(2.0_fp_kind*pi*eo*f)
          1
Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1)
NESDIS_OCEANEM_Module.f90:496.9:

  EPSP = eswi +(esw-eswi)/(1.0+(f*tsw)**2)
         1
Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1)
NESDIS_SEAICE_PHYEM_MODULE.f90: In function ‘permitivity’:
NESDIS_SEAICE_PHYEM_MODULE.f90:286:0: warning: ‘sb’ may be used uninitialized in this function [-Wuninitialized]
CRTM_surface_ir_emissivity.f90:179.16:

      index_lat=(90.0_fp_kind - alat)*6+1
                1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1)
CRTM_surface_ir_emissivity.f90:180.16:

      index_lon=(180_fp_kind + alon1)*6+1
                1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1)
CRTM_surface_ir_emissivity.f90:139.55:

      subroutine read_topography(alat,alon,stype,scover)
                                                       1
Warning: Unused dummy argument 'scover' at (1)
CRTM_Fastem3.f90:1399.21:

  INTEGER :: i,j,chan,istokes,ifreq,m
                     1
Warning: Unused variable 'chan' declared at (1)
CRTM_Fastem3.f90:1390.19:

  REAL(fp) :: delta,delta2
                   1
Warning: Unused variable 'delta' declared at (1)
CRTM_Fastem3.f90:1390.26:

  REAL(fp) :: delta,delta2
                          1
Warning: Unused variable 'delta2' declared at (1)
CRTM_Fastem3.f90:1436.33:

  REAL(fp) :: delta_ad, delta2_ad
                                 1
Warning: Unused variable 'delta2_ad' declared at (1)
CRTM_Fastem3.f90:1436.22:

  REAL(fp) :: delta_ad, delta2_ad
                      1
Warning: Unused variable 'delta_ad' declared at (1)
CRTM_Fastem3.f90:1391.32:

  REAL(fp) :: qdepol,emissfactor
                                1
Warning: Unused variable 'emissfactor' declared at (1)
CRTM_Fastem3.f90:1437.39:

  REAL(fp) :: qdepol_ad, emissfactor_ad
                                       1
Warning: Unused variable 'emissfactor_ad' declared at (1)
CRTM_Fastem3.f90:1392.41:

  REAL(fp) :: emissfactor_v,emissfactor_h
                                         1
Warning: Unused variable 'emissfactor_h' declared at (1)
CRTM_Fastem3.f90:1438.48:

  REAL(fp) :: emissfactor_v_ad, emissfactor_h_ad
                                                1
Warning: Unused variable 'emissfactor_h_ad' declared at (1)
CRTM_Fastem3.f90:1392.27:

  REAL(fp) :: emissfactor_v,emissfactor_h
                           1
Warning: Unused variable 'emissfactor_v' declared at (1)
CRTM_Fastem3.f90:1438.30:

  REAL(fp) :: emissfactor_v_ad, emissfactor_h_ad
                              1
Warning: Unused variable 'emissfactor_v_ad' declared at (1)
CRTM_Fastem3.f90:1288.34:

                        Emissivity,                                      & ! IN
                                  1
Warning: Unused dummy argument 'emissivity' at (1)
CRTM_Fastem3.f90:1411.20:

  REAL(fp) :: fen_ad, fen_sq_ad
                    1
Warning: Unused variable 'fen_ad' declared at (1)
CRTM_Fastem3.f90:1411.31:

  REAL(fp) :: fen_ad, fen_sq_ad
                               1
Warning: Unused variable 'fen_sq_ad' declared at (1)
CRTM_Fastem3.f90:1394.27:

  REAL(fp) :: opdpsfc,freqr
                           1
Warning: Unused variable 'freqr' declared at (1)
CRTM_Fastem3.f90:1433.34:

  REAL(fp) :: opdpsfc_ad, freqr_ad
                                  1
Warning: Unused variable 'freqr_ad' declared at (1)
CRTM_Fastem3.f90:1399.14:

  INTEGER :: i,j,chan,istokes,ifreq,m
              1
Warning: Unused variable 'i' declared at (1)
CRTM_Fastem3.f90:1402.41:

  INTEGER :: i_freq,j_stokes,ich,ichannel   ! indices used in azimuthal emissiv
                                         1
Warning: Unused variable 'ichannel' declared at (1)
CRTM_Fastem3.f90:1400.22:

  INTEGER :: iquadrant    ! Determines which quadrant (NE, SE, SW, NW) the wind
                      1
Warning: Unused variable 'iquadrant' declared at (1)
CRTM_Fastem3.f90:1374.37:

  REAL(fp) :: small_rough,large_rough
                                     1
Warning: Unused variable 'large_rough' declared at (1)
CRTM_Fastem3.f90:1423.44:

  REAL(fp) :: small_rough_ad, large_rough_ad
                                            1
Warning: Unused variable 'large_rough_ad' declared at (1)
CRTM_Fastem3.f90:1367.39:

  REAL(fp) :: perm_static,perm_infinite
                                       1
Warning: Unused variable 'perm_infinite' declared at (1)
CRTM_Fastem3.f90:1417.46:

  REAL(fp) :: perm_static_ad, perm_infinite_ad
                                              1
Warning: Unused variable 'perm_infinite_ad' declared at (1)
CRTM_Fastem3.f90:1367.25:

  REAL(fp) :: perm_static,perm_infinite
                         1
Warning: Unused variable 'perm_static' declared at (1)
CRTM_Fastem3.f90:1417.28:

  REAL(fp) :: perm_static_ad, perm_infinite_ad
                            1
Warning: Unused variable 'perm_static_ad' declared at (1)
CRTM_Fastem3.f90:1401.19:

  INTEGER :: pol_id  ! polarisation indice
                   1
Warning: Unused variable 'pol_id' declared at (1)
CRTM_Fastem3.f90:1391.20:

  REAL(fp) :: qdepol,emissfactor
                    1
Warning: Unused variable 'qdepol' declared at (1)
CRTM_Fastem3.f90:1437.23:

  REAL(fp) :: qdepol_ad, emissfactor_ad
                       1
Warning: Unused variable 'qdepol_ad' declared at (1)
CRTM_Fastem3.f90:1289.36:

                        Reflectivity,                                    & ! IN
                                    1
Warning: Unused dummy argument 'reflectivity' at (1)
CRTM_Fastem3.f90:1374.25:

  REAL(fp) :: small_rough,large_rough
                         1
Warning: Unused variable 'small_rough' declared at (1)
CRTM_Fastem3.f90:1423.28:

  REAL(fp) :: small_rough_ad, large_rough_ad
                            1
Warning: Unused variable 'small_rough_ad' declared at (1)
CRTM_Fastem3.f90:1379.41:

  REAL(fp) :: wind10_direction, windangle, windratio ! Note wind azimuth is in 
                                         1
Warning: Unused variable 'windangle' declared at (1)
CRTM_Fastem3.f90:1427.47:

  REAL(fp) :: wind10_direction_ad, windangle_ad, windratio_ad ! Note wind azimu
                                               1
Warning: Unused variable 'windangle_ad' declared at (1)
CRTM_Fastem3.f90:1379.52:

  REAL(fp) :: wind10_direction, windangle, windratio ! Note wind azimuth is in 
                                                    1
Warning: Unused variable 'windratio' declared at (1)
CRTM_Fastem3.f90:1427.61:

  REAL(fp) :: wind10_direction_ad, windangle_ad, windratio_ad ! Note wind azimu
                                                             1
Warning: Unused variable 'windratio_ad' declared at (1)
CRTM_Fastem3.f90:871.39:

  REAL(fp) :: a1e_tl,a2e_tl,a3e_tl,atot     ! coefficients used in azimuthal em
                                       1
Warning: Unused variable 'atot' declared at (1)
CRTM_Fastem3.f90:830.21:

  INTEGER :: i,j,chan,istokes,ifreq,m
                     1
Warning: Unused variable 'chan' declared at (1)
CRTM_Fastem3.f90:817.19:

  REAL(fp) :: delta,delta2
                   1
Warning: Unused variable 'delta' declared at (1)
CRTM_Fastem3.f90:817.26:

  REAL(fp) :: delta,delta2
                          1
Warning: Unused variable 'delta2' declared at (1)
CRTM_Fastem3.f90:863.33:


 
Thanks,

Kenobi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20140220/3a701f41/attachment-0001.html 


More information about the Wrf-users mailing list