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
gmx_fatal(FARGS, "Replica exchange number of exchanges needs to be positive");
}
- if (nmultisim > 1)
+ if (nmultisim >= 1)
{
#ifndef GMX_THREAD_MPI
gmx_bool bParFn = (multidir == NULL);
init_multisystem(cr, nmultisim, multidir, NFILE, fnm, bParFn);
#else
- gmx_fatal(FARGS, "mdrun -multi is not supported with the thread library. "
- "Please compile GROMACS with MPI support");
+ gmx_fatal(FARGS, "mdrun -multi or -multidir are not supported with the thread-MPI library. "
+ "Please compile GROMACS with a proper external MPI library.");
#endif
}