WRF安装实验说明_第1页
WRF安装实验说明_第2页
WRF安装实验说明_第3页
WRF安装实验说明_第4页
WRF安装实验说明_第5页
已阅读5页,还剩30页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、WRF安装提示:PC机需要联接互联网操作系统:UBUNTU 12.04FORTRAN编译器:gfortran 4.6安装命令:apt-get install gfortranC编译器:gcc 版本 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)安装命令:linux系统自带几个常用linux命令:定位文件:locate libm.a (假设要找:libm.a)以管理员身份打开文件夹:sudo nautilus以管理员身份打开终端:sudo suNETCDF安装版本:netcdf-4.1.3tar -xvf netcdf-4.1.3.tar.gz./configure -

2、disable-dap -disable-netcdf-4 -prefix=/usr/local/netcdf FC=gfortranmakemake install配置环境变量:vi /root/.bashrc加入:export NETCDF=/usr/local/netcdfexport PATH=$PATH:$NETCDF/bin:$NETCDF/include:$NETCDF/libexport MANPATH=$MANPATH:$NETCDF/share/man(注:该处参考气象家园的方法_西西同学)source /root/.bashrc检查是否成功:ncdump出现:ncdump

3、 -c|-h -v . -b|-f c|f -l len -n name -p n,n -k -x -s -t -w file -c Coordinate variable data and header information -h Header information only, no data -v var1,. Data for variable(s) ,. only -b c|f Brief annotations for C or Fortran indices in data -f c|f Full annotations for C or Fortran indices in

4、data -l len Line length maximum in data section (default 80) -n name Name for netCDF (default derived from file name) -p n,n Display floating-point values with less precision -k Output kind of netCDF file -x Output XML (NcML) instead of CDL -s Output special (virtual) attributes -t Output time data

5、as date-time strings -w Without client-side caching of variables for DAP URLs file Name of netCDF filenetcdf library version 4.1.3 of Nov 22 2013 22:36:15 $说明成功!NCL安装版本:ncl_ncarg-6.1.2.Linux_Debian6.0_i686_nodap_gcc445tar -xvf ncl_ncarg-6.1.2.Linux_Debian6.0_i686_nodap_gcc445.tar.gz该命令形成bin、include和

6、lib文件夹,将其拷贝到:/usr/local/ncl目录(注:ncl是自己建立的)配置环境变量:vi /root/.bashrc加入:export NCARG_ROOT=/usr/local/nclexport NCARG_LIB=/usr/local/ncl/libexport NCARG_INC=/usr/local/ncl/includeexport PATH=/usr/local/ncl/bin:$PATHsource /root/.bashrc检查是否成功:ncl出现:Copyright (C) 1995-2013 - All Rights ReservedUniversity C

7、orporation for Atmospheric ResearchNCAR Command Language Version 6.1.2The use of this software is governed by a License Agreement.See / for more details.ncl 0 说明成功!zlib libpng jasper lapack blas安装apt-get install zlib1g-dev或tar zxvf zlib-1.2.8.tar.gz./configure -prefix=/usr/local/zlibmake make instal

8、ltar zxvf libpng-1.6.6.tar.gz./configure -prefix=/usr/local/libpngmakemake installunzip jasper-1.900.1.zip ./configure -prefix=/usr/local/jaspermakemake install注意:以前要求上面的3个文件按顺序安装!tar zxvf lapack-3.5.0.tgz在解压后的lapack-3.5.0目录下面有一个make.inc.example文件,将其改为make.inc。如果是gfortran的编译器,则基本不需要修改这个文件。把makefile文

9、件中的:lib: lapacklib tmglib#lib: blaslib variants lapacklib tmglib改为:#lib: lapacklib tmgliblib: blaslib variants lapacklib tmglib终端输入(在lapack-3.5.0目录下):make然后把文件夹下面的liblapack.a,librefblas.a,libtmglib.a三个库拷贝到/usr/lib。BLAS的全称是Basic Linear Algebra Subprograms,主要用于向量和矩阵计算的高性能数学库,本身是用Fortran写的。tar zxvf bla

