LZN's Blog CodePlayer

port smoke on SAVIO

2016-10-28
LZN

https://www.cmascenter.org/smoke/documentation/4.0/html/ch12s02.html

  1. download

先找到release timeline

https://www.cmascenter.org/download/release_calendar.cfm

找到最新版本,比如我们看到4.0,进入后可以发现下载链接

https://www.cmascenter.org/download/forms/step_1.cfm

https://www.cmascenter.org/help/model_docs/porting_guide.cfm

snap2

选择好后,进入下载页,下载安装脚本(Installation script)、源码包以及测试例子数据三个内容。(其实他们用github托管哦)

之后follow 12.3(非常重要一章)进行安装

https://www.cmascenter.org/smoke/documentation/4.0/html/ch12s03.html

设置SMK_HOME环境变量指向安装路径,可以将安装脚本和压缩包放入同一路径下,将这个路径设置为安装路径。

在smoke_install.csh最前面加入

setenv SMK_HOME `pwd`

不需要source,直接csh运行即可。如果顺利编译,会显示

NOTE: AUTO_DELETE script setting is not set.
      Default is N to not delete I/O API intermediate and output files
Creating inventory list files...
Installation completed successfully.
 
Please follow the instructions in Section 4.3 of the SMOKE User's Manual
to run the nctox test case.
https://www.cmascenter.org/smoke/documentation/4.0/html/

再后follow 4.3去run测试用例

https://www.cmascenter.org/smoke/documentation/4.0/html/ch04s03.html

出现错误

mrggrid.abmp.nctox.20050710.us12-nc.log:     *** ERROR ABORT in subroutine MRGGRID

后来发现执行语句4.0ug里居然少一个!smk_rateperhour_nctox.csh

更改后正常。


Similar Posts

Comments