Yes, Marius!<br>You are right, no potassium in source... I didn&#39;t know that atoms are mentioned in source. <br><br>For future readers: in gmx-cpmd source mentioned only: M (dummy Tip4p), N,C,O,H,P,S,Fe.<br>It&#39;s quite obvious to add your own atom.
<br><br>Thank&#39;s a lot for help,Andrey<br><br><div class="gmail_quote">On Jan 21, 2008 11:33 AM, Marius Retegan &lt;<a href="mailto:marius.s.retegan@gmail.com">marius.s.retegan@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I remembered this morning that I had the same problem with zinc. Search for the qm_cpmd.c file in the gromacs/src/mdlib/.&nbsp; Scroll down to line 308. You will have to add potassium to that list, recompile and try again.<br>
It should work.
<br><font color="#888888">Marius Retegan</font><div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Jan 21, 2008 8:53 AM, Andrey V Golovin &lt;<a href="mailto:golovin@belozersky.msu.ru" target="_blank">
golovin@belozersky.msu.ru</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Gerrit,<br>here is&nbsp; my output:<div><br>QM/MM calculation requested.<br>Layer 0<br></div>nr of QM atoms 9<br><br>... exactly that really confusing me, looks like gromacs says 9 atoms but at some level K is just ignored.
<div><div></div><div><br><br><br><br>
<div class="gmail_quote">On Jan 19, 2008 9:49 PM, ggroenh &lt;<a href="mailto:ggroenh@gwdg.de" target="_blank">ggroenh@gwdg.de</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


&gt;<br><br>Before step 1, gromacs outputs the number of atoms per QM layer, e.g.<br><br>Reading file topol.tpr, VERSION 3.3_rc3 (single precision)<br>QM/MM calculation requested.<br>Layer 0<br>nr of QM atoms 20<br>QMlevel: CASSCF/3-21G,CASelectrons=6,CASorbitals=6
<br><br><br>How much are there in your simulaiton? This might tell if it goes<br>wrong in gromacs side, or in cpmd.<br><br>Gerrit<br><div><div></div><div><br><br>&gt; We pointed qm group in index .<br>&gt; ,,,,,,,,,,,,,,,,,,,,,,,,,,,
<br>&gt; [ QM ]<br>&gt; &nbsp;17 &nbsp; 50 &nbsp;147 &nbsp;180 &nbsp;310 &nbsp;343 &nbsp;440 &nbsp;473 489<br>&gt; ...........................<br>&gt; and mdp,<br>&gt; ............<br>&gt; ; OPTIONS FOR QMMM calculations<br>&gt; QMMM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = yes<br>


&gt; ; Groups treated Quantum Mechanically<br>&gt; QMMM-grps &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= QM<br>&gt; ; QM method<br>&gt; QMmethod &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = CPMD<br>&gt; ; QMMM scheme<br>&gt; QMMMscheme &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = normal<br>&gt; ; QM basisset
<br>&gt; QMbasis &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= STO-3G<br>&gt; ; QM charge<br>&gt; QMcharge &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 1<br>&gt; .........<br>&gt;<br>&gt; CPMD_inp.tmpl:<br>&gt; .......<br>&gt; &amp;ATOMS<br>&gt; *O_VDB_BLYP.psp FORMATTED<br>


&gt; LMAX=P<br>&gt; *K_VDB_BLYP.psp FORMATTED<br>&gt; LMAX=P LOCAL=S<br>&gt; .......<br>&gt;<br>&gt; All these gives such CPMD_inp.run<br>&gt; .............<br>&gt; &amp;ATOMS<br>&gt; *O_VDB_BLYP.psp FORMATTED<br>&gt; LMAX=P
<br>&gt; 8<br>&gt; &nbsp;14.8440376 &nbsp; &nbsp;8.2394453 &nbsp; 13.9464178<br>&gt; &nbsp;10.7622295 &nbsp; &nbsp;7.4646576 &nbsp; &nbsp;9.5055617<br>&gt; &nbsp; 7.7575652 &nbsp; 10.3370411 &nbsp; 13.7574452<br>&gt; &nbsp;11.9716541 &nbsp; 12.9448630 &nbsp; 16.9321848<br>&gt; &nbsp;12.6519555 &nbsp; 17.0644656


 &nbsp; 12.7936849<br>&gt; &nbsp; 8.1544076 &nbsp; 15.0802534 &nbsp; 10.3559384<br>&gt; &nbsp;12.5952637 &nbsp; 12.5102260 &nbsp; &nbsp;6.8410481<br>&gt; &nbsp;17.0739143 &nbsp; 12.9448630 &nbsp; &nbsp;9.8079179<br>&gt; &amp;END<br>&gt; ..............<br>&gt;<br>&gt; Potassium (9th atom) just skipped.