10、s.tgz根据系统修改make.inc和Makefilemake生成blas_LINUX.a文件配置环境变量:vi /root/.bashrc加入:JASPER=/usr/local/jasper;export JASPERJASPERLIB=/usr/local/jasper/lib;export JASPERLIBJASPERINC=/usr/local/jasper/include;export JASPERINCZLIB=/usr/local/zlib;export ZLIBZLIBLIB=/usr/local/zlib/lib;export ZLIBLIBZLIBINC=/usr/l

11、ocal/zlib/include;export ZLIBINCexport BLAS=/usr/local/blasexport LAPACK=/usr/local/lapack#注:安装WRF还需要加入下面配置export WRFIO_NCD_LARGE_FILE_SUPPORT=1source /root/.bashrcapt-get install cshapt-get install m4WRFV3.5.1.TAR.gz、WPSV3.5.1.TAR.gz和WRFDA_V3.5.1.tar.gz拷贝到同一目录下,并解压形成三个文件夹:tar -xvf WRFV3.5.1.TAR.gzt

12、ar -xvf WPSV3.5.1.TAR.gztar -xvf WRFDA_V3.5.1.tar.gzls -l-drwxr-xr-x 7 6840 kmem 4096 11月 26 13:59 WPS-rw-r-r- 1 root root 560948 11月 17 11:02 WPSV3.5.1.TAR.gzdrwxr-xr-x 16 19974 69257 4096 11月 26 16:20 WRFDA-rw-r-r- 1 root root 66483774 11月 26 09:08 WRFDA_V3.5.1.tar.gzdrwxr-xr-x 17 6840 kmem 4096 1

13、1月 26 11:01 WRFV3-rw-r-r- 1 root root 38997831 11月 17 11:05 WRFV3.5.1.TAR.gzWRFV3.5.1安装./configure选项说明:serial means single processor 单核smpar means Symmetric Multi-Processing/Shared Memory Parallel (OpenMP) 多核dmpar means Distributed Memory Parallel (MPI) 分布式计算dm+sm means Distributed Memory with Share

14、d Memory 多核+分布式计算选择:gfortran、gcc、serial这一组接下来出现:探测C、FORTRAN编译器和测试NETCDF的提示信息开始执行编译命令:./compile em_real & wrf_compile.logwrf_compile.log文件中没有出现“错误”提示WRFV3/main# ls -l总用量 156428-rw-r-r- 1 6840 kmem 5477 9月 2 2011 convert_em.F-rw-r-r- 1 6840 kmem 39702 8月 10 11:30 mon-rw-r-r- 1 6840 kmem 11092 12月 6 20

15、11 ideal_em.F-rw-r-r- 1 6840 kmem 61627 12月 6 2011 ideal_nmm.F-rw-r-r- 1 root root 31384012 11月 26 11:25 libwrflib.a-rw-r-r- 1 6840 kmem 2562 12月 1 2012 Makefile-rw-r-r- 1 root root 3528286 11月 26 11:24 module_initialize_real.mod-rw-r-r- 1 6840 kmem 21561 4月 28 2013 module_wrf_top.F-rw-r-r- 1 root r

16、oot 9249 11月 26 11:23 module_wrf_top.f90-rw-r-r- 1 root root 3033438 11月 26 11:23 module_wrf_top.mod-rw-r-r- 1 root root 12588 11月 26 11:23 module_wrf_top.o-rw-r-r- 1 6840 kmem 101460 1月 28 2013 ndown_em.F-rw-r-r- 1 root root 80579 11月 26 11:24 ndown_em.f90-rw-r-r- 1 root root 158356 11月 26 11:24 nd

