exercises:2021_uzh_acpc2:ex01
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
exercises:2021_uzh_acpc2:ex01 [2021/04/26 07:40] – [Part IV: Ensembles] mrossmannek | exercises:2021_uzh_acpc2:ex01 [2021/05/04 15:52] – [Part IV: Other Ensembles] jglan | ||
---|---|---|---|
Line 506: | Line 506: | ||
*Run a calculation using the NVT ensemble (300K) until the system is equilibrated, | *Run a calculation using the NVT ensemble (300K) until the system is equilibrated, | ||
| | ||
+ | </ | ||
+ | <note tip> | ||
+ | You have multiple options on how to restart a CP2K calculation off of a previous one. What all approaches have in common, is that you need to make use of the RESTART-files which are automatically written by CP2K (unless you explicitly disable them). | ||
+ | For the purposes of this example, you should see a file called '' | ||
+ | These files are nothing but another input file. However, their parameters are set such that they continue a CP2K calculation from the last step of the simulation which generated the RESTART file. | ||
+ | Here are two options for how you can use these RESTART-files: | ||
+ | 1. Directly using the RESTART as an input. | ||
+ | - You can copy the RESTART file to a new input file: < | ||
+ | - Now you can change the input to your liking (e.g. change the ensemble, etc.) | ||
+ | - And finally simply run CP2K with the new input file: < | ||
+ | |||
+ | 2. You can also tell CP2K to load a specific RESTART-file. | ||
+ | - Write a new input file as usual: < | ||
+ | - Add an [[https:// | ||
+ | < | ||
+ | & | ||
+ | RESTART_FILE_NAME ar108-1.restart | ||
+ | &END EXT_RESTART</ | ||
+ | - And now, again, simply run CP2K: < | ||
</ | </ |
exercises/2021_uzh_acpc2/ex01.txt · Last modified: 2021/05/17 11:35 by mrossmannek