# Urgent help: Error in user input:

**URL:** <https://gromacs.bioexcel.eu/t/urgent-help-error-in-user-input/6826>\
**Category:** User discussions\
**Tags:** forcefield, mdrun\
**Created:** [July 13, 2023, 10:04am UTC](https://gromacs.bioexcel.eu/t/urgent-help-error-in-user-input/6826 "2023-07-13T10:04:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shanza](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@shanza](https://gromacs.bioexcel.eu/u/shanza)\
**Post date:** [July 13, 2023, 10:04am UTC](https://gromacs.bioexcel.eu/t/urgent-help-error-in-user-input/6826/1 "2023-07-13T10:04:22Z")

</div>

after using -maxwarn 1 command in energy minimization step for ignoring non-zero charge error i got the following error while runing NVT.mdp file through command gmx mdrun -deffnm nvt

Error in user input:  
Invalid input values  
In option s  
Required option was not provided, and the default file ‘topol’ does not  
exist or is not accessible.  
The following extensions were tried to complete the file name:  
.tpr

---

<div class="post-metadata">

**Author:** ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)\
**Post date:** [July 13, 2023, 2:36pm UTC](https://gromacs.bioexcel.eu/t/urgent-help-error-in-user-input/6826/2 "2023-07-13T14:36:03Z")

</div>

`mdrun` is telling you it cannot find the `.tpr` file you specified and it tries to fall back on the default file name (`topol.tpr`), which does not exist either. The solution is to (1) ensure that the `.tpr` file exists in the working directory (in your case, likely `grompp` failed to produce it) and (2) make sure you haven’t made any typos when specifying the file name.

---

<div class="post-metadata">

**Author:** ![shanza](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@shanza](https://gromacs.bioexcel.eu/u/shanza)\
**Post date:** [July 13, 2023, 2:56pm UTC](https://gromacs.bioexcel.eu/t/urgent-help-error-in-user-input/6826/3 "2023-07-13T14:56:17Z")

</div>

yes! i don’t have nvt.tpr file should i try the previous step again with command  
gmx grompp -f nvt.mdp -c em.gro -r em.gro -p topol.top -n index.ndx -o nvt.tpr

---

<div class="post-metadata">

**Author:** ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)\
**Post date:** [July 13, 2023, 3:10pm UTC](https://gromacs.bioexcel.eu/t/urgent-help-error-in-user-input/6826/4 "2023-07-13T15:10:50Z")

</div>

`grompp` will tell you why it failed. Pay attention to all the output in the terminal. Based on your other thread about fractional charges, you probably have lots of issues to sort out before trying to plow ahead. Do not use the `-maxwarn` option; it is extremely dangerous. Warnings are given when the physics of the calculation is likely to be compromised.

---

<div class="post-metadata">

**Author:** ![shanza](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@shanza](https://gromacs.bioexcel.eu/u/shanza)\
**Post date:** [July 13, 2023, 3:22pm UTC](https://gromacs.bioexcel.eu/t/urgent-help-error-in-user-input/6826/5 "2023-07-13T15:22:11Z")

</div>

thank you, i also want to know the real reason behind the warning and solve it.  
i have checked the topol file, the protein has Heme group inside it in addition to my ligand. system created a separat topol.itp file for Heme and protein. when i checked Heme file, it has a -5.34 charge. after neutralization i think that 0.34 charge left. How i can deal with that

---

<div class="post-metadata">

**Author:** ![shanza](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@shanza](https://gromacs.bioexcel.eu/u/shanza)\
**Post date:** [July 14, 2023, 4:21am UTC](https://gromacs.bioexcel.eu/t/urgent-help-error-in-user-input/6826/6 "2023-07-14T04:21:44Z")

</div>

@jalemkul
