爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
楼主: 飞行*想念

求助!关于wrf安装问题

[复制链接]
发表于 2014-9-9 17:01:59 | 显示全部楼层
YJane 发表于 2014-9-9 16:58
我确实是又重新安装了,在usr/local/netcdf 中,也找到了netcdf.inc
环境变量也改成了 export NETCDF=/usr ...

netcdf从4.2开始对于C和fortran库分开了,你都安装了么?
另外wrf不需要那个高的版本,netcdf3.6.0及其以上版本就够了。
你的编译器说安装不对,你安装的是什么编译器?
密码修改失败请联系微信:mofangbao
发表于 2014-9-9 18:03:56 | 显示全部楼层
andrewsoong 发表于 2014-9-9 17:01
netcdf从4.2开始对于C和fortran库分开了,你都安装了么?
另外wrf不需要那个高的版本,netcdf3.6.0及其 ...

我安装了gfortran 和 gcc ,然后又安了netcdf .
我刚刚又重新安装了一下WRFV3
选择的是:   34.  x86_64 Linux, gfortran compiler with gcc   (dmpar)

                       Compile for nesting? (1=basic, 2=preset moves, 3=vortex following) [default 1]: 1

然后就不出现上次说的那个编译器的情况了,终端显示:
Testing for NetCDF, C and Fortran compiler

This installation of NetCDF is 64-bit
                 C compiler is 64-bit
           Fortran compiler is 64-bit
              It will build in 64-bit



************************** W A R N I N G ************************************

There are some Fortran 2003 features in WRF that your compiler does not recognize
The IEEE signaling call has been removed.  That may not be enough.
*****************************************************************************
为了解决这个我又安装另外一个帖子说的:
修改文件夹WRFV3中; configure.wrf对应FORMAT_FIXED/FORMAT_FREE改为如下两行:
FORMAT_FIXED    =       -ffixed-form -cpp
FORMAT_FREE   =       -ffree-form -ffree-line-length-none -cpp
./compile后

yangjian@yangjian-To-be-filled-by-O-E-M:~/WRF/WRFV3$ ./compile

Usage:

   compile [-d] [-j n] wrf   compile wrf in run dir (NOTE: no real.exe, ndown.exe, or ideal.exe generated)

   or choose a test case (see README_test_cases for details) :
      compile em_b_wave
      compile em_esmf_exp
      compile em_fire
      compile em_grav2d_x
      compile em_heldsuarez
      compile em_hill2d_x
      compile em_les
      compile em_quarter_ss
      compile em_real
      compile em_scm_xy
      compile em_seabreeze2d_x
      compile em_squall2d_x
      compile em_squall2d_y
      compile em_tropical_cyclone
      compile exp_real
      compile nmm_real
      compile nmm_tropical_cyclone

  compile -d                 compile without optimization and with debugging
  compile -j n               parallel make using n tasks if supported (default 2)
  compile -h                 help message
yangjian@yangjian-To-be-filled-by-O-E-M:~/WRF/WRFV3$ ./compile em_real >& compile.log
yangjian@yangjian-To-be-filled-by-O-E-M:~/WRF/WRFV3$ ./compile em_real >& wrf_compile.log
yangjian@yangjian-To-be-filled-by-O-E-M:~/WRF/WRFV3$ ^C


生成wrf.exe ndown.exe real.exe nup.exe tc.exe  但 ./compile >& compile.check.log是有错误的.
make[3]: [buf_for_proc.o] 错误 127 (忽略)
mpicc  -DFSEEKO64_OK  -w -O3 -c  -DDM_PARALLEL -DMAX_HISTORY=25 -DNMM_CORE=0  -c rsl_malloc.c
make[3]: mpicc:命令未找到
make[3]: [rsl_malloc.o] 错误 127 (忽略)
mpicc  -DFSEEKO64_OK  -w -O3 -c  -DDM_PARALLEL -DMAX_HISTORY=25 -DNMM_CORE=0  -c rsl_bcast.c
make[3]: mpicc:命令未找到
make[3]: [rsl_bcast.o] 错误 127 (忽略)
mpicc  -DFSEEKO64_OK  -w -O3 -c  -DDM_PARALLEL -DMAX_HISTORY=25 -DNMM_CORE=0  -c task_for_point.c
make[3]: mpicc:命令未找到
make[3]: [task_for_point.o] 错误 127 (忽略)
mpicc  -DFSEEKO64_OK  -w -O3 -c  -DDM_PARALLEL -DMAX_HISTORY=25 -DNMM_CORE=0  -c period.c
make[3]: mpicc:命令未找到
make[3]: [period.o] 错误 127 (忽略)

大哥,您能帮忙分析一下吗?
密码修改失败请联系微信:mofangbao
发表于 2014-9-9 18:07:10 | 显示全部楼层
YJane 发表于 2014-9-9 18:03
我安装了gfortran 和 gcc ,然后又安了netcdf .
我刚刚又重新安装了一下WRFV3
选择的是:   34.  x86_64 ...

************************** W A R N I N G ************************************

There are some Fortran 2003 features in WRF that your compiler does not recognize
The IEEE signaling call has been removed.  That may not be enough.
*****************************************************************************
这个可以忽略的,我就忽略了,没出任何问题。。。。。。。。。
密码修改失败请联系微信:mofangbao
回复 支持 0 反对 1

