[CP2K-user] [CP2K:21419] Constrain on collective variable
bijaya pathak
bijayapathak85 at gmail.com
Mon Apr 28 04:29:03 UTC 2025
Dear all,
I'm running a meta dynamics simulation on cp2k, my collective variable is
distance(covalent bond length). Previously , I've applied restrain on CV
but those were intermolecular. In the present case my input file looks like
follows:
&CONSTRAINT
&COLLECTIVE
COLVAR 1
TARGET [angstrom] 1.8
&RESTRAINT
K [kcalmol] 1000
&END RESTRAINT
&END COLLECTIVE
But it gives an *error*:
"Constraint section error: you have to specify at least one of the
following keywords: MOLECULE, MOLNAME or INTERMOLECULAR"
*MOLECULE {Integer}*
*Specifies the index of the molecule kind (in input file order)on which the
constraint will be applied. MOLECULE and MOLNAME keyword exclude themself
mutually.*
This keyword cannot be repeated and it expects precisely one integer.
*MOLNAME {Word}*
*Specifies the name of the molecule on which the constraint will be
applied.*
This keyword cannot be repeated and it expects precisely one word.
I do not understand what is meant my molecule kind in the input file . Can
anyone help me with the issue ? I have tried various values for the keyword
as per my understanding , but it gives error stating* index does not match.*
Any suggestions will be appreciated.
Thanking you
Bijaya
--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/d50aed0d-78a6-471b-9354-b7dafb5ff1a1n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250427/98356cc2/attachment.htm>
More information about the CP2K-user
mailing list