<div>Dear all,</div>
<div>I have a topology contains line as below. I do not understand what is wrong with it that I get an error </div>
<div>-----------<br> Program grompp, Version 4.0.5<br> Source Code file: topio.c, line: 415<br> Fatal error:<br> Syntax error-File ffoplsaa.itp, line 18<br> last line read:<br> &#39;[defaults]&#39;<br> Invalid order for directive defaults<br>
--------------<br>according to the page <a href="http://oldwiki.gromacs.org/index.php/Errors#Found_a_second_defaults_directive_file">http://oldwiki.gromacs.org/index.php/Errors#Found_a_second_defaults_directive_file</a></div>

<div>I do not have twice default section... SO I do not know exactly which files I should check... It says topology and ff. Topology that I am using in grompp is as below and the ffoplsaa.itp has only one default section...</div>

<div>Would you please help me to solve the problem.</div>
<div>
<div>topol.top: -------------</div>
<div>#include &quot;ffoplsaa.itp&quot;</div>
<div>#include &quot;spce.itp&quot;<br>#include &quot;molecule.itp&quot;<br>[system]</div>
<div>fullerene in water</div>
<div>[molecules]</div>
<div>molecule   1</div>
<div>SOL       1000</div>
<div>--------------------</div></div>
<div>Many Thanks in Advance and I appreciate your help/Jamie</div>
<div><br> </div>
<div class="gmail_quote">On Mon, Aug 10, 2009 at 5:46 PM, Jamie Seyed <span dir="ltr">&lt;<a href="mailto:jamie.seyed@gmail.com">jamie.seyed@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Dear Vitaly,</div>
<div>topol.top: -------------</div>
<div>#include &quot;ffoplsaa.itp&quot;</div>
<div>#include &quot;spce.itp&quot;<br>#include &quot;c80ch3.itp&quot;<br>[system]</div>
<div>fullerene in water</div>
<div>[molecules]</div>
<div>C80CH3   1</div>
<div>SOL       1000</div>
<div>--------------------</div>
<div>my command is:</div>
<div>grompp -f md.mdp -c f.gro -p topol.top -o pr.tpr  -maxwarn 10</div>
<div> </div>
<div>Thank you for helping me out to solve the problem/ Regards/Jamie</div>
<div>
<div></div>
<div class="h5">
<div> </div>
<div> </div>
<div class="gmail_quote">On Mon, Aug 10, 2009 at 5:39 PM, Vitaly V. Chaban <span dir="ltr">&lt;<a href="mailto:vvchaban@gmail.com" target="_blank">vvchaban@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Jamie,<br><br>The idea is the same. Some directive is not at its place. I cannot say<br>which is exactly because I don&#39;t see all the picture with your<br>
topology file (+included files). Write the sequence of directives as<br>they go in .top (+included .itp) and then we will see what sections<br>must be shifted or maybe just swapped.<br><font color="#888888"><br>Vitaly<br>
</font>
<div><br>On Tue, Aug 11, 2009 at 12:34 AM, Jamie Seyed&lt;<a href="mailto:jamie.seyed@gmail.com" target="_blank">jamie.seyed@gmail.com</a>&gt; wrote:<br>&gt; Hi Vitaly,<br></div>
<div>
<div></div>
<div>&gt; When I add it back, I got the old error<br>&gt; -----------<br>&gt; Program grompp, Version 4.0.5<br>&gt; Source Code file: topio.c, line: 415<br>&gt; Fatal error:<br>&gt; Syntax error-File ffoplsaa.itp, line 18<br>
&gt; last line read:<br>&gt; &#39;[defaults]&#39;<br>&gt; Invalid order for directive defaults<br>&gt; -----------<br>&gt; Now do you have any idea??? I appreciate your help/Jamie<br>&gt;<br>&gt; On Mon, Aug 10, 2009 at 5:22 PM, Jamie Seyed &lt;<a href="mailto:jamie.seyed@gmail.com" target="_blank">jamie.seyed@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>&gt;&gt; Hi Vitaly,<br>&gt;&gt; I did it because I read from<br>&gt;&gt; <a href="http://oldwiki.gromacs.org/index.php/Errors#Found_a_second_defaults_directive_file" target="_blank">http://oldwiki.gromacs.org/index.php/Errors#Found_a_second_defaults_directive_file</a><br>
&gt;&gt; that says:<br>&gt;&gt; &quot;One solution is to simply comment out (or delete) the lines of code out<br>&gt;&gt; in the file where it is included for the second time i.e., ..&quot;. So if it is<br>&gt;&gt; the case I am going to undo it to see what happens... I will let you know.<br>
&gt;&gt; Thanks/Jamie<br>&gt;&gt; On Mon, Aug 10, 2009 at 5:05 PM, Vitaly V. Chaban &lt;<a href="mailto:vvchaban@gmail.com" target="_blank">vvchaban@gmail.com</a>&gt;<br>&gt;&gt; wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Why did you comment out [defaults] in ffoplsaa.itp? The general idea<br>
&gt;&gt;&gt; is that the sections in the resulting topology file (after including<br>&gt;&gt;&gt; #include&#39;s) must be placed in the strict order.<br></div></div></blockquote></div><br></div></div></blockquote></div><br>