def METHOD_NAME(yaml, platform_name, override):
    """Run perses relative free energy calculation."""
    from perses.app.setup_relative_calculation import run
    logging.basicConfig(
        format="%(asctime)s %(levelname)-8s %(message)s",
        level=LOGLEVEL,
        datefmt="%Y-%m-%d %H:%M:%S",
    )
    click.echo(click.style(percy, fg="bright_magenta"))
    if override:
        click.echo("✍️ \t Overrides used")
    click.echo("🕵️\t Checking OpenEye license")
    _check_openeye_license()
    click.echo("✅\t OpenEye license good")
    click.echo("🖥️⚡\t Checking whether requested compute platform is available")
    openmm.testInstallation.main()  # Test openmm installation
    if platform_name:
        _test_platform(platform_name)  # test platform compatibility
        override = list(override)  # make override (click.Tuple) a list
        override.append(f"platform:{platform_name}")  # override platform option
    click.echo("🏃\t Running simulation")
    run(yaml_filename=yaml, override_string=override)
    click.echo("🧪\t Simulation over")