<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>This is a bug caused by last minute additions of some stuff to the checkpoint file.<br>I have fixed it for 4.0.1.<br><br>Berk<br><br>&gt; Date: Wed, 5 Nov 2008 22:24:15 -0500<br>&gt; From: chris.neale@utoronto.ca<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: [gmx-users] trjconv -f .cpt -s .tpr -o .gro<br>&gt; <br>&gt; Hello,<br>&gt; <br>&gt; has anybody successfully used trjconv to obtain a .gro file from a  <br>&gt; .cpt file in gromacs 4.0?<br>&gt; <br>&gt; Thanks,<br>&gt; Chris.<br>&gt; <br>&gt; [cneale@rb17 16core]$ /work/cneale/exe/gromacs-4.0/exec/bin/trjconv -f  <br>&gt; test.xtc -s test.tpr -o my.gro<br>&gt;                           :-)  G  R  O  M  A  C  S  (-:<br>&gt; <br>&gt;          Getting the Right Output Means no Artefacts in Calculating Stuff<br>&gt; <br>&gt;                               :-)  VERSION 4.0  (-:<br>&gt; <br>&gt; <br>&gt;        Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.<br>&gt;         Copyright (c) 1991-2000, University of Groningen, The Netherlands.<br>&gt;               Copyright (c) 2001-2008, The GROMACS development team,<br>&gt;              check out http://www.gromacs.org for more information.<br>&gt; <br>&gt;           This program is free software; you can redistribute it and/or<br>&gt;            modify it under the terms of the GNU General Public License<br>&gt;           as published by the Free Software Foundation; either version 2<br>&gt;               of the License, or (at your option) any later version.<br>&gt; <br>&gt;              :-)  /work/cneale/exe/gromacs-4.0/exec/bin/trjconv  (-:<br>&gt; <br>&gt; Option     Filename  Type         Description<br>&gt; ------------------------------------------------------------<br>&gt;    -f       test.xtc  Input        Trajectory: xtc trr trj gro g96 pdb cpt<br>&gt;    -o         my.gro  Output       Trajectory: xtc trr trj gro g96 pdb<br>&gt;    -s       test.tpr  Input, Opt!  Structure+mass(db): tpr tpb tpa gro g96 pdb<br>&gt;    -n      index.ndx  Input, Opt.  Index file<br>&gt;   -fr     frames.ndx  Input, Opt.  Index file<br>&gt; -sub    cluster.ndx  Input, Opt.  Index file<br>&gt; -drop      drop.xvg  Input, Opt.  xvgr/xmgr file<br>&gt; <br>&gt; Option       Type   Value   Description<br>&gt; ------------------------------------------------------<br>&gt; -[no]h       bool   no      Print help info and quit<br>&gt; -nice        int    19      Set the nicelevel<br>&gt; -b           time   0       First frame (ps) to read from trajectory<br>&gt; -e           time   0       Last frame (ps) to read from trajectory<br>&gt; -tu          enum   ps      Time unit: ps, fs, ns, us, ms or s<br>&gt; -[no]w       bool   no      View output xvg, xpm, eps and pdb files<br>&gt; -[no]xvgr    bool   yes     Add specific codes (legends etc.) in the output<br>&gt;                              xvg files for the xmgrace program<br>&gt; -skip        int    1       Only write every nr-th frame<br>&gt; -dt          time   0       Only write frame when t MOD dt = first time (ps)<br>&gt; -dump        time   -1      Dump frame nearest specified time (ps)<br>&gt; -t0          time   0       Starting time (ps) (default: don't change)<br>&gt; -timestep    time   0       Change time step between input frames (ps)<br>&gt; -pbc         enum   none    PBC treatment (see help text for full<br>&gt;                              description): none, mol, res, atom, nojump,<br>&gt;                              cluster or whole<br>&gt; -ur          enum   rect    Unit-cell representation: rect, tric or compact<br>&gt; -[no]center  bool   no      Center atoms in box<br>&gt; -boxcenter   enum   tric    Center for -pbc and -center: tric, rect or zero<br>&gt; -box         vector 0 0 0   Size for new cubic box (default: read from input)<br>&gt; -trans       vector 0 0 0   All coordinates will be translated by trans. This<br>&gt;                              can advantageously be combined with -pbc mol -ur<br>&gt;                              compact.<br>&gt; -shift       vector 0 0 0   All coordinates will be shifted by framenr*shift<br>&gt; -fit         enum   none    Fit molecule to ref structure in the structure<br>&gt;                              file: none, rot+trans, rotxy+transxy, translation<br>&gt;                              or progressive<br>&gt; -ndec        int    3       Precision for .xtc and .gro writing in number of<br>&gt;                              decimal places<br>&gt; -[no]vel     bool   yes     Read and write velocities if possible<br>&gt; -[no]force   bool   no      Read and write forces if possible<br>&gt; -trunc       time   -1      Truncate input trj file after this time (ps)<br>&gt; -exec        string         Execute command for every output frame with the<br>&gt;                              frame number as argument<br>&gt; -[no]app     bool   no      Append output<br>&gt; -split       time   0       Start writing new file when t MOD split = first<br>&gt;                              time (ps)<br>&gt; -[no]sep     bool   no      Write each frame to a separate .gro, .g96 or .pdb<br>&gt;                              file<br>&gt; -nzero       int    0       Prepend file number in case you use the -sep flag<br>&gt;                              with this number of zeroes<br>&gt; -[no]ter     bool   no      Use 'TER' in pdb file as end of frame in stead of<br>&gt;                              default 'ENDMDL'<br>&gt; -dropunder   real   0       Drop all frames below this value<br>&gt; -dropover    real   0       Drop all frames above this value<br>&gt; <br>&gt; Will write gro: Coordinate file in Gromos-87 format<br>&gt; Reading file test.tpr, VERSION 4.0 (single precision)<br>&gt; Reading file test.tpr, VERSION 4.0 (single precision)<br>&gt; Select group for output<br>&gt; Opening library file /home/cneale/gromacs/top/aminoacids.dat<br>&gt; Group     0 (      System) has 59152 elements<br>&gt; Group     1 (     Protein) has  5060 elements<br>&gt; Group     2 (   Protein-H) has  2636 elements<br>&gt; Group     3 (     C-alpha) has   314 elements<br>&gt; Group     4 (    Backbone) has   942 elements<br>&gt; Group     5 (   MainChain) has  1258 elements<br>&gt; Group     6 (MainChain+Cb) has  1542 elements<br>&gt; Group     7 ( MainChain+H) has  1556 elements<br>&gt; Group     8 (   SideChain) has  3504 elements<br>&gt; Group     9 ( SideChain-H) has  1378 elements<br>&gt; Group    10 ( Prot-Masses) has  5060 elements<br>&gt; Group    11 ( Non-Protein) has 54092 elements<br>&gt; Group    12 (        POPC) has 13728 elements<br>&gt; Group    13 (         SOL) has 40360 elements<br>&gt; Group    14 (         NA+) has     4 elements<br>&gt; Group    15 (       Other) has 54092 elements<br>&gt; Select a group: 0<br>&gt; Selected 0: 'System'<br>&gt; Reading frame       0 time 1400.000<br>&gt; Precision of test.xtc is 0.001 (nm)<br>&gt; Using output precision of 0.001 (nm)<br>&gt; Reading frame       7 time 1470.000    -&gt;  frame      7 time 1470.000<br>&gt; [cneale@rb17 16core]$ /work/cneale/exe/gromacs-4.0/exec/bin/trjconv -f  <br>&gt; test.cpt -s test.tpr -o my.gro<br>&gt;                           :-)  G  R  O  M  A  C  S  (-:<br>&gt; <br>&gt;                                S  C  A  M  O  R  G<br>&gt; <br>&gt;                               :-)  VERSION 4.0  (-:<br>&gt; <br>&gt; <br>&gt;        Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.<br>&gt;         Copyright (c) 1991-2000, University of Groningen, The Netherlands.<br>&gt;               Copyright (c) 2001-2008, The GROMACS development team,<br>&gt;              check out http://www.gromacs.org for more information.<br>&gt; <br>&gt;           This program is free software; you can redistribute it and/or<br>&gt;            modify it under the terms of the GNU General Public License<br>&gt;           as published by the Free Software Foundation; either version 2<br>&gt;               of the License, or (at your option) any later version.<br>&gt; <br>&gt;              :-)  /work/cneale/exe/gromacs-4.0/exec/bin/trjconv  (-:<br>&gt; <br>&gt; Option     Filename  Type         Description<br>&gt; ------------------------------------------------------------<br>&gt;    -f       test.cpt  Input        Trajectory: xtc trr trj gro g96 pdb cpt<br>&gt;    -o         my.gro  Output       Trajectory: xtc trr trj gro g96 pdb<br>&gt;    -s       test.tpr  Input, Opt!  Structure+mass(db): tpr tpb tpa gro g96 pdb<br>&gt;    -n      index.ndx  Input, Opt.  Index file<br>&gt;   -fr     frames.ndx  Input, Opt.  Index file<br>&gt; -sub    cluster.ndx  Input, Opt.  Index file<br>&gt; -drop      drop.xvg  Input, Opt.  xvgr/xmgr file<br>&gt; <br>&gt; Option       Type   Value   Description<br>&gt; ------------------------------------------------------<br>&gt; -[no]h       bool   no      Print help info and quit<br>&gt; -nice        int    19      Set the nicelevel<br>&gt; -b           time   0       First frame (ps) to read from trajectory<br>&gt; -e           time   0       Last frame (ps) to read from trajectory<br>&gt; -tu          enum   ps      Time unit: ps, fs, ns, us, ms or s<br>&gt; -[no]w       bool   no      View output xvg, xpm, eps and pdb files<br>&gt; -[no]xvgr    bool   yes     Add specific codes (legends etc.) in the output<br>&gt;                              xvg files for the xmgrace program<br>&gt; -skip        int    1       Only write every nr-th frame<br>&gt; -dt          time   0       Only write frame when t MOD dt = first time (ps)<br>&gt; -dump        time   -1      Dump frame nearest specified time (ps)<br>&gt; -t0          time   0       Starting time (ps) (default: don't change)<br>&gt; -timestep    time   0       Change time step between input frames (ps)<br>&gt; -pbc         enum   none    PBC treatment (see help text for full<br>&gt;                              description): none, mol, res, atom, nojump,<br>&gt;                              cluster or whole<br>&gt; -ur          enum   rect    Unit-cell representation: rect, tric or compact<br>&gt; -[no]center  bool   no      Center atoms in box<br>&gt; -boxcenter   enum   tric    Center for -pbc and -center: tric, rect or zero<br>&gt; -box         vector 0 0 0   Size for new cubic box (default: read from input)<br>&gt; -trans       vector 0 0 0   All coordinates will be translated by trans. This<br>&gt;                              can advantageously be combined with -pbc mol -ur<br>&gt;                              compact.<br>&gt; -shift       vector 0 0 0   All coordinates will be shifted by framenr*shift<br>&gt; -fit         enum   none    Fit molecule to ref structure in the structure<br>&gt;                              file: none, rot+trans, rotxy+transxy, translation<br>&gt;                              or progressive<br>&gt; -ndec        int    3       Precision for .xtc and .gro writing in number of<br>&gt;                              decimal places<br>&gt; -[no]vel     bool   yes     Read and write velocities if possible<br>&gt; -[no]force   bool   no      Read and write forces if possible<br>&gt; -trunc       time   -1      Truncate input trj file after this time (ps)<br>&gt; -exec        string         Execute command for every output frame with the<br>&gt;                              frame number as argument<br>&gt; -[no]app     bool   no      Append output<br>&gt; -split       time   0       Start writing new file when t MOD split = first<br>&gt;                              time (ps)<br>&gt; -[no]sep     bool   no      Write each frame to a separate .gro, .g96 or .pdb<br>&gt;                              file<br>&gt; -nzero       int    0       Prepend file number in case you use the -sep flag<br>&gt;                              with this number of zeroes<br>&gt; -[no]ter     bool   no      Use 'TER' in pdb file as end of frame in stead of<br>&gt;                              default 'ENDMDL'<br>&gt; -dropunder   real   0       Drop all frames below this value<br>&gt; -dropover    real   0       Drop all frames above this value<br>&gt; <br>&gt; Will write gro: Coordinate file in Gromos-87 format<br>&gt; Reading file test.tpr, VERSION 4.0 (single precision)<br>&gt; Reading file test.tpr, VERSION 4.0 (single precision)<br>&gt; Select group for output<br>&gt; Opening library file /home/cneale/gromacs/top/aminoacids.dat<br>&gt; Group     0 (      System) has 59152 elements<br>&gt; Group     1 (     Protein) has  5060 elements<br>&gt; Group     2 (   Protein-H) has  2636 elements<br>&gt; Group     3 (     C-alpha) has   314 elements<br>&gt; Group     4 (    Backbone) has   942 elements<br>&gt; Group     5 (   MainChain) has  1258 elements<br>&gt; Group     6 (MainChain+Cb) has  1542 elements<br>&gt; Group     7 ( MainChain+H) has  1556 elements<br>&gt; Group     8 (   SideChain) has  3504 elements<br>&gt; Group     9 ( SideChain-H) has  1378 elements<br>&gt; Group    10 ( Prot-Masses) has  5060 elements<br>&gt; Group    11 ( Non-Protein) has 54092 elements<br>&gt; Group    12 (        POPC) has 13728 elements<br>&gt; Group    13 (         SOL) has 40360 elements<br>&gt; Group    14 (         NA+) has     4 elements<br>&gt; Group    15 (       Other) has 54092 elements<br>&gt; Select a group: 0<br>&gt; Selected 0: 'System'<br>&gt; Segmentation fault<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>