| 41 | 1/1 | 返回列表 |
| 查看: 8476 | 回復(fù): 40 | |||||||||
| 【獎勵】 本帖被評價17次,作者njuswj增加金幣 13.05 個 | |||||||||
[資源]
【分享】castep中斷后如何恢復(fù)計算。。。
|
|||||||||
|
今天用castep計算,不知怎么回事,電腦死機了,不得不重新啟動,當時已經(jīng)算了3天了,總不能白算,于是就在ms幫助文件里找了下,現(xiàn)在跟大家分享。。。 以下是ms幫助文件里的內(nèi)容: Restarting a CASTEP calculation It is not possible to restart a completed CASTEP job automatically via the interface. However, there are circumstances in which you may wish to do this, for example, if you are running a geometry optimization which does not converge in the given number of steps, or a you wish to continue your calculation with manually modified runtime parameters. To restart such jobs you should edit .param file and add the CONTINUATION keyword to the file. Note. Any additional changes to this file may make it impossible to restart the CASTEP job successfully. Tip. It is possible to remove everything from .param and leave only the CONTINUATION line. This will ensure that all of the settings remain exactly the same as those from the previous run. Note. In order to restart a job, the output files from the previous run must be present in the Project folder. This check and the subsequent transfer of the files to the server happens automatically whenever CASTEP is used to run an existing file set or to calculate additional properties. 以下是關(guān)于CONTINUATION的說明: CONTINUATION (.param) Description This keyword contains a string which specifies the model file used to continue the job. If the keyword CONTINUATION contains the string DEFAULT (case-insensitive), the file seedname.check will be used. The same effect can be achieved by providing the CONTINUATION keyword on its own, with no value. The default value of this parameter is NULL which corresponds to no continuation (a new run). Note. A run cannot be both a REUSE and a CONTINUATION. A CONTINUATION run restarts the current job from the end of the previous one. As a consequence, only a limited subset of the available parameters may be changed between CONTINUATION runs. Example CONTINUATION : default 其實也就是在你的*.param中添加CONTINUATION : default,然后把你上一次計算得到的*.check文件復(fù)制到上次計算的那個文件夾下,然后在ms中打開*.param,點Modules->CASTEP->casculation->files...->Run files 其中還要注意一點就是當你把*.check文件復(fù)制到當前目錄時 務(wù)必保持其名字跟當前3d模型*.xsd名字一致,因為如果上一詞計算文件名字中有空格,在計算過程中會把空格變成_,直接復(fù)制過去名字肯定會不一樣,這樣就要重命名下。 |
第一原理資料匯編 | 計算MS等 | Material Studio | 模擬知識匯總 |
科研相關(guān)資料 | 第一性原理 | 刺客 |
|
看來有不少同志對MS繼續(xù)計算不熟悉啊。 幫助樓主補充兩點: 1. dmol也有繼續(xù)計算方法,關(guān)鍵詞是 scf_restart,當然,也有類似與castep中*.check的文件,擴展名記不得了,Help中肯定有 2.樓上有人問道,從.xsd文件繼續(xù)計算有何不可?當然也可以,但是這么做是從當前結(jié)構(gòu)出發(fā),效率不高,只是在幾何優(yōu)化中有一定用處,可以從當前結(jié)構(gòu)出發(fā)繼續(xù)優(yōu)化。CONTINUATION和scf_restart可以做得更好,它們可以從中斷時候的波函數(shù)開始繼續(xù)計算。 舉幾個例子就可以明白: 比如幾何優(yōu)化進行了3步,第三步也走了20個scf了,這時候突然中斷。如果你從.xsd出發(fā),則只能從第3步的第一個scf開始。而使用CONTINUATION和scf_restart則可以從第3步的第20個scf繼續(xù)計算。 再如能量計算的時候突然中斷,那么從.xsd出發(fā),無異于重新開始能量計算,沒有節(jié)省任何時間。而CONTINUATION和scf_restart則可以從中斷時候的波函數(shù)開始繼續(xù)計算。 最后,也是比較重要的,就是性質(zhì)計算。如果我已經(jīng)計算了某個性質(zhì),突然覺得計算另一個性質(zhì)對說明問題更有幫助,這時候如果不使用繼續(xù)計算,則還需要從頭做一次能量,涉及多次scf迭代,很費時間。如果使用scf_restart開始計算,則會發(fā)現(xiàn),scf瞬間就收斂,很快就進入到性質(zhì)計算。 還有個要補充的是:大家都知道頻率計算的計算量也是很大的,幸好對于頻率也是有CONTINUATION和scf_restart的,可以在中斷之后繼續(xù)。Help中自有介紹 |
|
本帖內(nèi)容被屏蔽 |
榮譽版主 (知名作家)




| 41 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 環(huán)境285分,過六級,求調(diào)劑 +4 | xhr12 2026-04-02 | 4/200 |
|
|---|---|---|---|---|
|
[考研] 一志愿北交大材料工程總分358 +3 | cs0106 2026-04-02 | 5/250 |
|
|
[考研] 085601 材料工程 313分 求調(diào)劑 +7 | Ong3 2026-03-27 | 7/350 |
|
|
[考研] 303分 0807學(xué)碩求調(diào)劑 +3 | TYC3632 2026-04-01 | 3/150 |
|
|
[考研] 332求調(diào)劑 +8 | Lyy930824@ 2026-03-29 | 8/400 |
|
|
[考研] 348求調(diào)劑 +9 | zzzzyk123 2026-04-01 | 9/450 |
|
|
[考研] 安徽大學(xué)專碩生物與醫(yī)藥專業(yè)(086000)324分,英語已過四六級,六級521,求調(diào)劑 +10 | 美味可樂雞翅 2026-03-26 | 12/600 |
|
|
[考研] 一志愿華南師范361分,化學(xué)求調(diào)劑 +4 | Nicole88888 2026-04-01 | 4/200 |
|
|
[考研] 求調(diào)劑,一志愿北林食品與營養(yǎng)095500,301分,已過六級,有科研經(jīng)歷 +4 | 快樂儲蓄罐 2026-03-31 | 4/200 |
|
|
[考研] 352分-085602-一志愿985 +6 | 海納百川Ly 2026-03-29 | 6/300 |
|
|
[考研] 復(fù)試調(diào)劑 +7 | 雙馬尾痞老板2 2026-03-31 | 7/350 |
|
|
[考研] 329求調(diào)劑,一志愿西北工業(yè)大學(xué),材料工程(085601) +6 | 小小機靈蟲 2026-03-29 | 12/600 |
|
|
[基金申請] 面上5B能上會嗎? +8 | redcom 2026-03-29 | 8/400 |
|
|
[考研] 吉大生物學(xué)326分求調(diào)劑 +3 | sunnyupup 2026-03-31 | 3/150 |
|
|
[考研] 22408 359分調(diào)劑 +4 | Qshers 2026-03-27 | 8/400 |
|
|
[考研] 抱歉 +4 | 田洪有 2026-03-30 | 4/200 |
|
|
[考研] 0703 化學(xué) 求調(diào)劑,一志愿山東大學(xué) 342 分 +7 | Shern—- 2026-03-28 | 7/350 |
|
|
[考研] 303求調(diào)劑 +7 | DLkz1314. 2026-03-30 | 7/350 |
|
|
[考研] 295求調(diào)劑 +5 | wei-5 2026-03-26 | 5/250 |
|
|
[考研] 數(shù)一英一271專碩(085401)求調(diào)劑,可跨 +7 | 前行必有光 2026-03-28 | 8/400 |
|