[gmx-users] gmx trjconv does not produce exact .gro file (slightly different box length)

Justin Lemkul jalemkul at vt.edu
Thu May 2 18:54:44 CEST 2019



On 5/2/19 5:13 AM, Faezeh Pousaneh wrote:
> Hi,
>
> I notice that gmx trjconv  does not produce the exact .gro file (slightly
> different box lengths).
> I mean when i run following command
>
> gmx trjconv  -f NPT.trr  -s NPT.tpr   -o f.gro   -pbc  mol -b 2000
>
> I get slightly different box length than when I run gmx energy ... and
> select box-X,Y,Z.
>
>   Anyone knows why?

.trr and .edr store greater precision. A coordinate file format like 
.gro has limited precision. The same thing happens with coordinates and 
velocities.

-Justin

-- 
==================================================

Justin A. Lemkul, Ph.D.
Assistant Professor
Office: 301 Fralin Hall
Lab: 303 Engel Hall

Virginia Tech Department of Biochemistry
340 West Campus Dr.
Blacksburg, VA 24061

jalemkul at vt.edu | (540) 231-3129
http://www.thelemkullab.com

==================================================



More information about the gromacs.org_gmx-users mailing list