[CP2K:1933] Lagrange multipliers

Laino Teodoro teodor... at gmail.com
Mon Mar 23 06:08:38 UTC 2009


Hi,

the way it is now, you get always the Lagrange multipliers of all  
constraints.
The order in the file is: first all internal (collective, 3x3, 4x6)  
then all external (collective,
3x3, 4x6).
WIth some scripting you should be able to get the numbers you want.
  cheers,
Teo


On 23 Mar 2009, at 06:26, ivaylo wrote:

>
> Hello all,
> I encountered the following problem while trying out constrained MD
> with cp2k (QMMM).
>
>   &CONSTRAINT
>     &G3X3
>       EXCLUDE_QM
>       DISTANCES 1.8896447 1.8896447 3.0862864
>       MOLNAME MOL6  # these constraints need to be enforced to keep MM
> water rigid
>       ATOMS 1 2 3
>     &END G3X3
>     CONSTRAINT_INIT T
>     &COLLECTIVE
>      COLVAR 1  # this is the colvar for which I want to print the
> lagrange multiplier
>      INTERMOLECULAR T
>      TARGET [angstrom] 0.0
>     &END COLLECTIVE
>     &LAGRANGE_MULTIPLIERS ON
>      ADD_LAST NUMERIC
>      COMMON_ITERATION_LEVELS 26000
>      FILENAME ./CONSTRAINT
>     &END LAGRANGE_MULTIPLIERS
>   &END
>
> The problem is that when  LAGRANGE_MULTIPLIERS  is set to ON all
> values (MM water included) are dumped into the ./CONSTRAINT file. Is
> there a way to print only the lagrange multiplier for the collective
> variable of interest? Any ideas would be appreciated.
>
> Cheers,
> Ivaylo
> >




More information about the CP2K-user mailing list