使用道具 举报

发表于 2014-9-9 18:42:17 | 显示全部楼层
andrewsoong 发表于 2014-9-9 18:07
************************** W A R N I N G ************************************

There are some Fo ...

大哥,我再麻烦的问您一下.忽略了这个问题以后,生成的这几个文件能用吗? wrf.exe , ndown.exe , real.exe nup.exe tc.exe
密码修改失败请联系微信:mofangbao
发表于 2014-9-9 20:52:32 | 显示全部楼层
YJane 发表于 2014-9-9 18:42
大哥,我再麻烦的问您一下.忽略了这个问题以后,生成的这几个文件能用吗? wrf.exe , ndown.exe , real.exe  ...

当然没问题!
密码修改失败请联系微信:mofangbao
发表于 2014-9-10 12:47:49 | 显示全部楼层

您好,我的wrf.exe是不能用的..检查compile.log里面有错误. 您可不可以帮我看一下这是什么错误,我根本一点都看不懂...

make[3]: mpif90:命令未找到
make[3]: [module_internal_header_util.o] 错误 127 (忽略)
mpicc  -DFSEEKO64_OK  -o io_int_idx.o -c io_int_idx.c
make[3]: mpicc:命令未找到
make[3]: [io_int_idx.o] 错误 127 (忽略)
mpif90    -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4    -o module_io_int_idx.o -c module_io_int_idx.f
make[3]: mpif90:命令未找到
make[3]: [module_io_int_idx.o] 错误 127 (忽略)


************************** W A R N I N G ************************************

There are some Fortran 2003 features in WRF that your compiler does not recognize
The IEEE signaling call has been removed.  That may not be enough.

*****************************************************************************
yangjian@yangjian-To-be-filled-by-O-E-M:~/WRF/WRFV3$ ./compile em_real >& compile.log
yangjian@yangjian-To-be-filled-by-O-E-M:~/WRF/WRFV3$ cd /home/yangjian/WRF/WRFV3/run
yangjian@yangjian-To-be-filled-by-O-E-M:~/WRF/WRFV3/run$ ls
aerosol.formatted                 grib2map.tbl
aerosol_lat.formatted             gribmap.txt
aerosol_lon.formatted             kernels.asc_s_0_03_0_9
aerosol_plev.formatted            kernels_z.asc
bulkdens.asc_s_0_03_0_9           LANDUSE.TBL
bulkradii.asc_s_0_03_0_9          masses.asc
CAM_ABS_DATA                      MPTABLE.TBL
CAM_AEROPT_DATA                   namelist.input
CAMtr_volume_mixing_ratio.A1B     ndown.exe
CAMtr_volume_mixing_ratio.A2      nup.exe
CAMtr_volume_mixing_ratio.RCP4.5  ozone.formatted
CAMtr_volume_mixing_ratio.RCP6    ozone_lat.formatted
CAMtr_volume_mixing_ratio.RCP8.5  ozone_plev.formatted
capacity.asc                      README.namelist
CCN_ACTIVATE.BIN                  README.tslist
CLM_ALB_ICE_DFS_DATA              real.exe
CLM_ALB_ICE_DRC_DATA              RRTM_DATA
CLM_ASM_ICE_DFS_DATA              RRTM_DATA_DBL
CLM_ASM_ICE_DRC_DATA              RRTMG_LW_DATA
CLM_DRDSDT0_DATA                  RRTMG_LW_DATA_DBL
CLM_EXT_ICE_DFS_DATA              RRTMG_SW_DATA
CLM_EXT_ICE_DRC_DATA              RRTMG_SW_DATA_DBL
CLM_KAPPA_DATA                    SOILPARM.TBL
CLM_TAU_DATA                      tc.exe
co2_trans                         termvels.asc
coeff_p.asc                       tr49t67
coeff_q.asc                       tr49t85
constants.asc                     tr67t85
ETAMPNEW_DATA                     URBPARM.TBL
ETAMPNEW_DATA_DBL                 URBPARM_UZE.TBL
ETAMPNEW_DATA.expanded_rain       VEGPARM.TBL
ETAMPNEW_DATA.expanded_rain_DBL   wind-turbine-1.tbl
GENPARM.TBL                       wrf.exe
密码修改失败请联系微信:mofangbao
发表于 2014-9-10 13:00:20 | 显示全部楼层
可能并行库有问题,你先运行下看看能不能并行吧
密码修改失败请联系微信:mofangbao
发表于 2014-9-10 14:37:11 | 显示全部楼层
YJane 发表于 2014-9-10 12:47
您好,我的wrf.exe是不能用的..检查compile.log里面有错误. 您可不可以帮我看一下这是什么错误,我根本一点 ...

你的并行不能用~~~
密码修改失败请联系微信:mofangbao
发表于 2014-9-10 14:40:49 | 显示全部楼层
unice 发表于 2014-9-10 13:00
可能并行库有问题,你先运行下看看能不能并行吧

你好,什么是并行库? 该怎么检查运行? 要不要再重新安装一遍?
密码修改失败请联系微信:mofangbao
发表于 2014-9-10 14:41:27 | 显示全部楼层
andrewsoong 发表于 2014-9-10 14:37
你的并行不能用~~~

你好,可不可以透露一下这个问题该怎么解决呀?
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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