- 积分
- 6155
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-9-11
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2017-10-31 17:36:32
|
显示全部楼层
您好,我不能保证自己哪里没有错,我说说我的某些小问题,看有没有什么可能性造成这个局面。
zlib,libpng,jasper,mpich安装都使用sudo ./configure ,然后zlib安装使用了sudo CFLAGS="-o3 -fPIC" ./configure
NCL红帽系统选择了Linux_CentOS7.0_x86_64版本
netcdf-4.1.3安装sudo ./configure --prefix=/usr/local/wrf/netcdf --disable-netcdf-4 make check install(之前使用 make check make && make install未成功)
WRFV3.9.1在./configure时选择的是52,PGI(pgf90/pgcc)serial
WPSV3.9.1在./configure时选择5 Linux x86_64,PGI compiler serial
下面是我的环境设置:
## set WRFV3 ##
export WRFIO_NCD_NO_LARGE_FILE_SUPPORT=1
## set pgi ##
export PGI=/usr/local/wrf/pgi/linux86-64/17.4
export PATH=$PGI/bin:$PGI/include:$PATH
export MANPATH=$MANPATH:$PGI/man
export LM_LICENSE_FILE=/usr/local/wrf/pgi/license.dat
## set netcdf ##
export NETCDF=/usr/local/wrf/netcdf
export NETCDF_LIB=/usr/local/wrf/netcdf/lib
export NETCDF_INC=/usr/local/wrf/netcdf/include
export PATH=/usr/local/wrf/netcdf/bin:/usr/local/wrf/netcdf/include:/usr/local/wrf/netcdf/lib:/usr/local/wrf/netcdf/share/man:$PATH
export CC=/usr/bin/gcc
export CXX=$PGI/bin/pgcc
export FC=$PGI/bin/pgf90
export F90=$PGI/bin/pgf90
export LD_LIBRARY=$LD_LIBRARY_PATH:/usr/local/wrf/netcdf/lib
## set ncl_ncarg ##
export NCARG_ROOT=/usr/local/wrf/ncl
export NCARG_LIB=/usr/local/wrf/ncl/lib
export NCARG_INC=/usr/local/wrf/ncl/include
export PATH=/usr/local/wrf/ncl/bin:$PATH
export MANPATH=$NCARG_ROOT/bin:$PATH
export DISPALY=:0.0
## set zlib ##
export Zlib=/usr/local/wrf/zlib
export LDFLAGS=-L/use/local/lib
export CPPFLAGS=-I/usr/local/include
export LD_LIBIRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
## set libpng ##
export LIBPNG=/usr/local/wrf/libpng
export LIBPNGLIB=/usr/local/lib
export LIBPNGINC=/usr/local/include
## set jasper ##
export JASPER=/usr/local/wrf/jasper
export JASPERLIB=/usr/local/lib
export JASPERINC=/usr/local/include
谢谢您,来自一个菜鸟的感激 |
|