| 41 | 1/1 | 返回列表 |
| 查看: 8473 | 回復(fù): 40 | |||||||||
| 【獎勵】 本帖被評價17次,作者njuswj增加金幣 13.05 個 | |||||||||
[資源]
【分享】castep中斷后如何恢復(fù)計算。。。
|
|||||||||
|
今天用castep計算,不知怎么回事,電腦死機了,不得不重新啟動,當(dāng)時已經(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 其中還要注意一點就是當(dāng)你把*.check文件復(fù)制到當(dāng)前目錄時 務(wù)必保持其名字跟當(dāng)前3d模型*.xsd名字一致,因為如果上一詞計算文件名字中有空格,在計算過程中會把空格變成_,直接復(fù)制過去名字肯定會不一樣,這樣就要重命名下。 |
第一原理資料匯編 | 計算MS等 | Material Studio | 模擬知識匯總 |
科研相關(guān)資料 | 第一性原理 | 刺客 |
|
看來有不少同志對MS繼續(xù)計算不熟悉啊。 幫助樓主補充兩點: 1. dmol也有繼續(xù)計算方法,關(guān)鍵詞是 scf_restart,當(dāng)然,也有類似與castep中*.check的文件,擴展名記不得了,Help中肯定有 2.樓上有人問道,從.xsd文件繼續(xù)計算有何不可?當(dāng)然也可以,但是這么做是從當(dāng)前結(jié)構(gòu)出發(fā),效率不高,只是在幾何優(yōu)化中有一定用處,可以從當(dāng)前結(jié)構(gòu)出發(fā)繼續(xù)優(yōu)化。CONTINUATION和scf_restart可以做得更好,它們可以從中斷時候的波函數(shù)開始繼續(xù)計算。 舉幾個例子就可以明白: 比如幾何優(yōu)化進(jìn)行了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瞬間就收斂,很快就進(jìn)入到性質(zhì)計算。 還有個要補充的是:大家都知道頻率計算的計算量也是很大的,幸好對于頻率也是有CONTINUATION和scf_restart的,可以在中斷之后繼續(xù)。Help中自有介紹 |
|
本帖內(nèi)容被屏蔽 |
榮譽版主 (知名作家)




| 41 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 材料化工340求調(diào)劑 +4 | jhx777 2026-03-30 | 4/200 |
|
|---|---|---|---|---|
|
[考研] 309求調(diào)劑 +6 | 呆菇不是戴夫 2026-04-02 | 6/300 |
|
|
[考研] 324分 085600材料與化工 +20 | 呆鵝oor 2026-03-27 | 20/1000 |
|
|
[考研] 一志愿346上海大學(xué)生物學(xué) +3 | 上海大學(xué)346調(diào)劑 2026-04-01 | 3/150 |
|
|
[考研] 805600專碩材料與化工348分求調(diào)劑 +6 | 上學(xué)啦! 2026-04-01 | 6/300 |
|
|
[考研] 英一數(shù)一408,總分284,二戰(zhàn)真誠求調(diào)劑 +12 | 12.27 2026-03-30 | 14/700 |
|
|
[考研] 0856,269分求調(diào)劑 +8 | 有學(xué)上就行求求?/a> 2026-03-30 | 11/550 |
|
|
[考研] 食品學(xué)碩362求調(diào)劑 +3 | xuanxianxian 2026-04-01 | 3/150 |
|
|
[考研] 284求調(diào)劑 +12 | 小熊~~ 2026-03-31 | 12/600 |
|
|
[考研] 320分,材料與化工專業(yè),求調(diào)劑 +14 | 一定上岸aaa 2026-03-27 | 18/900 |
|
|
[考研] 材料科學(xué)與工程339求調(diào)劑 +11 | hyz0119 2026-03-31 | 12/600 |
|
|
[考研] 0710生物學(xué)考研調(diào)劑 +3 | 李多米lee. 2026-03-27 | 4/200 |
|
|
[考研] 生物學(xué)296求調(diào)劑 +10 | 湯圓包 2026-03-29 | 14/700 |
|
|
[考研] 求調(diào)劑 +8 | 11ggg 2026-03-30 | 8/400 |
|
|
[考研] 085701環(huán)境工程求調(diào)劑 +11 | 多久上課 2026-03-27 | 12/600 |
|
|
[有機交流] 考研調(diào)劑 +8 | watb 2026-03-26 | 8/400 |
|
|
[考研] 291求調(diào)劑 +5 | Y-cap 2026-03-29 | 6/300 |
|
|
[考研] 340求調(diào)劑 +5 | jhx777 2026-03-27 | 5/250 |
|
|
[考研] 272求調(diào)劑 +7 | 腳滑的守法公民 2026-03-27 | 7/350 |
|
|
[考研] 292求調(diào)劑 +4 | 求求了收下我吧?/a> 2026-03-26 | 4/200 |
|