17、own_em.o-rwxr-xr-x 1 root root 23682511 11月 26 11:25 ndown.exe-rw-r-r- 1 6840 kmem 36624 4月 28 2013 nup_em.F-rw-r-r- 1 root root 23775 11月 26 11:24 nup_em.f90-rw-r-r- 1 root root 32404 11月 26 11:24 nup_em.o-rwxr-xr-x 1 root root 23351361 11月 26 11:25 nup.exe-rw-r-r- 1 6840 kmem 56972 3月 27 2012 real

18、_em.F-rw-r-r- 1 root root 44823 11月 26 11:25 real_em.f90-rw-r-r- 1 root root 73848 11月 26 11:25 real_em.o-rwxr-xr-x 1 root root 23567563 11月 26 11:25 real.exe-rw-r-r- 1 6840 kmem 61620 6月 18 00:18 real_nmm.F-rw-r-r- 1 6840 kmem 80126 2月 29 2012 tc_em.F-rw-r-r- 1 root root 57708 11月 26 11:24 tc_em.f9

19、0-rw-r-r- 1 root root 142240 11月 26 11:25 tc_em.o-rwxr-xr-x 1 root root 23433628 11月 26 11:25 tc.exe-rw-r-r- 1 6840 kmem 44894 9月 2 2011 wrf_ESMFMod.F-rwxr-xr-x 1 root root 26884395 11月 26 11:23 wrf.exe-rw-r-r- 1 6840 kmem 951 3月 28 2010 wrf.F-rw-r-r- 1 root root 186 11月 26 11:23 wrf.f90-rw-r-r- 1 r

20、oot root 1640 11月 26 11:23 wrf.o-rw-r-r- 1 6840 kmem 85396 9月 2 2011 wrf_SST_ESMF.FWPSV3.5.1安装./configure在配置选项中选13形成configure.wps文件修改后的configure.wps文件# configure.wps# This file was automatically generated by the configure script in the# top level directory. You may make changes to the settings in th

21、is# file but be aware they will be overwritten each time you run configure.# Ordinarily, it is necessary to run configure once, when the code is# first installed.# To permanently change options, change the settings for your platform# in the file arch/configure.defaults, the preamble, and the postamb

22、le -# then rerun configure.#.SUFFIXES: .F .f .c .oSHELL = /bin/shNCARG_LIBS = -L$(NCARG_ROOT)/lib -lncarg -lncarg_gks -lncarg_c -L/usr/X11R6/lib -lX11NCARG_LIBS2 = # May be overridden by architecture specific value belowFDEFS = -DUSE_JPEG2000 -DUSE_PNG# Listing of options that are usually independen

23、t of machine type.# When necessary, these are over-ridden by each architecture.ARFLAGS = PERL = perlRANLIB = echoWRF_DIR = ./WRFV3WRF_INCLUDE = -I$(WRF_DIR)/external/io_netcdf -I$(WRF_DIR)/external/io_grib_share -I$(WRF_DIR)/external/io_grib1 -I$(WRF_DIR)/external/io_int -I$(WRF_DIR)/inc -I$(NETCDF)

24、/includeWRF_LIB = -L$(WRF_DIR)/external/io_grib1 -lio_grib1 -L$(WRF_DIR)/external/io_grib_share -lio_grib_share -L$(WRF_DIR)/external/io_int -lwrfio_int -L$(WRF_DIR)/external/io_netcdf -lwrfio_nf -L$(NETCDF)/lib -lnetcdff -lnetcdf# Architecture specific settings #COMPRESSION_LIBS = # intentionally l

25、eft blank, fill in COMPRESSION_LIBS belowCOMPRESSION_INC = # intentionally left blank, fill in COMPRESSION_INC below# Settings for Linux i486 i586 i686, gfortran (serial) #COMPRESSION_LIBS = -L/usr/local/jasper/lib -ljasper -lpng -lzCOMPRESSION_INC = -I/usr/local/jasper/includeFDEFS = -DUSE_JPEG2000

