# Error during generation of tpr file from vmd generated top file

**URL:** <https://gromacs.bioexcel.eu/t/error-during-generation-of-tpr-file-from-vmd-generated-top-file/740>\
**Category:** User discussions\
**Created:** [August 31, 2020, 7:24am UTC](https://gromacs.bioexcel.eu/t/error-during-generation-of-tpr-file-from-vmd-generated-top-file/740 "2020-08-31T07:24:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santanu](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@Santanu](https://gromacs.bioexcel.eu/u/Santanu)\
**Post date:** [August 31, 2020, 7:24am UTC](https://gromacs.bioexcel.eu/t/error-during-generation-of-tpr-file-from-vmd-generated-top-file/740/1 "2020-08-31T07:24:44Z")

</div>

GROMACS version: 5.1  
GROMACS modification: No  
Here post your question: Dear All, As per the available commands, I tried to generate a test.top file from VMD psf file/pdb file by using topotools 1.6. By using this test.top file I am trying to generate a test.tpr file for my protein-water system by grompp engine using a sample mdp file. But during this conversion, it is generating one error: ------------------------------------------------------------------ **ERROR: The cut-off length is longer than half the shortest box vector or longer than the smallest box diagonal element. Increase the box size or decrease rlist.** ----------------- I searched in google and found one issue that it does not store box length information, that is why no matter what the value of rlist is, it will produce the same error. INfact I also tried with very small value of rlist but still the issue was present. Kindly help me to figure out my queries… (1) If I need to store box information , how is it possible by using VMD topotools or grompp mechanism . (2) Is there any way to avoid the issue, as I need the tpr file only for analysis purpose not for simulation. As I already converted my NAMD dcd file into trr file.  
(3) Is there other tools available to convert NAMD psf/pdb/dcd format to tpr format.

Many Many thanks in advance for any kind of help.  
regards  
Santanu

---

<div class="post-metadata">

**Author:** ![iy55](https://avatars.discourse-cdn.com/v4/letter/i/87869e/32.png) [@iy55](https://gromacs.bioexcel.eu/u/iy55)\
**Post date:** [October 26, 2020, 5:10pm UTC](https://gromacs.bioexcel.eu/t/error-during-generation-of-tpr-file-from-vmd-generated-top-file/740/2 "2020-10-26T17:10:08Z")

</div>

I have had the similar issue. However, the below-mentioned script solved my issue!

> **[gmx insert-molecules — GROMACS 2018 documentation](http://manual.gromacs.org/documentation/2018/onlinehelp/gmx-insert-molecules.html)**

gmx insert-molecules -ci BMI\_gro\_gmx.gro -box 3 3 3 -nmol 1 -o BMI\_gro\_gmx\_1molecule.gro

---

<div class="post-metadata">

**Author:** ![Santanu](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@Santanu](https://gromacs.bioexcel.eu/u/Santanu)\
**Post date:** [November 2, 2020, 3:44am UTC](https://gromacs.bioexcel.eu/t/error-during-generation-of-tpr-file-from-vmd-generated-top-file/740/3 "2020-11-02T03:44:52Z")

</div>

thanks a lot
