[gmx-users] Bug in option parsing?

Åke Sandgren ake.sandgren at hpc2n.umu.se
Tue Nov 17 08:58:39 CET 2015


Hi!

With latest 5.1.1 i get the following

gmx tune_pme -mdrun mdrun_mpi -np 96 -npstring -n -ntomp 1 -s ...
-------------------------------------------------------
Program:     gmx tune_pme, VERSION 5.1.1
Source file: src/gromacs/commandline/cmdlineparser.cpp (line 234)
Function:    void gmx::CommandLineParser::parse(int*, char**)

Error in user input:
Invalid command-line options
   In command-line option -npstring
     Too few (valid) values

For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors
-------------------------------------------------------

Using -npstring none works as expected, while -npstring -np also fails 
with a slightly different error.

----------
Error in user input:
Invalid command-line options
   In command-line option -npstring
     Too few (valid) values
   In command-line option -np
     Option specified multiple times
----------


-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: ake at hpc2n.umu.se   Phone: +46 90 7866134 Fax: +46 90-580 14
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se


More information about the gromacs.org_gmx-users mailing list