Handle multidir/multisim with single argument correctly
authorErik Lindahl <erik@kth.se>
Thu, 18 Jun 2015 17:26:27 +0000 (19:26 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 20 Jun 2015 17:30:40 +0000 (19:30 +0200)
commit4107b6ba90c88e77059df2b567cd1ed1917c3402
tree39b6f40ca41e955ec33bbabfb1ae40304215697a
parent3e9a0a12522f9d6adbbdac6271cd97b62a29bdd7
Handle multidir/multisim with single argument correctly

Mdrun would only initialize the multi option correctly
with more than one argument, which caused mdrun to fail
in strange ways since it looked for topol.tpr in the
current directory instead.

Fixes #1712.

Change-Id: Ib89860fdff5f8523eee6c2f5a068390b8d4e3c8d
src/programs/mdrun/mdrun.cpp