Re: [問題] 請問有人使用過cam這個model嗎??
看板TY_Research作者walaykao (Age of Madness)時間13年前 (2012/08/07 01:52)推噓1(1推 0噓 0→)留言1則, 1人參與討論串4/4 (看更多)
※ 引述《albert7997 (德)》之銘言:
: *版本&Confuguration
: 我用的是CAM5.1.1(因為我下載的是CESM-1.0.4最新版),但我是依照CAM5的user guide
: 安裝,所以只有單獨編譯CAM,而不是整個model
對第一次使用 GCM 的人來說,我的建議是安裝整個 CESM。CESM 的介面比較容易
上手,user guide 也清楚很多。CESM 包括四個部分:大氣 (CAM)、地表 (CLM)、
海洋 (POP2) 和海冰 (CICE)。如果只想跑 CAM 的話,設定很簡單,照使用手冊
改一個設定即可。
: 1. 關於input
: 因為cesm官方給的svn連結
: (https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/)裡面是將所以的input
: 檔案依照樹狀結構放成一個資料夾,我不知道該如何分離出裡面到底有幾個testcase,我
: 不知道要把哪幾個input檔案獨立出來才可以成為一個測資。我只知道在build-namelist
: 的時候可以加上-test,可是這樣它每次都只會產生同一組的input清單,所以我就只知道
: 這一組測資的組成檔案有哪些。
: -----------------
: Checking whether input datasets exist locally...
: OK -- found depvel_file =
: /home/albert7997/inputdata/atm/cam/chem/trop_mozart/dvel/depvel_monthly.nc
: OK -- found tracer_cnst_filelist =
: /home/albert7997/inputdata/atm/cam/chem/trop_mozart_aero/oxid/oxid_1.9x2.5_L26_clim_list.c090805.txt
: .....
: (剩下很多完整的檔案list我有post問題在
: http://forum.cgd.ucar.edu/showthread.php?2241-Problems-when-running-the-CAM5.0-alone)
: ---------------------------------
如果用的是 CESM 的話,每個部分所需的 input file 會個別在 xxx.input_data_list
這個檔案裡列出來。既然它會自動去抓取檔案,我不太建議初學者去改動 input file。
: 2.如同上一個問題,我不知道每個input file代表的意義(大部分為.nc檔)&需要幾個檔
: 案才可以成為一個完整的測資。
: 我可以使用matlab, ncview, 或是用Netcdf中的ncdump指令讀到.nc檔中的變數名稱&
: 值,不過其他更深的我就不會了...
:
: 3. 我可以成功產生出每個月的output .nc檔案,不過我不知道對於一個output我應該
: 要從他解析出什麼資訊。
: 目前我正在研究如何使用AMWG,這應該是官方指定的diagnostic
: software(http://www.cgd.ucar.edu/amp/amwg/diagnostics/)
對於 NetCDF file,最佳方案是使用 NCAR 自己出的繪圖軟體 NCL,AMWG 就是用 NCL
寫的。但如果想要迅速看圖的話,NASA 的 panoply 軟體很容易上手,只要滑鼠點一點
就可以看到精美的圖案。
: 4.在跑test這個測資的時候,我最多只能開到48 cores,我有去官方論壇發問,可是網
: 友回復的資訊我看不太懂他的意思。
: 他說因為我在configure的時候指定了-dyn fv -hgrid 10x15, 所以最多就只能夠48
: (npr_yz=6,8,8,6)。
: ----------
: When you supply the -ntasks argument to build-namelist the variable
: npr_yz is automatically set (look in atm_in). Using "-ntasks 64" with the
: 10x15 grid produces npr_yz=4,16,16,4. This is a bug in the algorithm that is
: setting npr_yz. It should just fail because the maximum number of tasks that
: can be used with the 10x15 grid is 48 (npr_yz=6,8,8,6). The reason, as
: explained in the namelist documentation for npr_yz, is that each x
: (longitude) and each y (latitude) subdomain must contain 3 or more grid
: points. With 19 latitudes and 24 longitudes that means there can be a maximum
: of 6 y-subdomains and 8 x-subdomains.
: ----------
用最簡化的方式來說,CAM5 預設的 dynamic core 是 finite volume (就是上面的
-dyn fv),它使用的數值方法跟有限差分法很類似,要計算某個網格點的微分值時
需要有鄰近網格點的資料。因此在做平行化的分割時,每個 processor 在 x and y
方向上都必須至少包含三個點。所以每種解析度可用的 processor 數目是有上限的,
給太多也不行。
: 5.關於這個程式在要跑測資之前有沒有一些可以由使用者自行更改的參數可以使用??
: 我目前只知道可以用./build-namelist -namelist "$camexp 變數名稱=值 /"的方式
: 改變一些預設的參數
: 可是許多參數要改就牽扯到必須對這個程式的物理意義要有一定的了解...
: Namelist
: Variables(http://www.cesm.ucar.edu/cgi-bin/eaton/namelist/nldef2html-cam5_1_1)
同前,除了一些物理意義明顯的參數,如 CO2 or 甲烷濃度、太陽常數等等,不建議
初學者更動這些變數。
--
We also know how cruel the truth often is,
and we wonder whether delusion is not more consoling.
-- Henri Poincare
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 169.232.208.135
推
08/07 08:56, , 1F
08/07 08:56, 1F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 4 篇):