26、 -DUSE_PNGSFC = gfortranSCC = gccDM_FC = mpif90 -f90=gfortranDM_CC = mpicc -cc=gcc FC = $(SFC) CC = $(SCC)LD = $(FC)FFLAGS = -ffree-form -O -fconvert=big-endian -frecord-marker=4F77FLAGS = -ffixed-form -O -fconvert=big-endian -frecord-marker=4FCSUFFIX = FNGFLAGS = $(FFLAGS)LDFLAGS =CFLAGS =CPP = /us

27、r/bin/cpp -C -P -traditionalCPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL RANLIB = ranlib# Macros, these should be generic for all machinesLN = ln -sfMAKE = make -i -rRM = /bin/rm -fCP = /bin/cpAR = ar ru.IGNORE:.SUFFIXES: .c .f .F .o# There is probably no reason to mod

28、ify these rules.c.o: $(RM) $ $(CC) $(CPPFLAGS) $(CFLAGS) -c $ .f.o: $(RM) $ $*.mod $(FC) $(F77FLAGS) -c $ $(WRF_INCLUDE).F.o: $(RM) $ $*.mod $(CPP) $(CPPFLAGS) $(FDEFS) $(WRF_INCLUDE) $ $*.f90 $(FC) $(FFLAGS) -c $*.f90 $(WRF_INCLUDE)# $(RM) $*.f90以上是完整文件,注意下面两条语句:COMPRESSION_LIBS = -L/usr/local/jasp

29、er/lib -ljasper -lpng -lzCOMPRESSION_INC = -I/usr/local/jasper/include其中libpng和libzib库文件是从/usr/local/libpng和/usr/local/zlib文件夹下找到,直接手工考到/usr/local/jasper/lib文件夹下的。同时,把/usr/local/libpng文件夹下的include子目录拷贝到/usr/local/jasper文件夹下。./compile & wps_compile.logwps_compile.log文件中没有出现“错误”提示WPS相关的.exe文件形成WRFDA_V

30、3.5.1安装./configure wrfda./compile all_wrfvar & wrfvar_compile.logwrfvar_compile.log文件中没有出现“错误”提示相关的.exe文件形成RIP4安装对于RIP4安装,我在2011年初的那次努力就是以失败告终的!/thread-610-1-1.html这是当时在“Meteorological Numerical Model Union of China (MNMUC) 中国气象数值模式联盟”网站上寻求帮助的贴子。时隔数年,我在这次努力中也用了将近3天的时间。其实,我SURFER和GRADS用得挺好,但问题不解决,心里总

31、是放不下。Cairo是一个2D图形库。/download/RIP4安装必须先安装Cairo,命令如下:apt-get install libcairo2-dev./configure修改configure.rip# configure.rip# This file was automatically generated by the configure script in the# top level directory. You may make changes to the settings in this# file but be aware they will be overwritt

32、en each time you run configure.# Ordinarily, it is necessary to run configure once, when the code is# first installed.# To permanently change options, change the settings for your platform# in the file arch/configure.defaults, the preamble, and the postamble -# then rerun configure.#.SUFFIXES: .F90

33、.f90 .F .f .c .oSHELL = /bin/sh# Listing of options that are usually independent of machine type.# When necessary, these are over-ridden by each architecture.ARFLAGS = PERL = perlRANLIB = echoNETCDFLIB = -L$NETCDF/lib -lnetcdf -lnetcdffNETCDFINC = -I$NETCDF/includeNCARGLIBS = -L$NCARG_ROOT/lib -lnca

34、rg -lcgm -lncarg_gks -lncarg_c -L/usr/lib/i386-linux-gnu -lX11 -lm# Architecture specific settings # Settings for PC Linux i486 i586 i686 x86_64, gfortran compiler#FC = gfortranFFLAGS = -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4CCFLAGS = -I. -DLITTLE -DUNDERSCORE -cLDFLAGS =LOCAL_LIBS

