howto:install_with_plumed
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:install_with_plumed [2015/02/26 12:32] – ibethune | howto:install_with_plumed [2020/08/21 10:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== How to Compile and Install CP2K with PLUMED ====== | ====== How to Compile and Install CP2K with PLUMED ====== | ||
| - | CP2K supports the current (2.x) and previous (1.3) versions of PLUMED. | + | CP2K supports the current (2.x) versions of PLUMED. |
| To use plumed, insert the following in the FREE_ENERGY section of a cp2k input file: | To use plumed, insert the following in the FREE_ENERGY section of a cp2k input file: | ||
| Line 13: | Line 13: | ||
| ===== PLUMED 2.x ===== | ===== PLUMED 2.x ===== | ||
| - | CP2K may be used with PLUMED version 2.x without requiring source code patches - the interface to PLUMED is already included in CP2K since revision 15100 (24-Feb-2015). To build a version of CP2K with PLUMED 2 follow the instructions below: | + | CP2K may be used with PLUMED version 2.x without requiring source code patches - the interface to PLUMED is already included in CP2K in version 2.7 (rev 15615 or later). To build a version of CP2K with PLUMED 2 follow the instructions below: |
| - | * Download the PLUMED library from [[http:// | + | * Download the PLUMED library from [[http:// |
| * Modify your CP2K arch file to include the following: | * Modify your CP2K arch file to include the following: | ||
| Line 24: | Line 24: | ||
| </ | </ | ||
| - | * '' | + | * '' |
| + | < | ||
| + | If using OpenMPI, you will also need to add '' | ||
| + | </ | ||
| + | |||
| + | * It is also possible to build PLUMED as a shared library, in which case instead of using '' | ||
| * Finally, build the CP2K binaries as normal: | * Finally, build the CP2K binaries as normal: | ||
| Line 42: | Line 47: | ||
| - | Get the latest | + | Get a version (between revisions |
| < | < | ||
| - | svn checkout svn://svn.code.sf.net/ | + | git clone https://github.com/cp2k/cp2k.git |
| </ | </ | ||
| Line 87: | Line 92: | ||
| </ | </ | ||
| - | '' | + | '' |
| Compile cp2k [only cp2k, not the other binaries of the package] as usual on your system | Compile cp2k [only cp2k, not the other binaries of the package] as usual on your system | ||
howto/install_with_plumed.1424953934.txt.gz · Last modified: (external edit)
