[gmx-users] Bug in option parsing?
Kutzner, Carsten
ckutzne at gwdg.de
Tue Nov 17 10:09:42 CET 2015
Hi,
there have been changes in the way the command line options are parsed.
You could put the argument to -npstring in quotation marks. I think
-npstring " -n"
(including the space before the " -" is accepted by the parser.
Carsten
> On 17 Nov 2015, at 08:58, Åke Sandgren <ake.sandgren at hpc2n.umu.se> wrote:
>
> 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
> --
> Gromacs Users mailing list
>
> * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-request at gromacs.org.
More information about the gromacs.org_gmx-users
mailing list