- 积分
- 1986
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-3-20
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 寒江雪(王训 于 2012-12-29 08:02 编辑
how to install CMAQ-5.0.1 under the c-shell ----a user guide
my computer is Linux2.6.32-279.5.2.el6.i686 i386 GNU/Linux centos6
(1)download the CMAQv5.0.1.tar.gz DATA_CMAQv5.0.1.tar.gz from http://www.cmaq-model.org/ , where you should register first.
(2)I want to install CMAQ at /home/wangxun/, so I copy the CMAQv5.0.1.tar.gz to here.
(3)tar -zxvf CMAQv5.0.1.tar.gz
(4) tar -zxvf DATA_CMAQv5.0.1.tar.gz
(5) cd CMAQv5.0.1
(6)ls -al // you will see data files, scripts files, models files.
(7) setenv M3HOME /home/wangxun/CMAQv5.0
(8) vi scripts/config.cmaq // the result as the attachment
(9) setenv M3LIB $M3HOME/lib
(10) cd $M3HOME
(11) mkdir -p $M3LIB
(12) cd $M3LIB
(13) ln –s /home/wangxun/netcdf netcdf // or copy the netcdf to here
(14) mkdir $M3LIB/ioapi_3.1
(15) cd $M3LIB/ioapi_3.1
(16) ln –s /home/wangxun/ioapi_31/Linux2_x86 Linux2_i386gfort
(17) copy the libpvm3.a to Linux2_i386gfort (so you must install pvm3, cvs first)
(18) cd $M3LIB
(19)ln –s /lib/mpich mpich
(20) cd $M3HOME/scripts/build
(21)./bldit.bldmake
(22)cd $M3HOME/scripts/stenex
(23)./bldit.se_noop
(24)./ bldit.se
(25)cd $M3HOME/scripts/pario
(26)./bldit.pario //this is very import step, before you install libpario.a , make sure your ioapi (contain fixed_src) is OK, or you will meet error like "can't read STATE3.ETX"
(27)cd $M3HOME/scripts/jproc
(28) vim bldit.jproc //edit as attachment:
(29)./bldit.jproc
(30) cd $M3HOME/scripts/mcip4/src
(31) vi Makefile //edit as attachment
(32)make
(34) install icon, bcon is just like the same
(35)some tips for icon these things. Before you install it, you should edit first. using like " vim bldit.*", and add "-lpvm3 -lgomp" with IOAPI, and add "-lnetcdff" with NETCDF
|
评分
-
查看全部评分
|