[gmx-users] Fatal error: Invalid order for directive moleculetype

Anton Feenstra feenstra at chem.vu.nl
Wed Aug 4 14:24:22 CEST 2004


Gary wrote:

> Hi All,
> 
> I keep on getting the error:
> 
> Fatal error: Invalid order for directive moleculetype,
> file ""sh.top"", line 1
> 
> Which refers to:
> 
>  [ moleculetype ]
>  ;name nrexcl
> UNK      3
> 
> I generated the file with PRODRG.  Why would it be
> incorrect to start a .top file with [ moleculetype ]?

A moleculetype entry describes a molecule in terms of atoms, bonds,
angles etc. These atoms, bonds etc need first be defined in corresponding
[ *types ] directives. Normally, that is done in .itp files that define
a certain forcefield, e.g. ffG43a1.itp for Gromos, or ffgmx.itp for the
(old and deprecated) Gromacs forcefield.

Check the online pdf manual, chapters on topologies and forcefields.


-- 
Groetjes,

Anton
  _____________ _______________________________________________________
|             |                                                       |
|  _   _  ___,| K. Anton Feenstra                                     |
| / \ / \'| | | Dept. of Pharmacochem. - Vrije Universiteit Amsterdam |
|(   |   )| | | De Boelelaan 1083 - 1081 HV Amsterdam - Netherlands   |
| \_/ \_/ | | | Tel: +31 20 44 47608 - Fax: +31 20 44 47610           |
|             | Feenstra at chem.vu.nl - www.chem.vu.nl/~feenstra/       |
|             | "If You See Me Getting High, Knock Me Down"           |
|             | (Red Hot Chili Peppers)                               |
|_____________|_______________________________________________________|



More information about the gromacs.org_gmx-users mailing list