def METHOD_NAME(cls, exe):
    output = Executable(exe)(output=str, error=str)
    match = re.search(r"Spectrum MPI: (\S+)", output)
    if not match:
        return None
    version = match.group(1)
    return version