爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 10394|回复: 9

编译 ./compile emi_conv 报错 gfortran: error: convert_emiss.o: 没有那个文件...

[复制链接]
发表于 2015-9-22 12:13:28 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
我编译完./compile em_real 之后有ndown.exe     tc.exe    wrf.exe    nup.exe    real.exe 这五个exe文件,但是在编译./compile emi_conv时老是报错,开始是报错WARNING:There is no 4D array named emis_ant,然后死循环。我加了环境变量之后就变成图片这样了,我看见论坛有大神遇到并解决过,求教!!!!!!
QQ截图20150922113852.png
QQ截图20150922120721.png
密码修改失败请联系微信:mofangbao
发表于 2015-9-22 14:51:15 | 显示全部楼层
请把编译过程输出到文本文件中,然后找到编译过程中第一个错误提示出现的位置及内容,你截图的是最后的错误结果,很难看出问题在哪。
密码修改失败请联系微信:mofangbao
发表于 2015-9-22 21:16:00 | 显示全部楼层
这些编译的都操作过,但没有遇到楼主这样的情况,是否可以贴更详细的内容
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-9-24 14:27:53 | 显示全部楼层
sunshinezhpb 发表于 2015-9-22 14:51
请把编译过程输出到文本文件中,然后找到编译过程中第一个错误提示出现的位置及内容,你截图的是最后的错误 ...

ar: 正在创建 ../main/libwrflib.a
/home/wrf/wrfetc/JASPER/lib/libjasper.a(jas_stream.o):在函数‘jas_stream_tmpfile’中:
/home/wrf/wrfetc/jasper-1.900.1/src/libjasper/base/jas_stream.c:368: 警告: the use of `tmpnam' is dangerous, better use `mkstemp'
convert_emiss.f90:348.43:

     ALLOCATE (dumc0(ids:ide,kds:grid%kemit,jds:jde))
                                           1
Error: 'kemit' at (1) is not a member of the 'domain' structure
convert_emiss.f90:359.34:

     if(config_flags%emiss_opt_vol == 1 .or. config_flags%emiss_opt_vol == 2) t
                                  1
Error: 'emiss_opt_vol' at (1) is not a member of the 'grid_config_rec_type' structure
convert_emiss.f90:367.8:

     endif
        1
Error: Expecting END PROGRAM statement at (1)
convert_emiss.f90:379.38:

      .or.    config_flags%dmsemis_opt == DMSGOCART        &
                                      1
Error: 'dmsemis_opt' at (1) is not a member of the 'grid_config_rec_type' structure
convert_emiss.f90:393.16:

      grid%dms_0(ips:ipe,jps:jpe) = tmp2(ips:ipe,jps:jpe)
                1
