0

I'm working with gromacs and I encountered a fatal error as follows:

Fatal error:
Too many warnings (1).

If you are sure all warnings are harmless, use the -maxwarn option.

but when I try to add this option, it looks to be an invalid option.

How can I use this option?

1
  • 1
    Can you please show the exact command you are running and the exact output you are getting suggesting the option is invalid?
    – Zanna
    Aug 3, 2018 at 19:08

2 Answers 2

2

Just read the fine manual carefully. It says:

The -maxwarn option can be used to override warnings printed by gmx grompp that otherwise halt output. In some cases, warnings are harmless, but usually they are not. The user is advised to carefully interpret the output messages before attempting to bypass them with this option.

and

-maxwarn <int> (0)
Number of allowed warnings during input processing. Not for normal use and may generate unstable systems.

(Emphasis mine)

-maxwarn <int> (0) means the -maxwarn switch needs the number of warnings to ignore and 0 is the default. So supply a number other than 0.

0
Fatal error:
Too many warnings (2).

If you are sure all warnings are harmless, use the -maxwarn option.

I used this:

gmx grompp -f minim.mdp -c XXXX.pdb -p topol_XXX.top -o XXXX.tpr -maxwarn 3

It seems that the number of warnings would determine the integer to use as your -maxwarn option.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .