视频1 视频21 视频41 视频61 视频文章1 视频文章21 视频文章41 视频文章61 推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37 推荐39 推荐41 推荐43 推荐45 推荐47 推荐49 关键词1 关键词101 关键词201 关键词301 关键词401 关键词501 关键词601 关键词701 关键词801 关键词901 关键词1001 关键词1101 关键词1201 关键词1301 关键词1401 关键词1501 关键词1601 关键词1701 关键词1801 关键词1901 视频扩展1 视频扩展6 视频扩展11 视频扩展16 文章1 文章201 文章401 文章601 文章801 文章1001 资讯1 资讯501 资讯1001 资讯1501 标签1 标签501 标签1001 关键词1 关键词501 关键词1001 关键词1501 专题2001
WRF3.3安装笔记
2025-10-02 18:43:26 责编:小OO
文档
1.PGI的安装

使用的版本为7.1.4;需注意的一点是:PGI的版本号与license的版本号应该一致;

A:将WRFV3.1目录中的PGI7.1.4文件夹直接复制到/home/zzzfff1100;

B:进入到PGI7.1.4目录,解压PGI7.1.4(tar -zxvf pgi*****);

C:#./install

按回车到100%,选accept;ACML选项选no;1;路径/home/zzzfff1100/pgi,填写一些基本信息;read-only选n。

D:把pgilinux-714.tar.gz-license.dat复制到/home/zzzfff1100/pgi下,并重命名为license.dat;

E:设置环境变量,在/home/zzzfff1100/.bashrc(隐藏文件,用vi命令编辑)设置环境变量如下:

# set for PGI 

export PGI=/home/zzzfff1100/pgi 

export MPI=/home/zzzfff1100/pgi/linux86-/7.1/mpi/mpich 

export PATH=$PGI/linux86-/7.1/binMPI/binPATH 

export MANPATH=$PGI/linux86-/7.1/man 

export LM_LICENSE_FILE=$PGI/license.dat 

#source .bashrc;

F:#which pgf90,可显示PGI安装路径;

#pgf90,显示warnning –No files to process,则大概表示已安装成功;

另外为确保无误,可编个小程序试着运行下,如下:

#cd /home/zzzfff1100

#vi a.f90

Write(*,*)’This is the test program’

End

#pgf90 a.f90

可生成a.out可执行文件

#./a.out

看结果可知道PGI是否完全安装成功;

2.netCDF4.0安装

A:解压并进入到安装目录;

B:#./configure --prefix=/home/zzzfff1100/netcdf FC=pgf90

#make check

#make install

C:.bashrc文件中环境变量的设置如下:

# set for netcdf

export NETCDF=/home/zzzfff1100/netcdf

export PATH=$NETCDF/binPATH

export LIBPATH=$NETCDF/libPATH

export INCPATH=$NETCDF/includePATH

export FC=$PGI/linux86-/7.1/bin/pgf90

export WRFIO_NCD_LARGE_FILE_SUPPORT=1

D:source .bashrc

3.Install the WRF3.1

A: 解压并进入到安装目录

#./configure

Choose the option of 1 (PGI compiler with gcc, serial, depending on your linux system)

B: choose 1 (basic) for the nesting option

C: #./compile

D:#./compile em_real

After the compliation, it will has real.exe and wrf.exe in the -/run folder or -/test/em_real

4.the installation of WPS3.1

A: 解压并进入到安装目录

B: #./comfigure

Choose the option of 5 ( pc linux x86_ PGI 5.2 or higher, serial)

Show the message of “configure success”

C ./compile

If it has the follow three files of “geogrid.exe, metgrid.exe, ungrid.exe”, then the WPS was successfully installed;

5. installation of ARWpost

#./configure

Choose the option of 1(PGI without vis5d option)

#./compile

If it has ARWpost.exe in the folder, then it’s successes.

6. installation of grads_linux

Untar the file and copy it to the folder =/home/zzzfff1100/grads

Set the environment variability in the .bashrc file, as follow:

export GADDIR=/home/zzzfff1100/grads/data

export GASCRP=/home/zzzfff1100/grads/lib

export PATH=.ROOT/binPGI/linux86-/7.1/binNETCDF/binPATH=/home/zzzfff1100/grads/bin

#gradsc

Choose the option of no to see whether the grads for linux was successfully installed.下载本文

显示全文
专题