[gmx-users] Error: 4095 characters, fgets2 has size 4095

David van der Spoel spoel at xray.bmc.uu.se
Tue Apr 10 12:28:24 CEST 2012


On 2012-04-10 12:02, Steven Neumann wrote:
> Thank you for the reply. I do not have such files in my directory or in
> my force field.
did you mean dos2unix?

try:
wc grompp.mdp
to count the number of lines. There should be may.
In fact grompp probably tells you which input file is erroneous, doesn't 
it?
>
> On Tue, Apr 10, 2012 at 10:59 AM, Carsten Kutzner <ckutzne at gwdg.de
> <mailto:ckutzne at gwdg.de>> wrote:
>
>     Hi Steven,
>
>     you might have to remove files with weird names (such as ._name) in
>     the directory where you run
>     grompp or in your forcefield directory.
>
>     Carsten
>
>
>     On Apr 10, 2012, at 11:52 AM, Steven Neumann wrote:
>
>      > Dear Gmx Users,
>      >
>      > It is 1st time I came across such problem. While preparing my NPT
>     simulation before umbrella samping:
>      >
>      > grompp -f npt_umbrella.mdp -c conf0.gro -p topol.top -n index.ndx
>     -o npt0.tpr
>      >
>      > An input file contains a line longer than 4095 characters, while
>     the buffer passed to fgets2 has size 4095. The line starts with: '20s'
>      >
>      > Its not about the files in bad format as I have never had this
>     problem  - I am using Gromacs 4.5.4 installed on the cluster, I am
>     using PuTTy shell. I always use dos2gmx ibefore processing.
>      >
>      > Can you advise?
>      >
>      > Steven
>      >
>     >  --
>     >  gmx-users mailing list gmx-users at gromacs.org
>     <mailto: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
>     <mailto: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
>     <mailto: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
>     <mailto:gmx-users-request at gromacs.org>.
>     Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
>
>
>


-- 
David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone:	+46184714205.
spoel at xray.bmc.uu.se    http://folding.bmc.uu.se



More information about the gromacs.org_gmx-users mailing list