# Grompp log file

**URL:** <https://gromacs.bioexcel.eu/t/grompp-log-file/3610>\
**Category:** User discussions\
**Tags:** mdp-parameters\
**Created:** [February 5, 2022, 5:53pm UTC](https://gromacs.bioexcel.eu/t/grompp-log-file/3610 "2022-02-05T17:53:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpsingh](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rpsingh](https://gromacs.bioexcel.eu/u/rpsingh)\
**Post date:** [February 5, 2022, 5:53pm UTC](https://gromacs.bioexcel.eu/t/grompp-log-file/3610/1 "2022-02-05T17:53:11Z")

</div>

GROMACS version: 2021.3  
GROMACS modification: No  
Here post your question

I typically use a bash script to run multiple mdp files (energy minimization, equilibration, production run) and pass “-maxwarn 2” to grompp so that the simulations can continue. While most of the warnings and notes that grompp spits are harmless in my simulations, I would still like to see those after the simulations have ended. Is there a way to export these in a log file?

An obvious way is to scroll in the console window but there seems to be a character limit and only the last few hundred lines are shown thus necessitating the need for a log file.

Regards,  
Raman

---

<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:** [February 5, 2022, 6:29pm UTC](https://gromacs.bioexcel.eu/t/grompp-log-file/3610/2 "2022-02-05T18:29:03Z")

</div>

> [@rpsingh](#):
>
> pass “-maxwarn 2” to grompp so that the simulations can continue. While most of the warnings and notes that grompp spits are harmless in my simulations,

You like to live dangerously, don’t you? :) Warnings are not, in fact, “harmless” as they are raised when there are issues of incompatibility or likely physical instability. About the harmless instance I can think of is naming mismatches, but these should be rare. Tread lightly with allowing your `grompp` commands to bypass not 1, but 2, potential problems.

> [@rpsingh](#):
>
> Is there a way to export these in a log file?

Use the standard Linux `tee` command to duplicate stdout to a file.

---

<div class="post-metadata">

**Author:** ![rpsingh](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rpsingh](https://gromacs.bioexcel.eu/u/rpsingh)\
**Post date:** [February 6, 2022, 6:41am UTC](https://gromacs.bioexcel.eu/t/grompp-log-file/3610/3 "2022-02-06T06:41:14Z")

</div>

Thanks Justin for the reply.

The “harmless” means warnings like Parinello- Rahman and position restraints incompatibility as grompp spits but these are otherwise acceptable in properly equilibrated systems. Or, like when rlist is automatically changed based on other settings in the mdp.

Thanks for the pointer to the tee command.

Regards,  
Raman