35、 = -L/usr/X11R6/lib -lX11 -lf2c -L/usr/lib/gcc/i686-linux-gnu/4.6 -lgcc -lgfortran -lcairo -lfreetype# Macros, these should be generic for all machinesLN = ln -sfMAKE = make -i -rRM = /bin/rm -fCP = /bin/cpAR = ar ru.IGNORE:.SUFFIXES: .c .f90 .F90 .f .F .o# There is probably no reason to modify thes

36、e rules.c.o: $(RM) $ $(CC) $(CCFLAGS) $(CFLAGS) -c $ .f.o: $(FC) $(FFLAGS) -c $*.f.f90.o: $(RM) $ $*.mod $(CP) $ $*.f $(FC) $(FFLAGS) -c $*.f $(RM) $*.f.F90.o: $(RM) $ $*.mod $(CPP) $(CCFLAGS) $(FDEFS) $ $*.f $(FC) $(FFLAGS) -c $*.f $NETCDF_INC $(RM) $*.f以上是完整文件,注意下面这条语句:NETCDFLIB = -L$NETCDF/lib -l

37、netcdf -lnetcdff后面的-lnetcdff,是手工加上的,这就是关键。./compile & rip4_compile.logrip4_compile.log文件中没有出现“错误”提示ls -l总用量 1636drwxr-xr-x 2 6840 kmem 4096 11月 27 08:52 arch-rw-r-r- 1 6840 kmem 11398 10月 4 12:15 CHANGES-rwxr-xr-x 1 6840 kmem 658 2月 27 2009 clean-rw-r-r- 1 6840 kmem 5008 1月 11 2011 color.tbl-rwxr-xr

38、-x 1 6840 kmem 1282 10月 15 2008 compile-rwxr-xr-x 1 6840 kmem 4257 10月 15 2008 configure-rw-r-r- 1 root root 1912 11月 27 09:25 configure.rip-rw-r-r- 1 root root 1858 11月 27 08:53 configure.rip-rw-r-r- 1 root root 1807 11月 22 09:16 configure.rip4drwxr-xr-x 2 6840 kmem 4096 11月 22 09:15 Doc-rw-r-r- 1

39、6840 kmem 30200 7月 10 2007 eta_micro_lookup.dat-rw-r-r- 1 6840 kmem 14104 3月 19 2008 Makefile-rw-r-r- 1 6840 kmem 347079 7月 10 2007 psadilookup.dat-rw-r-r- 1 6840 kmem 4028 3月 31 2012 READMElrwxrwxrwx 1 root root 7 11月 27 09:34 rip - src/rip-rw-r-r- 1 root root 15225 11月 27 09:34 rip4_compile.loglrw

40、xrwxrwx 1 root root 11 11月 27 09:34 ripcomp - src/ripcomplrwxrwxrwx 1 root root 10 11月 27 09:34 ripcut - src/ripcutlrwxrwxrwx 1 root root 13 11月 27 09:34 ripdp_mm5 - src/ripdp_mm5lrwxrwxrwx 1 root root 16 11月 27 09:34 ripdp_wrfarw - src/ripdp_wrfarwlrwxrwxrwx 1 root root 16 11月 27 09:34 ripdp_wrfnmm

41、 - src/ripdp_wrfnmmlrwxrwxrwx 1 root root 13 11月 27 09:34 ripinterp - src/ripinterplrwxrwxrwx 1 root root 11 11月 27 09:34 ripshow - src/ripshowdrwxr-xr-x 2 6840 kmem 4096 11月 22 09:15 sample_infileslrwxrwxrwx 1 root root 12 11月 27 09:34 showtraj - src/showtrajdrwxr-xr-x 2 6840 kmem 12288 11月 27 09:3

42、4 src-rw-r-r- 1 6840 kmem 1123389 7月 10 2007 stationlistlrwxrwxrwx 1 root root 11 11月 27 09:34 tabdiag - src/tabdiaglrwxrwxrwx 1 root root 11 11月 27 09:34 upscale - src/upscale-rw-r-r- 1 root root 55557 11月 26 18:38 wps_compile.log配置环境变量:vi /root/.bashrc加入:export RIP_ROOT=/usr/local/RIP4export PATH=

