<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi gmx-users,<br><br>I have trying build topologies for PVC polymer in opls/aa forcefield. I read the chapter 5 and modified the files ffoplsaa.rtp, ffoplsaa.hdb, ffoplsaa-n.tdb, ffoplsaa-c.tdb, but not successful.<br>Below, you can see the blocks that built. The parameters for the residue may seem confusing, but I  am trying to understand how to build these blocks and then create new parameters for the residue.<br><br>rtp file:<br><br>[ VIN ]<br>&nbsp;[ atoms ]<br>&nbsp;&nbsp;&nbsp; C1&nbsp; &nbsp; opls_136&nbsp;&nbsp;&nbsp; -0.120&nbsp;&nbsp;&nbsp; 1<br>&nbsp;&nbsp; H11&nbsp;&nbsp; opls_140&nbsp;&nbsp;&nbsp;&nbsp; 0.060&nbsp;&nbsp;&nbsp; 1<br>&nbsp;&nbsp; H12&nbsp;&nbsp; opls_140&nbsp;&nbsp;&nbsp;&nbsp; 0.060&nbsp;&nbsp;&nbsp; 1<br>&nbsp;&nbsp;&nbsp; C2&nbsp;&nbsp;&nbsp;
 opls_001&nbsp;&nbsp;&nbsp;&nbsp; 0.500&nbsp;&nbsp;&nbsp; 2<br>&nbsp;&nbsp;&nbsp; Cl&nbsp;&nbsp;&nbsp;&nbsp; opls_151&nbsp;&nbsp;&nbsp; -0.200&nbsp;&nbsp;&nbsp; 2<br>&nbsp;&nbsp; H21&nbsp;&nbsp; opls_153&nbsp;&nbsp;&nbsp;&nbsp; 0.103&nbsp;&nbsp;&nbsp; 2<br>&nbsp;[ bonds ]<br>&nbsp;&nbsp; C1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; H11<br>&nbsp;&nbsp; C1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; H12<br>&nbsp;&nbsp; C1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C2<br>&nbsp;&nbsp; C2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cl<br>&nbsp;&nb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.008&nbsp;&nbsp; 0.06<br>[ delete ]<br>&nbsp;&nbsp; H21<br><br>-n.tdb file:<br><br>[ VIN ]<br>[ replace ]<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; opls_152&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12.011 -0.006<br>[ add ]<br>2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; opls_153&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.00800&nbsp; 0..103<br>[ delete ]<br>&nbsp; H21<br><br>By using the pdb2gmx following error occurs:<br><br>Opening library file ffoplsaa.rtp<br>Opening library file /usr/local/gromacs332/share/gromacs/top/aminoacids.dat<br>Reading PVC_32_mon_1_cd_gromos.pdb...<br>WARNING: all CONECT records are ignored<br>Read 194 atoms<br>Opening library file /usr/local/gromacs332/share/gromacs/top/xlateat.dat<br>26 out of 26 lines of xlateat.dat converted succesfully<br>Analyzing pdb file<br>There are 1 chains and 0 blocks of water and 32 residues with 194 atoms<br><br>&nbsp; chain&nbsp; #res #atoms<br>&nbsp; 1 ' '&nbsp;&nbsp;&nbsp; 32&nbsp;&nbsp;&nbsp; 194<br><br>All occupancies are one<br>Opening library file
 /usr/local/gromacs332/share/gromacs/top/ffoplsaa.atp<br>Atomtype 817<br>Reading residue database... (ffoplsaa)<br>Opening library file ffoplsaa.rtp<br>Residue 57<br>Sorting it all out...<br>Opening library file ffoplsaa.hdb<br>Opening library file ffoplsaa-n.tdb<br><br>-------------------------------------------------------<br>Program pdb2gmx_mpi, VERSION 3.3.2<br>Source code file: h_db.c, line: 95<br><br>Fatal error:<br>Error in hdb file ffoplsaa-n.tdb:<br>Wrong number of control atoms (2 iso 3) on line:<br>2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C1<br><br>Why this error occur?<br><br>Excuse me my English, I am a beginner in the language. <br><br> Thank you very much<br></div></div><br>


      <hr size=1>Veja quais são os assuntos do momento no Yahoo! + Buscados: <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/">Top 10</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/">Celebridades</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo..com/m%C3%BAsica/">Música</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/">Esportes</a></body></html>