爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 36035|回复: 50

HOW TO INSTALL CMAQ5.0.1 ---- a user installing guide

[复制链接]
发表于 2012-11-9 09:07:55 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

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

config.cmaq

0 Bytes, 下载次数: 31, 下载积分: 金钱 -5

bldit.jproc

7.1 KB, 下载次数: 31, 下载积分: 金钱 -5

Makefile

4.17 KB, 下载次数: 10, 下载积分: 金钱 -5

Makefile

4.17 KB, 下载次数: 7, 下载积分: 金钱 -5

评分

参与人数 1金钱 +6 贡献 +2 收起 理由
天目神眉 + 6 + 2

查看全部评分

密码修改失败请联系微信:mofangbao
 成长值: 0
发表于 2012-11-9 09:11:31 | 显示全部楼层
本帖最后由 言深深 于 2012-11-9 09:11 编辑

Is this a help files or a question?
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2012-11-9 09:48:00 | 显示全部楼层
a help files
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2012-11-10 06:10:06 | 显示全部楼层
本帖最后由 寒江雪(王训 于 2012-11-10 06:34 编辑

The most important thing   is  to compile the ioapi, if your ioapi doesn't not compiled well. when you copile the prario you will encounter erro like "can't  open STATE3.EXT" ,so you can not compile the pwrite3.o pshut3.o ....  .these libraries are very important to compile the cctm, or you will meet error like " undefined pwrite3_"

Makefile

4.2 KB, 下载次数: 8, 下载积分: 金钱 -5

bldit.bldmake

2.42 KB, 下载次数: 3, 下载积分: 金钱 -5

bldit.cctm

19.49 KB, 下载次数: 20, 下载积分: 金钱 -5

config.cmaq

2.6 KB, 下载次数: 5, 下载积分: 金钱 -5

cmaq.tgz

18.1 KB, 下载次数: 9, 下载积分: 金钱 -5

密码修改失败请联系微信:mofangbao
发表于 2012-11-26 15:05:11 | 显示全部楼层
顶起
密码修改失败请联系微信:mofangbao
发表于 2012-11-27 16:41:42 | 显示全部楼层
晕呀,要贡献才能浏览
密码修改失败请联系微信:mofangbao
发表于 2012-12-14 11:38:55 | 显示全部楼层
,谢谢共享
密码修改失败请联系微信:mofangbao
发表于 2012-12-18 07:33:34 | 显示全部楼层
额,是不是主页可以直接下载的啊?贡献2点,太狠了吧
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2012-12-29 08:03:00 | 显示全部楼层
SORRY FOR THAT. I HAVE CHANGED FOR FREE, PLEASE ENJOY!
密码修改失败请联系微信:mofangbao
发表于 2012-12-29 15:29:54 | 显示全部楼层
对CMAQ用户来说还是很实用的
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

快速回复 返回顶部 返回列表