43、$RIP_ROOT:$PATHsource /root/.bashrc结语感谢气象家园。感谢各位气象同仁,你们曾经的努力对于我找到解决问题的方法非常重要,更重要的是你们努力解决问题的精神,是你们鼓舞了我。感谢UBUNTU,和为此努力和付出的人们。感谢gfortran,我真的不想再去盗版PGI;感谢ifort(intel),因为如果gfortran用不好,ifort是一个选择。感谢gcc。向微软表示歉意,因为我使用的VC+ 6.0 是盗版的,而我又实在离不开C+ARWpost安装ARWpost把WRF结果转为GrADS或Vis5D可辨识的数据格式。步骤:tar zxvf ARWpost_V3.t

44、ar.gz./configure生成configure.arwp修改Makefile文件 (注:在/src子目录下)修改后的Makefile文件include ./configure.arwpOBJS = module_model_basics.o constants_module.o gridinfo_module.o ARWpost.o input_module.o output_module.o module_map_utils.o misc_definitions_module.o module_date_pack.o module_debug.o process_domain_mod

45、ule.o module_get_file_names.o module_interp.o module_basic_arrays.o module_diagnostics.o module_arrays.o module_pressure.o module_calc_height.o module_calc_pressure.o module_calc_theta.o module_calc_tk.o module_calc_tc.o module_calc_td.o module_calc_td2.o module_calc_rh.o module_calc_rh2.o module_ca

46、lc_uvmet.o module_calc_slp.o module_calc_dbz.o module_calc_cape.o module_calc_wdir.o module_calc_wspd.o module_calc_clfr.owrong: clear ; echo echo go up one directory and type compile to build ARWpost echo echo all: ARWpost.exeARWpost.exe: $(OBJS) $(FC) $(FFLAGS) $(LDFLAGS) -o $ $(OBJS) -L$(NETCDF)/

47、lib -I$(NETCDF)/include -lnetcdf -lnetcdffmodule_model_basics.o:constants_module.o:misc_definitions_module.o:module_date_pack.o:module_get_file_names.o:module_arrays.o: module_model_basics.o gridinfo_module.omodule_pressure.o: module_model_basics.omodule_interp.o: input_module.o module_arrays.o modu

48、le_pressure.omodule_map_utils.o:module_debug.o:gridinfo_module.o: misc_definitions_module.o module_debug.o module_get_file_names.oinput_module.o: gridinfo_module.o misc_definitions_module.o output_module.o: input_module.o module_model_basics.o module_arrays.o module_interp.oprocess_domain_module.o:

49、module_date_pack.o gridinfo_module.o input_module.o output_module.o misc_definitions_module.o module_debug.o module_interp.o module_basic_arrays.o module_diagnostics.o module_arrays.o module_model_basics.o module_pressure.oARWpost.o: gridinfo_module.o module_debug.o process_domain_module.omodule_bas

50、ic_arrays.o: gridinfo_module.o module_arrays.o module_pressure.o module_interp.o constants_module.omodule_diagnostics.o: gridinfo_module.o output_module.o module_arrays.o module_interp.o module_pressure.o constants_module.o module_calc_height.o module_calc_pressure.o module_calc_tk.o module_calc_tc.

51、o module_calc_theta.o module_calc_td.o module_calc_td2.o module_calc_rh.o module_calc_rh2.o module_calc_uvmet.o module_calc_slp.o module_calc_dbz.o module_calc_cape.o module_calc_wdir.o module_calc_wspd.o module_calc_clfr.omodule_calc_cape.o: module_model_basics.o constants_module.omodule_calc_dbz.o

52、: module_model_basics.o constants_module.omodule_calc_height.o: module_model_basics.o constants_module.omodule_calc_pressure.o: module_model_basics.omodule_calc_slp.o: module_model_basics.o constants_module.omodule_calc_rh.o: module_model_basics.o constants_module.omodule_calc_rh2.o: module_model_ba

