Intel编译器下WRF安装指南.docx
文本预览下载声明
Intel编译器下WRF安装指南
HYPERLINK /wrf/src/ /wrf/src/
HYPERLINK .uk/research/interproj/nwpsaf/rtm/rtm_rttov8.html .uk/research/interproj/nwpsaf/rtm/rtm_rttov8.html
虚拟机上安装Fedora14i386
比较简单,这里略去。[建议:虚拟内存2G]
安装需要的包
安装gFortran
#yum install compat-gcc-34-g77
#ln -s /usr/lib/libg2c.so.0 /usr/lib/libg2c.so
#ln -s /usr/lib/libgfortran.so.3 /usr/lib/libgfortran.a
安装: HYPERLINK ftp://ftp.dit.upm.es/mirrors/ftp.rediris.es/mirror/fedora-legacy/redhat/9/os/i386/libstdc%2B%2B-3.2.2-5.i386.rpm libstdc++,包含libstdc++.so.5库,是intel编译器必须的。
#yum install libstdc++.so.5
安装 jasper-1.900.1
#unzip jasper-1.900.1.zip
#./configure --prefix=/usr/local/jasper
#make
#make install
安装netcdf-4.0.tar.gz[注意:编译netcdf,网络必须是通的,否则make all[64位check]测试不通过]
#tar –zxvf netcdf-4.0.tar.gz
#./configure --prefix=/usr/local/netcdf4
#make all
#make check ;64位不需要
#make install
安装 libpng-1.5.0.tar.gz
#tar –zxvf libpng-1.5.0.tar.gz
#./configure --prefix=/usr/local/libpng
#make
#make install
安装 zlib-1.2.5.tar.gz
#tar –zxvf zlib-1.2.5.tar.gz
#./configure --prefix=/usr/local/zlib
#make
#make install
安装ncl
#mkdir /usr/local/ ncarg
#cp ./ ncl_ncarg-5.2.1.Linux_i686_nodap_gcc432.tar.gz /usr/home/local/ncarg
#cd /usr/home/local/ncarg
#tar -zxvf ncl_ncarg-5.2.1.Linux_i686_nodap_gcc432.tar
说明:缺什么库,就用yum安装什么库。但是不建议用yum命令安装netcdf和ncl。
安装Intel编译器[电驴上有,可下载,学习完毕,记着删除]:
安装Intel C编译器:
[Intel.C...编译器].TLF-SOFT-Intel.C.Plus.Plus.Compiler.Professional.v11.1.046.LINUX-SPYRAL.iso
安装步骤参照SPYRAL目录下install-cpp-linux.txt:
Launch the setup.
When asked, select the Alternative activation option.
Use the included license file.
安装Intel Fortran编译器:
[Intel.Fortran.编译器Linux专业版].TLF-SOFT-Intel.Fortran.Compiler.Professional.v11.1.046.LINUX-SPYRAL.iso
安装步骤参照SPYRAL目录下install-cpp-linux.txt:
Launch the setup.
When asked, select the Alternative activation option.
Use the included license file.
环境变
显示全部