Useless spam of "No option -multi" - Redmine #2377
Archive from user: Aleksei Iupinov
Gerrit change I96e19acb0e15d3f42b0929f555b451299a2882e4 (which was
merged into release-2018 pretty much last minute) made it so that every
rank of the simulation prints “No option -multi” into stderr when
“-multi” is not set.
The function opt2bSet does not just “return TRUE when this option has
been found on the cmd-line”, per documentation, but issues that print
when the option is NOT found.
This is not very nice, and also shows that we should probably have an
output tests for at least minimal subset of the common mdrun use cases.
*(from redmine: issue id 2377, created on 2018-01-11 by gmxdefault, closed on 2018-02-06)*
* Relations:
* relates #2136
* Changesets:
* Revision 35654e9afa682cceff9b11de5451db865e5e62c9 by Berk Hess on 2018-01-16T12:04:22Z:
```
Avoid mdrun echoing "No option -multi"
mdrun would print as many messages "No option -multi" as there
are MPI ranks to stderr.
Also updated -multi to -multidir in an error message.
Fixes #2377
Change-Id: I697956e28f904b148974183ad85ed7ed4ec82221
```
* Revision 04f3da893e0385b212685b9d626d7cce47c0a686 by Berk Hess on 2018-01-17T14:03:57Z:
```
Replace stderr prints in filenm.cpp by asserts
Refs #2377
Change-Id: Iec556bf03b613e27c6b98e09577801f4d0701d06
```
issue