53、sics.o constants_module.omodule_calc_tk.o: module_model_basics.o constants_module.omodule_calc_tc.o: module_model_basics.o constants_module.omodule_calc_td.o: module_model_basics.omodule_calc_td2.o: module_model_basics.omodule_calc_theta.o: module_model_basics.omodule_calc_uvmet.o: module_model_basi

54、cs.omodule_calc_wdir.o: module_model_basics.omodule_calc_wspd.o: module_model_basics.omodule_calc_clfr.o: module_model_basics.oclean: rm -f $(OBJS) *.modclobber: rm -f $(OBJS) *.mod rm -f *.f rm -f ARWpost.exe以上是完整文件,注意下面这条语句:ARWpost.exe: $(OBJS) $(FC) $(FFLAGS) $(LDFLAGS) -o $ $(OBJS) -L$(NETCDF)/l

55、ib -I$(NETCDF)/include -lnetcdf -lnetcdff后面的-lnetcdff,是手工加上的,这就是关键。(类似于修改RIP4的configure.rip)./compilels -l总用量 56drwxr-xr-x 2 9140 users 4096 11月 22 09:50 archlrwxrwxrwx 1 root root 15 11月 27 18:52 ARWpost.exe - src/ARWpost.exe-rwxr-xr-x 1 9140 users 905 5月 25 2007 clean-rwxr-xr-x 1 9140 users 490 12

56、月 16 2010 compile-rwxr-xr-x 1 9140 users 4257 5月 25 2007 configure-rw-r-r- 1 root root 1759 11月 27 18:40 configure.arwp-rw-r-r- 1 9140 users 12 5月 25 2007 fields.plt-rw-r-r- 1 9140 users 19 5月 25 2007 myLIST-rw-r-r- 1 9140 users 1150 12月 16 2010 namelist.ARWpost-rw-r-r- 1 9140 users 7189 12月 16 2010

57、 READMEdrwxr-xr-x 2 9140 users 4096 11月 22 09:50 scriptsdrwxr-xr-x 2 9140 users 4096 11月 27 18:52 srcdrwxr-xr-x 2 9140 users 4096 3月 2 2011 util生成ARWpost.exe,表明安装成功安装WPS前要先安装zlib、libpng和jasper三个外部库,用于识别GRIB2格式的数据;安装WRFDAV前要先安装另外三个外部库bufr(如不用bufr格式的数据,可以不用装,这是3.1版本之前的WRFDA所不允许的),lapack和blas。用 ldd 察看软

58、件依赖的库,如:ldd ungrib.exe linux-gate.so.1 = (0 xb77da000) libpng16.so.16 = /usr/local/jasper/lib/libpng16.so.16 (0 xb77a1000) libgfortran.so.3 = /usr/lib/i386-linux-gnu/libgfortran.so.3 (0 xb7690000) libm.so.6 = /lib/i386-linux-gnu/libm.so.6 (0 xb7663000) libgcc_s.so.1 = /lib/i386-linux-gnu/libgcc_s.so

59、.1 (0 xb7645000) libc.so.6 = /lib/i386-linux-gnu/libc.so.6 (0 xb749b000) libz.so.1 = /usr/local/jasper/lib/libz.so.1 (0 xb7483000) libquadmath.so.0 = /usr/lib/i386-linux-gnu/libquadmath.so.0 (0 xb740f000) /lib/ld-linux.so.2 (0 xb77db000)假设缺:libpng16.so.16locate libpng16假设libpng16.so.16在/usr/local/ja

60、sper/lib,则:export LD_LIBRARY_PAH=/usr/local/jasper/libWRF(三层嵌套)试运行:修改namelist.wps:&sharewrf_core = ARW,max_dom = 3,start_date = 2013-08-16_00:00:00,2013-08-16_00:00:00,2013-08-16_00:00:00,end_date = 2013-08-16_12:00:00,2013-08-16_12:00:00,2013-08-16_12:00:00,interval_seconds = 21600io_form_geogrid =

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论