<br>&gt; Any clue?<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Jan 18, 2008 7:23 PM, Marius Retegan &lt;<a href="mailto:marius.s.retegan@gmail.com" target="_blank">marius.s.retegan@gmail.com</a>&gt;<br>&gt; wrote:<br>&gt;<br>&gt;&gt; For the Gromacs-CPMD interface you have to specify the QM groups in
<br>&gt;&gt; your<br>&gt;&gt; .mdp file like this &quot;QMMM-grps &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= QM_part&quot;. Then open<br>&gt;&gt; your<br>&gt;&gt; index file and create an atom group with the same name &quot;QM_part&quot;<br>&gt;&gt; and add in
<br>&gt;&gt; it all atoms that you want to treat with CPMD.<br>&gt;&gt; If this doesn&#39;t work you should send to the list a output of you<br>&gt;&gt; calculation.<br>&gt;&gt; Marius Retegan<br>&gt;&gt;<br>&gt;&gt;<br>

&gt;&gt; On Jan 18, 2008 12:25 PM, Andrey V Golovin &lt; 
<a href="mailto:golovin@belozersky.msu.ru" target="_blank">golovin@belozersky.msu.ru</a><br>&gt;&gt; &gt;<br>&gt;&gt; wrote:<br>&gt;&gt;<br>&gt;&gt;&gt; Dear all,<br>&gt;&gt;&gt; We successfully passed all examples in GMX-CPMD and some other stuff
<br>&gt;&gt;&gt; with amberff with common atoms, but since we trying to deal with K+<br>&gt;&gt;&gt; (potassium) &nbsp;in QM &nbsp;part, we see every time absence of potassium in<br>&gt;&gt;&gt; CPMD_inp.run, it&#39;s just skipped. In very beginning CPMD shows
<br>&gt;&gt;&gt; right number<br>&gt;&gt;&gt; of atoms in QM group, but K is not mentioned in cpmd input file.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Potassium and pseudopotential was included in CPMD_inp.tmpl.<br>&gt;&gt;&gt; We checked different ways of including Potassium in ff, like
<br>&gt;&gt;&gt; amber_XX or<br>&gt;&gt;&gt; just K+.<br>&gt;&gt;&gt; Pseudopotential was build with Ultrasoft Pseudopotential Package.<br>&gt;&gt;&gt; Gmx-cpmd was compiled from site P. K. Biswas.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Any ideas?
<br>&gt;&gt;&gt; Thanks in advance, Andrey<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; --<br>&gt;&gt;&gt; Best regards, Andrey<br>&gt;&gt;&gt; ------------------------------------------------------------------------------------------------
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Andrey V. Golovin<br>&gt;&gt;&gt; Ph.D, Assistant professor &nbsp; tel: +7 (495) 939-5305<br>&gt;&gt;&gt; Bioengineering and<br>&gt;&gt;&gt; Bioinformatics Department<br>&gt;&gt;&gt; Moscow State University &nbsp; &nbsp; fax: +7 (495) 939-3181
<br>&gt;&gt;&gt; 119992 Moscow &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E-mail: <a href="mailto:golovin@genebee.msu.su" target="_blank">golovin@genebee.msu.su</a><br>&gt;&gt;&gt; Russia &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;web: <a href="http://rnp-group.genebee.msu.su" target="_blank">


http://rnp-group.genebee.msu.su</a><br>&gt;&gt;&gt; ------------------------------------------------------------------------------------------------<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br>&gt;&gt;&gt; 
<a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">
http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>&gt;&gt;&gt; Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before<br>&gt;&gt;&gt; posting!
<br>
&gt;&gt;&gt; Please don&#39;t post (un)subscribe requests to the list. Use the<br>&gt;&gt;&gt; www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>.
<br>&gt;&gt;&gt; Can&#39;t post? Read 
<a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________
<br>&gt;&gt; gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br>&gt;&gt; <a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://www.gromacs.org/mailman/listinfo/gmx-users
</a><br>&gt;&gt; Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before<br>&gt;&gt; posting!<br>&gt;&gt; Please don&#39;t post (un)subscribe requests to the list. Use the
<br>&gt;&gt; www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>.<br>&gt;&gt; Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">


