[gmx-users] Error with "grompp"
elie.moujaes at hotmail.co.uk
Tue Oct 2 05:39:02 CEST 2012
I am a bit confused..I am getting different errors though similar in goal. The error this time is:
"Fatal error:Syntax error - File S54.top, line 17Last line read:'[ atoms ]'Invalid order for directive atoms"Let me tell you what I did again: I have another n2t file ( fftoplsaamod.n2t) which was used to successfully produce the .top file. Now since using grompp requires the presence of an "ffoplsaamod.itp", i just copied the original ffoplsaa.itp and renamed it and instead of it calling the two itp files :" ffoplsaanb.itp" and ""ffoplsaabon.itp", I have included these two files (in the order they should be) in the ffoplsaamod.itp file. What I am confised about is that the top file has atoms, bonds, pairs,......whilst the .itp file has atomtypes, bondtypes....why is that? what should be done to circumvent the error? shall all atomtypes in the itp be called atoms and bondtypes bonds to match that .top file or what? and which file should be in the same order of which?
> Date: Mon, 1 Oct 2012 08:38:15 -0400
> From: jalemkul at vt.edu
> To: gmx-users at gromacs.org
> Subject: Re: [gmx-users] Error with "grompp"
> On 10/1/12 12:38 AM, Elie M wrote:
> > Dear all,
> > Maybe this error has been discussed before; I have checked previous messages on it but i could not resolve it. I have done a modified version of the oplsaa forcefield which I have called "ffoplsaamod.n2t". The top file was created successfully. However when I run grompp, I get the error:
> > "Fatal error:Syntax error - File ffoplsaabon.itp, line 306Last line read:'[ bondtypes ]'"
> > I tried to "uncomment" the bond types then the error moves to contraint types. What is the solution in this case?
> > N.B: I have copied the file ffoplsaa.itp and called it "ffoplsaamod.itp".. Not sure if this has anything to do with the error.
> It probably does. The first #include statement in your topology is probably:
> #include "ffoplsaa.itp"
> That file, in turn, calls ffoplsaanb.itp and ffoplsaabon.itp. If you have
> renamed the files, then ffoplsaanb.itp does not occur and cannot be #included
> prior to ffoplsaabon.itp. The order of inclusion is essential for proper
> If you need to make adjustments to the contents of any of these files, make a
> local copy of the entire force field and make modifications, leaving the files
> located in $GMXLIB alone. Do not rename them unless you consistently rename all
> references to these files.
> Justin A. Lemkul, Ph.D.
> Research Scientist
> Department of Biochemistry
> Virginia Tech
> Blacksburg, VA
> jalemkul[at]vt.edu | (540) 231-9080
> gmx-users mailing list gmx-users at gromacs.org
> * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
> * Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
More information about the gromacs.org_gmx-users