[CP2K-user] [CP2K:22254] How to fix NaN error and numerical derivative warning (0.100000E+31) in wtMetaD?
Qi Zhang
zqlearn123 at gmail.com
Wed May 27 14:11:29 UTC 2026
Hi CP2K users,
I am running a Well-Tempered Metadynamics simulation, but it fails at the
very first step (0.00000000 ps) with NaN in the metadynLog file.
Meanwhile, the stdout shows the following warning:
*** WARNING in colvar_methods.F:4530 :: ASSERTION (cond) failed at line ***
*** 4531 Error (0.100000E+31) in computing numerical ***
*** derivatives larger then(0.100000E-11) . ***
Here is how I defined my CV section (nesting two &COORDINATION blocks
under &COMBINE_COLVAR):
&COLVAR
&COMBINE_COLVAR
&COLVAR
&COORDINATION
KINDS_FROM Ge
KINDS_TO Cl
R_0 [angstrom] 2.80
NN 12
ND 24
&END COORDINATION
&END COLVAR
&COLVAR
&COORDINATION
ATOMS_FROM 1
ATOMS_TO 3 5 7 9
R_0 [angstrom] 2.30
NN 12
ND 24
&END COORDINATION
&END COLVAR
FUNCTION CV2-CV1
VARIABLES CV1 CV2
&END COMBINE_COLVAR
&END COLVAR
Does anyone know what is causing this NaN and derivative error? How should
I modify my input file to fix this issue and get the simulation running
properly?
I have attached my full input (.inp) and output (.out) files for your
reference.
Thank you for your help!
Best regards,
Qi Zhang
--
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/3a87a47b-62a9-4d80-8e3c-23e655bc83d7n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20260527/4bc369a5/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aimd.out
Type: application/octet-stream
Size: 246217 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20260527/4bc369a5/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GeClOH3_solution-COLVAR.metadynLog
Type: application/octet-stream
Size: 22632 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20260527/4bc369a5/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GeClOH3_solution_wtmtd.inp
Type: chemical/x-gamess-input
Size: 64869 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20260527/4bc369a5/attachment-0001.inp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GeClOH3_solution-1.ener
Type: application/octet-stream
Size: 6681 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20260527/4bc369a5/attachment-0005.obj>
More information about the CP2K-user
mailing list