<div dir="ltr">Dear developers:<div><br></div><div>Here have found two problems during the compilation of CP2K (2.6.1, rev 15284)  with PLUMED2 (2.2b) support.</div><div><br></div><div>1. The compilation option -D__PLUMED2 should be changed to -D__PLUMED_CP2K in the installation instruction page (http://www.cp2k.org/howto:install_with_plumed).</div><div><br></div><div>2. Errors were reported on undefined references to 'init_metadyn_' and 'meta_force_calculation_'</div><div>although I found some tips on the addition '_' at the end of function names from the Quantum Espresso user guide (calling C from Fortran - http://www.quantum-espresso.org/wp-content/uploads/Doc/pw_user_guide/node21.html), I cannot locate the definition of functions INIT_METADYN and META_FORCE_CALCULATION in either CP2K or PLUMED2 - these functions are available in PLUMED 1.3.</div><div><br></div><div><p style="font-size: 15px; font-family: Menlo; background-color: rgb(254, 244, 156);">/home/xuzp/bin/packages/cp2k-2.6.1/lib/linux_gnu/popt/libcp2kmotion.a(md_run.o): In function `__md_run_MOD_qs_mol_dyn_low':</p>
<p style="font-size: 15px; font-family: Menlo; background-color: rgb(254, 244, 156);">md_run.F:(.text+0x2407): undefined reference to `init_metadyn_'</p>
<p style="font-size: 15px; font-family: Menlo; background-color: rgb(254, 244, 156);">md_run.F:(.text+0x2a83): undefined reference to `init_metadyn_'</p>
<p style="font-size: 15px; font-family: Menlo; background-color: rgb(254, 244, 156);">/home/xuzp/bin/packages/cp2k-2.6.1/lib/linux_gnu/popt/libcp2kmain.a(metadynamics.o): In function `__metadynamics_MOD_metadyn_integrator':</p>
<p style="font-size: 15px; font-family: Menlo; background-color: rgb(254, 244, 156);">metadynamics.F:(.text+0x9b49): undefined reference to `meta_force_calculation_'</p>
<p style="font-size: 15px; font-family: Menlo; background-color: rgb(254, 244, 156);">collect2: error: ld returned 1 exit status</p></div><div><br></div><div>Please help me to solve the issue #2.</div><div><br></div><div>Thank you.</div><div><br></div><div>Zhiping</div></div>