Dear Yefei, <div>the only constraints allowed with GEO-OPT are fixed atoms.</div><div>With MD the constraints can be set from input in section</div><div>C<a href="http://manual.cp2k.org/trunk/CP2K_INPUT.html" target="_blank" style="cursor: pointer; font-family: monospace; text-transform: uppercase; ">P2K_INPUT</a><span style="color: rgb(0, 0, 0); font-family: monospace; text-transform: uppercase; "> / </span><a href="http://manual.cp2k.org/trunk/CP2K_INPUT/MOTION.html" target="_blank" style="cursor: pointer; font-family: monospace; text-transform: uppercase; ">MOTION</a><span style="color: rgb(0, 0, 0); font-family: monospace; text-transform: uppercase; "> / </span><a href="http://manual.cp2k.org/trunk/CP2K_INPUT/MOTION/CONSTRAINT.html" target="_blank" style="cursor: pointer; font-family: monospace; text-transform: uppercase; ">CONSTRA<wbr>INT</a>"</div><div><br></div><div>regards</div><div>marcella<br><br>On Tuesday, October 16, 2012 12:50:10 AM UTC+2, YE-FEI LI wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Dear all CP2K users and developers:<div>    I am a new user of CP2K. I want to perform some constrained OPT. Can this be done in CP2K? Is the type of calculation can  only be one in MD type calculation and is it possible to define the constraint by my self?  Is "C<a href="http://manual.cp2k.org/trunk/CP2K_INPUT.html" style="font-family:monospace;text-transform:uppercase" target="_blank">P2K_INPUT</a><span style="color:rgb(0,0,0);font-family:monospace;text-transform:uppercase"> / </span><a href="http://manual.cp2k.org/trunk/CP2K_INPUT/MOTION.html" style="font-family:monospace;text-transform:uppercase" target="_blank">MOTION</a><span style="color:rgb(0,0,0);font-family:monospace;text-transform:uppercase"> / </span><a href="http://manual.cp2k.org/trunk/CP2K_INPUT/MOTION/CONSTRAINT.html" style="font-family:monospace;text-transform:uppercase" target="_blank">CONSTRA<wbr>INT</a>" the suitable place I should see? Thanks. <br><div>Best,</div><div>Yefei</div></div></blockquote></div>