http://www.gromacs.org/mailing_lists/users.php</a><br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Best regards, Andrey<br>&gt; ------------------------------------------------------------------------------------------------
<br>&gt; Andrey V. Golovin<br>&gt; Ph.D, Assistant professor &nbsp; tel: +7 (495) 939-5305<br>&gt; Bioengineering and<br>&gt; Bioinformatics Department<br>&gt; Moscow State University &nbsp; &nbsp; fax: +7 (495) 939-3181<br>&gt; 119992 Moscow &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E-mail: 
<a href="mailto:golovin@genebee.msu.su" target="_blank">golovin@genebee.msu.su</a><br>&gt; Russia &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;web: <a href="http://rnp-group.genebee.msu.su" target="_blank">http://rnp-group.genebee.msu.su
</a><br>&gt; ------------------------------------------------------------------------------------------------
<br></div></div>&gt; -------------- next part --------------<br>&gt; An HTML attachment was scrubbed...<br>&gt; URL: <a href="http://www.gromacs.org/pipermail/gmx-users/attachments/20080119/30cf38cd/attachment.html" target="_blank">


http://www.gromacs.org/pipermail/gmx-users/attachments/20080119/30cf38cd/attachment.html</a><br>&gt;<br>&gt; ------------------------------<br><div>&gt;<br>&gt; _______________________________________________
<br>&gt; gmx-users mailing list<br>&gt; <a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br>&gt; <a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://www.gromacs.org/mailman/listinfo/gmx-users
</a><br>&gt; Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before<br>&gt; posting!<br>&gt;<br></div>&gt; End of gmx-users Digest, Vol 45, Issue 77<br>


&gt; *****************************************<br><font color="#888888"><br>--<br>Gerrit Groenhof<br>MPI biophysical chemistry<br>Goettingen<br>Germany<br></font><div><div></div><div><br>_______________________________________________
<br>gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br><a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://www.gromacs.org/mailman/listinfo/gmx-users
</a><br>Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>Please don&#39;t post (un)subscribe requests to the list. Use the<br>www interface or send it to 
<a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>.<br>Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php
</a><br></div></div></blockquote></div><br><br clear="all"><br></div></div>-- <div><div></div><div><br>Best regards, Andrey<br>------------------------------------------------------------------------------------------------
<br>Andrey V. Golovin<br>Ph.D, Assistant professor &nbsp; tel: +7 (495) 939-5305 &nbsp;
<br>Bioengineering and<br>Bioinformatics Department &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>Moscow State University &nbsp; &nbsp; fax: +7 (495) 939-3181<br>119992 Moscow &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E-mail: <a href="mailto:golovin@genebee.msu.su" target="_blank">golovin@genebee.msu.su
</a><br>Russia &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;web: <a href="http://rnp-group.genebee.msu.su" target="_blank">http://rnp-group.genebee.msu.su</a><br>------------------------------------------------------------------------------------------------
</div></div><br>_______________________________________________<br>gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br><a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">

http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>Please don&#39;t post (un)subscribe requests to the list. Use the
<br>www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>.<br>Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">
http://www.gromacs.org/mailing_lists/users.php
</a><br></blockquote></div><br>
</div></div><br>_______________________________________________<br>gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">
http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>Please don&#39;t post (un)subscribe requests to the list. Use the
<br>www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best regards, Andrey<br>------------------------------------------------------------------------------------------------<br>Andrey V. Golovin<br>Ph.D, Assistant professor &nbsp; tel: +7 (495) 939-5305 &nbsp;
<br>Bioengineering and<br>Bioinformatics Department &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>Moscow State University &nbsp; &nbsp; fax: +7 (495) 939-3181<br>119992 Moscow &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E-mail: <a href="mailto:golovin@genebee.msu.su">golovin@genebee.msu.su
</a><br>Russia &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;web: <a href="http://rnp-group.genebee.msu.su">http://rnp-group.genebee.msu.su</a><br>------------------------------------------------------------------------------------------------