<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Justin,</span></div><div><br><span></span></div><div><span>Thanks for your last reply. Now it seems that OPLS has known the atomtypes after I added those CA1, ... to ffoplsaanb.itp,</span></div><div><span>but after I claim all the angles, dihedrals, ... in the ffoplsaabon.itp, it still gives errors like,</span></div><div><br><span></span></div><div><span>Back Off! I just backed up mdout.mdp to ./#mdout.mdp.2#<br>checking input for internal consistency...<br>processing topology...<br>Opening library file /share/apps/gromacs407/share/gromacs/top/ffoplsaa.itp<br>Opening library file /share/apps/gromacs407/share/gromacs/top/ffoplsaanb.itp<br>Opening library file /share/apps/gromacs407/share/gromacs/top/ffoplsaabon.itp<br>Generated 338253 of the 338253 non-bonded parameter combinations<br>Generating 1-4 interactions:
fudge = 0.5<br>Generated 338253 of the 338253 1-4 parameter combinations<br><br>ERROR 1 [file cro.top, line 37]:<br> No default Bond types<br><br><br>ERROR 2 [file cro.top, line 71]:<br> No default Angle types<br><br><br>ERROR 3 [file cro.top, line 72]:<br> No default Angle types<br><br><br>ERROR 4 [file cro.top, line 85]:<br> No default Angle types<br><br><br>ERROR 5 [file cro.top, line 91]:<br> No default Ryckaert-Bell. types<br><br><br>ERROR 6 [file cro.top, line 92]:<br> No default Ryckaert-Bell. types<br><br><br>ERROR 7 [file cro.top, line 93]:<br> No default Ryckaert-Bell. types<br><br><br>ERROR 8 [file cro.top, line 108]:<br> No default Ryckaert-Bell. types<br><br><br>ERROR 9 [file cro.top, line 112]:<br> No default Proper Dih. types<br><br><br>ERROR 10 [file cro.top, line 113]:<br> No default Proper Dih. types<br><br><br>ERROR 11 [file cro.top, line 114]:<br> No default Proper
Dih. types<br><br>Opening library file /share/apps/gromacs407/share/gromacs/top/spc.itp<br>Opening library file /share/apps/gromacs407/share/gromacs/top/ions.itp<br>Excluding 3 bonded neighbours molecule type 'Protein'<br>Excluding 2 bonded neighbours molecule type 'SOL'<br>Excluding 2 bonded neighbours molecule type 'SOL'<br><br>NOTE 1 [file cro.top, line 142]:<br> System has non-zero total charge: -1.022478e+00<br> <br><br><br>processing coordinates...<br>double-checking input for internal consistency...<br>renumbering atomtypes...<br>converting bonded parameters...<br><br>There was 1 note<br><br>-------------------------------------------------------<br>Program grompp, VERSION 4.0.7<br>Source code file: grompp.c, line: 986<br><br>Fatal error:<br>There were 11 errors in input file(s)<br>-----------------------------------------------</span></div><div><br></div><div>I do double-check those bondtypes, angles, and interactions mentioned in
the errors, and I am pretty sure I have already declared those values in the ffoplsaabon.itp. </div><div>Is there any other file I also need to mention those values?</div><div><br></div><div>Thanks,</div><div><br></div><div>Yao</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><span></span></div><div><span></span></div><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Justin A. Lemkul <jalemkul@vt.edu><br><b><span style="font-weight: bold;">To:</span></b> Discussion list for GROMACS users <gmx-users@gromacs.org><br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 23, 2011 2:07 PM<br><b><span
style="font-weight: bold;">Subject:</span></b> Re: [gmx-users] OPLS-AA Unknown Atomtype<br></font><br><br><br>Yao Yao wrote:<br>> Hi Justin,<br>> <br>> Thanks for your reply. Here is the exact error message,<br>> <br>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>> <br>> Back Off! I just backed up mdout.mdp to ./#mdout.mdp.1#<br>> checking input for internal consistency...<br>> processing topology...<br>> Opening library file /share/apps/gromacs407/share/gromacs/top/ffoplsaa.itp<br>> Opening library file /share/apps/gromacs407/share/gromacs/top/ffoplsaanb.itp<br>> Opening library file /share/apps/gromacs407/share/gromacs/top/ffoplsaabon.itp<br>> <br>> -------------------------------------------------------<br>> Program grompp, VERSION 4.0.7<br>> Source code file: toppush.c, line: 620<br>> <br>> Fatal error:<br>> Unknown bond_atomtype CA1<br>> <br>>
-------------------------------------------------------<br>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>> <br>> I understand that I have not inserted CA1 into "atomtypes.atp". because if I add CA1 as a new atom, I have to mention all bonds, angles, dihedrals of it.<br><br>The atomtypes.atp file is irrelevant here; it is only used by pdb2gmx. What you are trying to avoid is what you have to do - if you introduce a new atom type and intend to use it in any bonded interactions, you must introduce relevant parameters for all the interactions in which it will participate.<br><br>> So I denoted the type of it as a known carbon atom in my topology file (in the attachment). I thought in OPLS-AA, CA1 can "cite" this known atom since CA1 is just a name.<br><br>Names and types are different. You can name an atom anything you like, but atom types must be judiciously assigned.<br><br>> Meanwhile, in the ffbonded.itp
and ffnonbonded.itp, I still use CA1 to give bonds, angles, and dihedrals of CA1.<br>> <br><br>If you have inserted all of the correct parameters in these files, you would not receive the error above. Perhaps herein lies the problem - if you have modified ffnonbonded.itp (which belongs to the force field organization of the 4.5.x series), it will have no effect on a 4.0.7 executable, which is being called above. So (at least) one of two possibilities is true:<br><br>1. You're not using the Gromacs version you intend to.<br>2. You haven't introduced all of the parameters you need to.<br><br>The bond_atomtype values are assigned in ffnonbonded.itp (counterintuitive, I know, but that's how it works). So for the problematic atom (type opls_137) the bond_atomtype is CT (second column of ffnonbonded.itp in [atomtypes]).<br><br>> So generally speaking, I am wondering if an atom with a different name gets introduced into OPLS, it has to
be denoted again (bonds, angles, ...) and added into the atomtypes.atp, even it is a carbon atom?<br>> And do you happen to know any tutorial about how to introduce new molecules into OPLS?<br>> <br><br>Again, names are irrelevant but types are critical. There is no tutorial, per se, but the instructions are on the wiki in a general form:<br><br><a href="http://www.gromacs.org/Documentation/How-tos/Adding_a_Residue_to_a_Force_Field" target="_blank">http://www.gromacs.org/Documentation/How-tos/Adding_a_Residue_to_a_Force_Field</a><br><br>Most of the instructions are designed around residues for which pdb2gmx will act. In your case, any new atom types need to be defined in ffnonbonded.itp and then bonded interactions making use of those types in ffbonded.itp.<br><br>-Justin<br><br>-- ========================================<br><br>Justin A. Lemkul<br>Ph.D. Candidate<br>ICTAS Doctoral Scholar<br>MILES-IGERT Trainee<br>Department of
Biochemistry<br>Virginia Tech<br>Blacksburg, VA<br>jalemkul[at]vt.edu | (540) 231-9080<br><a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin" target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br><br>========================================<br>-- gmx-users mailing list <a ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>Please don't post (un)subscribe requests to the list. Use the www interface or send it to <a ymailto="mailto:gmx-users-request@gromacs.org"
href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>Can't post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br><br><br></div></div></div></body></html>