[gmx-users] grompp error, invalid line in .gro file
Berk Hess
gmx3 at hotmail.com
Tue Apr 22 13:52:19 CEST 2008
Hi,
Your formatting is incorrect.
The .gro format is a very old GROMOS fixed format (not free format).
See the manual for the details:
http://www.gromacs.org/documentation/reference/online/gro.html
Berk.
> Date: Tue, 22 Apr 2008 12:12:17 +0200
> From: akring at fys.ku.dk
> To: gmx-users at gromacs.org
> Subject: [gmx-users] grompp error, invalid line in .gro file
>
> Hello all.
>
> I'm trying to simulate an argon liquid. The OPLS-AA force field is used
> with the files from /usr/local/gromacs/share/gromacs/top. But I get an
> error when I run
>
> $ grompp -f NVT.mdp -c Ar.gro -p Ar.top
> -------------------------------------------------------
> Program grompp, VERSION 3.3.3
> Source code file: confio.c, line: 709
>
> Fatal error:
> Invalid line in Ar.gro for atom 1:
> 1Argon Ar 1 0.0 0.0 0.0
> -------------------------------------------------------
>
> An ideas on what can be wrong? My argon .top file and .gro file can be
> seen below.
>
> Kind regards
> Andreas
>
> ----------------------
> Ar.top
> ----------------------
> ; Topology file for Ar
>
> ; Parameter level
>
> #include "ffoplsaa.itp"
> ; #define _FF_OPLS
> ; #define _FF_OPLSAA
> ; [defaults]
> ; #include "ffoplsaanb.itp"
> ; [atomtypes]
> ; #include "ffoplsaabon.itp"
> ; [bondtypes]
> ; [constrainttypes]
> ; [angletypes]
> ; [dihedraltypes]
>
> ; Molecule level
>
> [ moleculetype ]
> ; molname nrexcl
> Argon 1
>
> [ atoms ]
> ; id at_type res_nr res_name at_name cg_nr charge
> 1 opls_097 1 Argon Ar 1 0.0
>
> ; System level
>
> [ system ]
> Argon liquid
>
> [ molecules ]
> Argon 2048
>
> ---------------------------------
> Ar.gro
> ---------------------------------
> fcc lattice of argon atoms
> 2048
> 1Argon Ar 1 0.0 0.0 0.0
> 2Argon Ar 2 0.283835 0.283835 0.0
> ...
> 2047Argon Ar 2047 4.257525 3.97369 4.257525
> 2048Argon Ar 2048 3.97369 4.257525 4.257525
> 4.54136 4.54136 4.54136
>
> _______________________________________________
> gmx-users mailing list gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please search the archive at http://www.gromacs.org/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/mailing_lists/users.php
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20080422/83d6ce39/attachment.html>
More information about the gromacs.org_gmx-users
mailing list