Error: 'dms_0' at (1) is not a member of the 'domain' structure
convert_emiss.f90:495.23:

         grid%backg_no3(i, kw, j) = tmp_no3(i  ,j  ,kbot)+fac*(log10(.01*grid%p
                       1
Error: 'backg_no3' at (1) is not a member of the 'domain' structure
convert_emiss.f90:499.22:

         grid%backg_oh(i, kw, j) = tmp_oh(i  ,j  ,kbot)+fac*(log10(.01*grid%pb(
                      1
Error: 'backg_oh' at (1) is not a member of the 'domain' structure
convert_emiss.f90:503.24:

         grid%backg_h2o2(i, kw, j) = tmp_h2o2(i  ,j  ,kbot)+fac*(log10(.01*grid
                        1
Error: 'backg_h2o2' at (1) is not a member of the 'domain' structure
convert_emiss.f90:516.6:

   ENDIF
      1
Error: Expecting END PROGRAM statement at (1)
convert_emiss.f90:528.35:

      if(config_flags%emiss_opt_vol == 1 .or. config_flags%emiss_opt_vol == 2)
                                   1
Error: 'emiss_opt_vol' at (1) is not a member of the 'grid_config_rec_type' structure
convert_emiss.f90:558.34:

     if(config_flags%emiss_opt_vol == 2 ) then
                                  1
Error: 'emiss_opt_vol' at (1) is not a member of the 'grid_config_rec_type' structure
convert_emiss.f90:565.8:

     endif
        1
Error: Expecting END PROGRAM statement at (1)
convert_emiss.f90:661.30:

                 grid%emis_vol(i,ko,j,p_e_vash1)=size_dist(1)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:662.30:

                 grid%emis_vol(i,ko,j,p_e_vash2)=size_dist(2)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:663.30:

                 grid%emis_vol(i,ko,j,p_e_vash3)=size_dist(3)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:664.30:

                 grid%emis_vol(i,ko,j,p_e_vash4)=size_dist(4)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:665.30:

                 grid%emis_vol(i,ko,j,p_e_vash5)=size_dist(5)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:666.30:

                 grid%emis_vol(i,ko,j,p_e_vash6)=size_dist(6)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:667.30:

                 grid%emis_vol(i,ko,j,p_e_vash7)=size_dist(7)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:668.30:

                 grid%emis_vol(i,ko,j,p_e_vash8)=size_dist(8)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:669.30:

                 grid%emis_vol(i,ko,j,p_e_vash9)=size_dist(9)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:670.30:

                 grid%emis_vol(i,ko,j,p_e_vash10)=size_dist(10)*vert_mass_dist(
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:671.46:

                 if(config_flags%emiss_opt_vol == 2)grid%emis_vol(i,ko,j,p_e_vs
                                              1
Error: 'emiss_opt_vol' at (1) is not a member of the 'grid_config_rec_type' structure
convert_emiss.f90:674.28:

               grid%erup_beg(i,j)=float(grid%julday)*1000.+float(beg_hour)
                            1
Error: 'erup_beg' at (1) is not a member of the 'domain' structure
convert_emiss.f90:675.28:

               grid%erup_end(i,j)=grid%erup_beg(i,j)+erup_dt(i,j)
                            1
Error: 'erup_end' at (1) is not a member of the 'domain' structure
Fatal Error: Error count reached limit of 25.
make[1]: [convert_emiss.o] 错误 1 (忽略)
gfortran: error: convert_emiss.o: 没有那个文件或目录
make[1]: [convert_emiss] 错误 1 (忽略)
wrf@ubuntu:~/serial/WRFV3$ vim compile.log
wrf@ubuntu:~/serial/WRFV3$ ./compile emi_conv >& compile.log
wrf@ubuntu:~/serial/WRFV3$ vim compile.log

None of WRF_EM_CORE, WRF_NMM_CORE,
        specified in shell environment....

==============================================================================================

Compiling: WRF_EM_CORE
WRFIO_NCD_LARGE_FILE_SUPPORT=1

Linux ubuntu 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Copyright (C) 2013 Free Software Foundation, Inc.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING


==============================================================================================

setting parallel make -j 2
make[1]: 正在进入目录 `/home/wrf/serial/WRFV3'
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/esmf_time_f90'
make[3]: 没有什么可以做的为 `default'。
make[3]:正在离开目录 `/home/wrf/serial/WRFV3/external/esmf_time_f90'
( cd /home/wrf/serial/WRFV3/external/io_netcdf ; \
          make -j 2 NETCDFPATH="/home/wrf/wrfetc/NETCDF/" RANLIB="ranlib" CPP="/lib/cpp -P" \
          CC="gcc" CFLAGS="-w -O3 -c  -DDM_PARALLEL -DSTUBMPI -DMAX_HISTORY=25 -DNMM_CORE=0" \
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_netcdf'
make[3]: 没有什么可以做的为 `all'。
          CPP="/lib/cpp -P" \
          FIXED="-ffixed-form" archive)
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib2'
        Doing make archive on library subdirectory bacio-1.3
make[4]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib2/bacio-1.3'
make[4]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib2/bacio-1.3'
        Doing make archive on library subdirectory g2lib
make[4]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib2/g2lib'
make[5]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib2/g2lib'
ranlib ../libio_grib2.a
make[5]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib2/g2lib'
make[4]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib2/g2lib'
make[4]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib2'
ar ru ./libio_grib2.a grib2tbls_types.o io_grib2.o read_grib2map.o
ranlib ./libio_grib2.a
make[4]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib2'
make[3]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib2'
( cd /home/wrf/serial/WRFV3/external/ioapi_share ; \
          make -i -r NATIVE_RWORDSIZE="4" RWORDSIZE="4" AR="ar" ARFLAGS="ru" )
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/ioapi_share'
make[3]: 没有什么可以做的为 `all'。
make[3]:正在离开目录 `/home/wrf/serial/WRFV3/external/ioapi_share'
( cd /home/wrf/serial/WRFV3/external/io_grib_share ; \
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib_share'
make[4]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib_share'
ar ru ./libio_grib_share.a io_grib_share.o get_region_center.o gridnav.o open_file.o
( cd /home/wrf/serial/WRFV3/external/io_grib1 ; \
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib1'
make[4]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib1/WGRIB'
make[4]: 没有什么可以做的为 `archive'。
make[4]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib1/WGRIB'
make[4]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib1'
ar ru ./libio_grib1.a grib1_routines.o gribmap.o io_grib1.o trim.o
ranlib ./libio_grib1.a
make[4]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib1'
make[3]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib1'
( cd /home/wrf/serial/WRFV3/external/io_int ; \
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_int'
make[3]: 没有什么可以做的为 `all'。
make[3]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_int'
( cd /home/wrf/serial/WRFV3/external/fftpack/fftpack5 ; \
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/fftpack/fftpack5'
ranlib libfftpack.a
          /bin/cp /home/wrf/serial/WRFV3/tools/gen_comms_warning /home/wrf/serial/WRFV3/tools/gen_comms.c ; \
          cat /home/wrf/serial/WRFV3/external/RSL_LITE/gen_comms.c >> /home/wrf/serial/WRFV3/tools/gen_comms.c ; fi )
( cd tools ; make -i -r CC_TOOLS_CFLAGS="-DNMM_CORE=0" CC_TOOLS="gcc  -DIWORDSIZE=4 -DMAX_HISTORY=25" )
make[2]: 正在进入目录 `/home/wrf/serial/WRFV3/tools'
make[2]: “registry”是最新的。
make[2]:正在离开目录 `/home/wrf/serial/WRFV3/tools'
make[1]:正在离开目录 `/home/wrf/serial/WRFV3'
/bin/rm -f main/libwrflib.a main/libwrflib.lib
make[1]: 正在进入目录 `/home/wrf/serial/WRFV3'
               LIB_LOCAL="" \
          cd ../io_int ; \
ar: 正在创建 ../main/libwrflib.a
make[2]: “diffwrf”是最新的。
make[2]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_netcdf'
make[2]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_int'
make[2]: “diffwrf”是最新的。
make[2]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_int'
make[1]:正在离开目录 `/home/wrf/serial/WRFV3'
                fi
make[2]:正在离开目录 `/home/wrf/serial/WRFV3/share'
if [ 0  -eq 0 ] ; then \
                CF= ; \
        else \
make[1]: 正在进入目录 `/home/wrf/serial/WRFV3/main'
ranlib libwrflib.a
/home/wrf/wrfetc/JASPER/lib/libjasper.a(jas_stream.o):在函数‘jas_stream_tmpfile’中:
/home/wrf/wrfetc/jasper-1.900.1/src/libjasper/base/jas_stream.c:368: 警告: the use of `tmpnam' is dangerous, better use `mkstemp'
make[1]:正在离开目录 `/home/wrf/serial/WRFV3/main'
( cd run ; /bin/rm -f wrf.exe ; ln -s ../main/wrf.exe . )
if [ 0 -eq 1 ] ; then \
        fi
build started:   2015年 09月 24日 星期四 14:24:57 CST
build completed: 2015年 09月 24日 星期四 14:25:00 CST
--------------------------------------
make[1]: 正在进入目录 `/home/wrf/serial/WRFV3/chem'
rm -f convert_emiss.o
/home/wrf/serial/WRFV3/tools/standard.exe convert_emiss.bb | /lib/cpp -P -traditional > convert_emiss.f90
rm -f convert_emiss.b convert_emiss.bb
convert_emiss.f90:348.43:

     ALLOCATE (dumc0(ids:ide,kds:grid%kemit,jds:jde))
                                           1
Error: 'kemit' at (1) is not a member of the 'domain' structure
convert_emiss.f90:359.34:

     if(config_flags%emiss_opt_vol == 1 .or. config_flags%emiss_opt_vol == 2) t
                                  1
Error: 'emiss_opt_vol' at (1) is not a member of the 'grid_config_rec_type' structure
convert_emiss.f90:367.8:

     endif
        1
make[1]:正在离开目录 `/home/wrf/serial/WRFV3/main'
( cd run ; /bin/rm -f wrf.exe ; ln -s ../main/wrf.exe . )
if [ 0 -eq 1 ] ; then \
        fi
build started:   2015年 09月 24日 星期四 14:24:57 CST
build completed: 2015年 09月 24日 星期四 14:25:00 CST
--------------------------------------
( cd chem ; make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm   -I/home/wrf/serial/WRFV3/external/esmf_time_f90  -I/home/wrf/serial/WRFV3/main -I/home/wrf/serial/WRFV3/external/io_netcdf -I/home/wrf/serial/WRFV3/external/io_int -I/home/wrf/serial/WRFV3/frame -I/home/wrf/serial/WRFV3/share -I/home/wrf/serial/WRFV3/phys -I/home/wrf/serial/WRFV3/chem -I/home/wrf/serial/WRFV3/inc -I/home/wrf/wrfetc/NETCDF//include " SOLVER=em IDEAL_CASE=real convert_emiss )
make[1]: 正在进入目录 `/home/wrf/serial/WRFV3/chem'
rm -f convert_emiss.o
/lib/cpp -P -I/home/wrf/serial/WRFV3/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DNO_IEEE_MODULE  -DDM_PARALLEL -DSTUBMPI -DNETCDF -DGRIB2 -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0  -I. -traditional   convert_emiss.F  > convert_emiss.bb
/home/wrf/serial/WRFV3/tools/standard.exe convert_emiss.bb | /lib/cpp -P -traditional > convert_emiss.f90
rm -f convert_emiss.b convert_emiss.bb
gfortran -o convert_emiss.o -c -O2 -ftree-vectorize -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4   -I../dyn_em -I../dyn_nmm   -I/home/wrf/serial/WRFV3/external/esmf_time_f90  -I/home/wrf/serial/WRFV3/main -I/home/wrf/serial/WRFV3/external/io_netcdf -I/home/wrf/serial/WRFV3/external/io_int -I/home/wrf/serial/WRFV3/frame -I/home/wrf/serial/WRFV3/share -I/home/wrf/serial/WRFV3/phys -I/home/wrf/serial/WRFV3/chem -I/home/wrf/serial/WRFV3/inc -I/home/wrf/wrfetc/NETCDF//include    convert_emiss.f90
convert_emiss.f90:348.43:

     ALLOCATE (dumc0(ids:ide,kds:grid%kemit,jds:jde))
                                           1
Error: 'kemit' at (1) is not a member of the 'domain' structure
convert_emiss.f90:359.34:

     if(config_flags%emiss_opt_vol == 1 .or. config_flags%emiss_opt_vol == 2) t
                                  1
Error: 'emiss_opt_vol' at (1) is not a member of the 'grid_config_rec_type' structure
convert_emiss.f90:367.8:

     endif
        1
Error: Expecting END PROGRAM statement at (1)
convert_emiss.f90:379.38:

      .or.    config_flags%dmsemis_opt == DMSGOCART        &
输入  :quit<Enter>  退出 Vim                  
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-9-24 14:30:06 | 显示全部楼层
haozl07 发表于 2015-9-22 21:16
这些编译的都操作过,但没有遇到楼主这样的情况,是否可以贴更详细的内容

setting parallel make -j 2
make[1]: 正在进入目录 `/home/wrf/serial/WRFV3'
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/esmf_time_f90'
make[3]: 没有什么可以做的为 `default'。
make[3]:正在离开目录 `/home/wrf/serial/WRFV3/external/esmf_time_f90'
( cd /home/wrf/serial/WRFV3/external/io_netcdf ; \
          make -j 2 NETCDFPATH="/home/wrf/wrfetc/NETCDF/" RANLIB="ranlib" CPP="/lib/cpp -P" \
          CC="gcc" CFLAGS="-w -O3 -c  -DDM_PARALLEL -DSTUBMPI -DMAX_HISTORY=25 -DNMM_CORE=0" \
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_netcdf'
make[3]: 没有什么可以做的为 `all'。
          CPP="/lib/cpp -P" \
          FIXED="-ffixed-form" archive)
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib2'
        Doing make archive on library subdirectory bacio-1.3
make[4]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib2/bacio-1.3'
make[4]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib2/bacio-1.3'
        Doing make archive on library subdirectory g2lib
make[4]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib2/g2lib'
make[5]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib2/g2lib'
ranlib ../libio_grib2.a
make[5]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib2/g2lib'
make[4]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib2/g2lib'
make[4]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib2'
ar ru ./libio_grib2.a grib2tbls_types.o io_grib2.o read_grib2map.o
ranlib ./libio_grib2.a
make[4]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib2'
make[3]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib2'
( cd /home/wrf/serial/WRFV3/external/ioapi_share ; \
          make -i -r NATIVE_RWORDSIZE="4" RWORDSIZE="4" AR="ar" ARFLAGS="ru" )
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/ioapi_share'
make[3]: 没有什么可以做的为 `all'。
make[3]:正在离开目录 `/home/wrf/serial/WRFV3/external/ioapi_share'
( cd /home/wrf/serial/WRFV3/external/io_grib_share ; \
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib_share'
make[4]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib_share'
ar ru ./libio_grib_share.a io_grib_share.o get_region_center.o gridnav.o open_file.o
( cd /home/wrf/serial/WRFV3/external/io_grib1 ; \
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib1'
make[4]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib1/WGRIB'
make[4]: 没有什么可以做的为 `archive'。
make[4]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib1/WGRIB'
make[4]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_grib1'
ar ru ./libio_grib1.a grib1_routines.o gribmap.o io_grib1.o trim.o
ranlib ./libio_grib1.a
make[4]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib1'
make[3]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_grib1'
( cd /home/wrf/serial/WRFV3/external/io_int ; \
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_int'
make[3]: 没有什么可以做的为 `all'。
make[3]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_int'
( cd /home/wrf/serial/WRFV3/external/fftpack/fftpack5 ; \
make[3]: 正在进入目录 `/home/wrf/serial/WRFV3/external/fftpack/fftpack5'
ranlib libfftpack.a
          /bin/cp /home/wrf/serial/WRFV3/tools/gen_comms_warning /home/wrf/serial/WRFV3/tools/gen_comms.c ; \
          cat /home/wrf/serial/WRFV3/external/RSL_LITE/gen_comms.c >> /home/wrf/serial/WRFV3/tools/gen_comms.c ; fi )
( cd tools ; make -i -r CC_TOOLS_CFLAGS="-DNMM_CORE=0" CC_TOOLS="gcc  -DIWORDSIZE=4 -DMAX_HISTORY=25" )
make[2]: 正在进入目录 `/home/wrf/serial/WRFV3/tools'
make[2]: “registry”是最新的。
make[2]:正在离开目录 `/home/wrf/serial/WRFV3/tools'
make[1]:正在离开目录 `/home/wrf/serial/WRFV3'
/bin/rm -f main/libwrflib.a main/libwrflib.lib
make[1]: 正在进入目录 `/home/wrf/serial/WRFV3'
               LIB_LOCAL="" \
          cd ../io_int ; \
ar: 正在创建 ../main/libwrflib.a
make[2]: “diffwrf”是最新的。
make[2]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_netcdf'
make[2]: 正在进入目录 `/home/wrf/serial/WRFV3/external/io_int'
make[2]: “diffwrf”是最新的。
make[2]:正在离开目录 `/home/wrf/serial/WRFV3/external/io_int'
make[1]:正在离开目录 `/home/wrf/serial/WRFV3'
                fi
make[2]:正在离开目录 `/home/wrf/serial/WRFV3/share'
if [ 0  -eq 0 ] ; then \
                CF= ; \
        else \
make[1]: 正在进入目录 `/home/wrf/serial/WRFV3/main'
ranlib libwrflib.a
/home/wrf/wrfetc/JASPER/lib/libjasper.a(jas_stream.o):在函数‘jas_stream_tmpfile’中:
/home/wrf/wrfetc/jasper-1.900.1/src/libjasper/base/jas_stream.c:368: 警告: the use of `tmpnam' is dangerous, better use `mkstemp'
make[1]:正在离开目录 `/home/wrf/serial/WRFV3/main'
( cd run ; /bin/rm -f wrf.exe ; ln -s ../main/wrf.exe . )
if [ 0 -eq 1 ] ; then \
        fi
build started:   2015年 09月 24日 星期四 14:24:57 CST
build completed: 2015年 09月 24日 星期四 14:25:00 CST
--------------------------------------
make[1]: 正在进入目录 `/home/wrf/serial/WRFV3/chem'
rm -f convert_emiss.o
/home/wrf/serial/WRFV3/tools/standard.exe convert_emiss.bb | /lib/cpp -P -traditional > convert_emiss.f90
rm -f convert_emiss.b convert_emiss.bb
convert_emiss.f90:348.43:

     ALLOCATE (dumc0(ids:ide,kds:grid%kemit,jds:jde))
                                           1
Error: 'kemit' at (1) is not a member of the 'domain' structure
convert_emiss.f90:359.34:

     if(config_flags%emiss_opt_vol == 1 .or. config_flags%emiss_opt_vol == 2) t
                                  1
Error: 'emiss_opt_vol' at (1) is not a member of the 'grid_config_rec_type' structure
convert_emiss.f90:367.8:

     endif
        1
make[1]:正在离开目录 `/home/wrf/serial/WRFV3/main'
( cd run ; /bin/rm -f wrf.exe ; ln -s ../main/wrf.exe . )
if [ 0 -eq 1 ] ; then \
        fi
build started:   2015年 09月 24日 星期四 14:24:57 CST
build completed: 2015年 09月 24日 星期四 14:25:00 CST
--------------------------------------
make[1]: 正在进入目录 `/home/wrf/serial/WRFV3/chem'
rm -f convert_emiss.o
/home/wrf/serial/WRFV3/tools/standard.exe convert_emiss.bb | /lib/cpp -P -traditional > convert_emiss.f90
rm -f convert_emiss.b convert_emiss.bb
convert_emiss.f90:348.43:

     ALLOCATE (dumc0(ids:ide,kds:grid%kemit,jds:jde))
                                           1
Error: 'kemit' at (1) is not a member of the 'domain' structure
convert_emiss.f90:359.34:

     if(config_flags%emiss_opt_vol == 1 .or. config_flags%emiss_opt_vol == 2) t
                                  1
Error: 'emiss_opt_vol' at (1) is not a member of the 'grid_config_rec_type' structure
convert_emiss.f90:367.8:

     endif
        1
Error: Expecting END PROGRAM statement at (1)
convert_emiss.f90:379.38:

      .or.    config_flags%dmsemis_opt == DMSGOCART        &
                                      1
Error: 'dmsemis_opt' at (1) is not a member of the 'grid_config_rec_type' structure
convert_emiss.f90:393.16:

      grid%dms_0(ips:ipe,jps:jpe) = tmp2(ips:ipe,jps:jpe)
                1
Error: 'dms_0' at (1) is not a member of the 'domain' structure
convert_emiss.f90:495.23:

         grid%backg_no3(i, kw, j) = tmp_no3(i  ,j  ,kbot)+fac*(log10(.01*grid%p
                       1
Error: 'backg_no3' at (1) is not a member of the 'domain' structure
convert_emiss.f90:499.22:

         grid%backg_oh(i, kw, j) = tmp_oh(i  ,j  ,kbot)+fac*(log10(.01*grid%pb(
                      1
Error: 'backg_oh' at (1) is not a member of the 'domain' structure
convert_emiss.f90:503.24:

         grid%backg_h2o2(i, kw, j) = tmp_h2o2(i  ,j  ,kbot)+fac*(log10(.01*grid
                        1
Error: 'backg_h2o2' at (1) is not a member of the 'domain' structure
convert_emiss.f90:516.6:

   ENDIF
      1
Error: Expecting END PROGRAM statement at (1)
convert_emiss.f90:528.35:

      if(config_flags%emiss_opt_vol == 1 .or. config_flags%emiss_opt_vol == 2)
                                   1
Error: 'emiss_opt_vol' at (1) is not a member of the 'grid_config_rec_type' structure
convert_emiss.f90:558.34:

     if(config_flags%emiss_opt_vol == 2 ) then
                                  1
Error: 'emiss_opt_vol' at (1) is not a member of the 'grid_config_rec_type' structure
convert_emiss.f90:565.8:

     endif
        1
Error: Expecting END PROGRAM statement at (1)
convert_emiss.f90:661.30:

                 grid%emis_vol(i,ko,j,p_e_vash1)=size_dist(1)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:662.30:

                 grid%emis_vol(i,ko,j,p_e_vash2)=size_dist(2)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:663.30:

                 grid%emis_vol(i,ko,j,p_e_vash3)=size_dist(3)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:664.30:

                 grid%emis_vol(i,ko,j,p_e_vash4)=size_dist(4)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:665.30:

                 grid%emis_vol(i,ko,j,p_e_vash5)=size_dist(5)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:666.30:

                 grid%emis_vol(i,ko,j,p_e_vash6)=size_dist(6)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure

                 grid%emis_vol(i,ko,j,p_e_vash8)=size_dist(8)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:669.30:

                 grid%emis_vol(i,ko,j,p_e_vash9)=size_dist(9)*vert_mass_dist(ko
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:670.30:

                 grid%emis_vol(i,ko,j,p_e_vash10)=size_dist(10)*vert_mass_dist(
                              1
Error: 'emis_vol' at (1) is not a member of the 'domain' structure
convert_emiss.f90:671.46:

                 if(config_flags%emiss_opt_vol == 2)grid%emis_vol(i,ko,j,p_e_vs
                                              1
Error: 'emiss_opt_vol' at (1) is not a member of the 'grid_config_rec_type' structure
convert_emiss.f90:674.28:

               grid%erup_beg(i,j)=float(grid%julday)*1000.+float(beg_hour)
                            1
Error: 'erup_beg' at (1) is not a member of the 'domain' structure
convert_emiss.f90:675.28:

               grid%erup_end(i,j)=grid%erup_beg(i,j)+erup_dt(i,j)
                            1
Error: 'erup_end' at (1) is not a member of the 'domain' structure
Fatal Error: Error count reached limit of 25.
make[1]: [convert_emiss.o] 错误 1 (忽略)
ranlib ../main/libwrflib.a
gfortran -o convert_emiss.exe  -O2 -ftree-vectorize -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4    convert_emiss.o ../main/libwrflib.a /home/wrf/serial/WRFV3/external/fftpack/fftpack5/libfftpack.a /home/wrf/serial/WRFV3/external/io_grib1/libio_grib1.a /home/wrf/serial/WRFV3/external/io_grib_share/libio_grib_share.a /home/wrf/serial/WRFV3/external/io_int/libwrfio_int.a -L/home/wrf/serial/WRFV3/external/esmf_time_f90 -lesmf_time /home/wrf/serial/WRFV3/external/RSL_LITE/librsl_lite.a /home/wrf/serial/WRFV3/frame/module_internal_header_util.o /home/wrf/serial/WRFV3/frame/pack_utils.o  -L/home/wrf/serial/WRFV3/external/io_netcdf -lwrfio_nf -L/home/wrf/wrfetc/NETCDF//lib -lnetcdff -lnetcdf   -L/home/wrf/serial/WRFV3/external/io_grib2 -lio_grib2 -L/home/wrf/wrfetc/JASPER/lib -ljasper
gfortran: error: convert_emiss.o: 没有那个文件或目录
make[1]: [convert_emiss] 错误 1 (忽略)
make[1]:正在离开目录 `/home/wrf/serial/WRFV3/chem'
( cd test/em_real ; /bin/rm -f convert_emiss.exe ; ln -s ../../chem/convert_emiss.exe . )
( cd test/em_real ; /bin/rm -f README.namelist ; ln -s ../../run/README.namelist . )
( cd run ; if test -f namelist.input ; then \
                /bin/cp -f namelist.input namelist.input.backup ; fi ; \
                /bin/rm -f namelist.input ; cp ../test/em_real/namelist.input . )
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-10-26 11:28:49 | 显示全部楼层
刚才莫名其妙的好了,开始编译 ./compile  em_real时仍然出现WARNING: There is no 4D array named emis_ant死循环,然后./clean -a,清除重新编译,没删除chem和之前配置的环境变量,又重新编译WRFV3,然后就好了convert_emiss.exe  ndown.exe  nup.exe  real.exe  tc.exe  wrf.exe。推测是环境变量的问题。
密码修改失败请联系微信:mofangbao
发表于 2017-11-20 17:22:06 | 显示全部楼层
cpc_dingyi 发表于 2015-10-26 11:28
刚才莫名其妙的好了,开始编译 ./compile  em_real时仍然出现WARNING: There is no 4D array named emis_an ...

请问你 ./configure  配置文件选的什么?   环境变量是怎么设的?
密码修改失败请联系微信:mofangbao
发表于 2018-6-25 09:46:54 | 显示全部楼层
最后是怎么解决的?据说gfortran的问题?
密码修改失败请联系微信:mofangbao
发表于 2018-6-25 10:25:27 | 显示全部楼层
最后果然是编译器的问题,用ifort编译通过了,gfortran只能编译通过WRF,chem那一步不行
密码修改失败请联系微信:mofangbao
发表于 2018-11-7 16:29:58 | 显示全部楼层
一模一样的错误,请问楼主最后怎么解决d
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表