Error problem

GROMACS version:
GROMACS modification: Yes/No
Here post your question
gmx grompp -f em.mdp -c solv_ions.gro -p topol.top -o em.tpr
:-) GROMACS - gmx grompp, 2026.0 (-:

Executable: /usr/local/gromacs/bin/gmx
Data prefix: /usr/local/gromacs
Working dir: /mnt/d/vchemistry3
Command line:
gmx grompp -f em.mdp -c solv_ions.gro -p topol.top -o em.tpr

Ignoring obsolete mdp entry ‘ns_type’
Setting the LD random seed to -1348135077

Generated 22578 of the 22578 non-bonded parameter combinations
Generating 1-4 interactions: fudge = 1

Generated 19452 of the 22578 1-4 parameter combinations

Excluding 3 bonded neighbours molecule type ‘Protein_chain_A’

Excluding 3 bonded neighbours molecule type ‘LIG’

Excluding 2 bonded neighbours molecule type ‘SOL’

Excluding 1 bonded neighbours molecule type ‘NA’
Analysing residue names:
There are: 901 Protein residues
There are: 1 Other residues
There are: 80727 Water residues
There are: 6 Ion residues
Analysing Protein…
Analysing residues not classified as Protein/DNA/RNA/Water and splitting into groups…
Number of degrees of freedom in T-Coupling group rest is 526845.00
The integrator does not provide a ensemble temperature, there is no system ensemble temperature

The largest distance between excluded atoms is 3.571 nm between atom 5498 and 5517

WARNING 1 [file em.mdp]:
The largest distance between excluded atoms is 3.571 nm between atom 5498
and 5517, which is larger than the cut-off distance. This will lead to
missing long-range corrections in the forces and energies. If you expect
that minimization will bring such distances within the cut-off, you can
ignore this warning.

Calculating fourier grid dimensions for X Y Z
Using a fourier grid of 144x144x144, spacing 0.107 0.107 0.107

Estimate for the relative computational load of the PME mesh part: 0.24

This run will generate roughly 20 Mb of data

There was 1 WARNING


Program: gmx grompp, version 2026.0
Source file: src/gromacs/gmxpreprocess/grompp.cpp (line 2917)

Fatal error:
Too many warnings (1).
If you are sure all warnings are harmless, use the -maxwarn option.

mondalritam@LAPTOP-CE3QKKL9:/mnt/d/vchemistry3$ gmx grompp -f em.mdp -c solv_ions.gro -p topol.top -o em.tpr -maxwarm
:-) GROMACS - gmx grompp, 2026.0 (-:

Executable: /usr/local/gromacs/bin/gmx
Data prefix: /usr/local/gromacs
Working dir: /mnt/d/vchemistry3
Command line:
gmx grompp -f em.mdp -c solv_ions.gro -p topol.top -o em.tpr -maxwarm


Program: gmx grompp, version 2026.0
Source file: src/gromacs/commandline/cmdlineparser.cpp (line 271)
Function: void gmx::CommandLineParser::parse(int*, char**)

Error in user input:
Invalid command-line options
Unknown command-line option -maxwarm

For more information and tips for troubleshooting, please check the GROMACS
website at Common errors when using GROMACS - GROMACS 2026.0 documentation

give me exact command line for the solution of the problem

You’re not talking to an LLM here, this is a forum with real people taking their time to answer questions. “give me exact solution” is not a very nice way to ask for help. For what it’s worth though, there’s a typo in “-maxwarm”, should be “-maxwarn 1”, you have to specify a number.