[gmx-users] Error with "grompp"

Emanuel Birru Emanuel.Birru at monash.edu
Tue Oct 2 05:56:28 CEST 2012


Hi Elie,

Your email is a bit confusing but I will try to give you some idea as per my understanding of your email.

If you want to use top and itp files separately, you should put all the info (molecule type, atoms, bond, pairs, angles, dihedral) in your itp files and you should use "# include "your itp file.itp" in your top file. No atom, bond, pair etc in your top file. Just like you include your water type (spc/tip4) you should include the itp. And top of that you should put the right number of molecules in the right order in your top file at the (molecules) section.

Hope that might give you some help.

Cheers,
Emanuel

-----Original Message-----
From: gmx-users-bounces at gromacs.org [mailto:gmx-users-bounces at gromacs.org] On Behalf Of Elie M
Sent: Tuesday, 2 October 2012 1:39 PM
To: gmx-users at gromacs.org
Subject: RE: [gmx-users] Error with "grompp"


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?

Thanks
Elie

> 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 functionality.
> 
> 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
> 
> --
> ========================================
> 
> Justin A. Lemkul, Ph.D.
> Research Scientist
> Department of Biochemistry
> Virginia Tech
> Blacksburg, VA
> jalemkul[at]vt.edu | (540) 231-9080
> http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin
> 
> ========================================
> -- 
> gmx-users mailing list    gmx-users at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-users
> * 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
 		 	   		  -- 
gmx-users mailing list    gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
* 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 mailing list