Compilation problem with PLUMED-2.2b

Zhiping xuzh... at
Sat Aug 8 02:53:06 UTC 2015

Dear developers:

Here have found two problems during the compilation of CP2K (2.6.1, rev 
15284)  with PLUMED2 (2.2b) support.

1. The compilation option -D__PLUMED2 should be changed to -D__PLUMED_CP2K 
in the installation instruction page 

2. Errors were reported on undefined references to 'init_metadyn_' and 
although I found some tips on the addition '_' at the end of function names 
from the Quantum Espresso user guide (calling C from Fortran -, 
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.

In function `__md_run_MOD_qs_mol_dyn_low':

md_run.F:(.text+0x2407): undefined reference to `init_metadyn_'

md_run.F:(.text+0x2a83): undefined reference to `init_metadyn_'

In function `__metadynamics_MOD_metadyn_integrator':

metadynamics.F:(.text+0x9b49): undefined reference to 

collect2: error: ld returned 1 exit status

Please help me to solve the issue #2.

Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the CP2K-user mailing list