立即注册 登录
气象家园 返回首页

寒江雪(王训的个人空间 http://bbs.06climate.com/?9199 [收藏] [复制] [分享] [RSS]

日志

HOW TO INSTALLCMAQ5.0.1

热度 1已有 936 次阅读2012-11-9 09:03 |个人分类:CMAQ

Taday, I will introduce how to install CMAQ-5.0.1 (1)  under the c-shell
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

config.cmaq


(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
(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

发表评论 评论 (1 个评论)

回复 言深深 2012-11-9 10:36
Thank you very much

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 立即注册

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

返回顶部