<div>Thanks Fabian for your answer. <br /></div><div><br /></div><div>Another question related to this topic is the following: How does the information of the fixed atoms appears in the output file? <br /></div><div>Reading the list of atoms in the .out file, I did not find the info of whether atoms were fixed or not.</div><div><br /></div><div>Regards,</div><div><br />Dune<br /></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">Le lundi 17 juillet 2023 à 18:48:25 UTC+2, fabia...@gmail.com a écrit :<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Dear Dune,</div><div><br></div><div>There is no cap on the number of atoms that can be fixed. But there is a limited number of characters per line that cp2k reads in.
So if you list is too long, the last atoms won't be fixed.

 I don't remember the limit by heart, but in general I don't put more than 200 characters per line, even if it only improves readability.</div><div>Two hints to help you:</div><div> - use .. for consecutive numbers, e.g.</div><div>LIST 1..10</div><div> - LIST can be repeated, e.g.<br></div><div>LIST 2..10 12..20<br></div><div>LIST 22..30 32..40<br></div><div><br></div><div>Cheers,</div><div>Fabian</div><div><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Monday, 17 July 2023 at 15:56:36 UTC+2 Dune André wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Dear CP2K  users,</div><div><br></div><div>I would like to run a geometry optimization while keeping all atoms except hydrogen atoms fixed. <br></div><div><br></div><div>I used the following sections in the input file with a list of around 750 atoms:</div><div> &MOTION<br>   &CONSTRAINT<br>     &FIXED_ATOMS<br>       LIST 1 3 4 ...<br></div><div>     &END FIXED_ATOMS<br>   &END CONSTRAINT<br> &END MOTION<br>              </div><div>But it seems that just a part of the atoms I gave in the list were frozen. Is there a maximal number of atoms I can give in the list ; or is there a specific way to give to cp2k a long list of atoms?</div><div><br></div><div>Besides, how can I check in the output file which atoms have been fixed or not? <br></div><div><br></div><div>Thanks for your help,</div><div><br></div><div>Dune<br></div><div><br></div></blockquote></div></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/4ba1beac-c61f-4ff7-9e42-680e8d6b66d0n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/4ba1beac-c61f-4ff7-9e42-680e8d6b66d0n%40googlegroups.com</a>.<br />