def get_double_or_single_prec_mdrun():
try:<EOL><INDENT>gromacs.mdrun_d(h=True, stdout=False, stderr=False)<EOL>logger.debug("<STR_LIT>")<EOL>return gromacs.mdrun_d<EOL><DEDENT>except (AttributeError, GromacsError, OSError):<EOL><INDENT>wmsg = "<STR_LIT>""<STR_LIT>"<EOL>logger.warn(wmsg)<EOL>warnings.warn(wmsg, category=AutoCorrectionWarning)<EOL>return gromacs.mdrun<EOL><DEDENT>
Return double precision ``mdrun`` or fall back to single precision.

    This convenience function tries :func:`gromacs.mdrun_d` first and
    if it cannot run it, falls back to :func:`gromacs.mdrun` (without
    further checking).

    .. versionadded:: 0.5.1