def getVersion(root):
    """Get BEM++ Version information"""

    f = open(root+"/VERSION")
    version_strings = f.readline().rstrip().split(".")
    version_major = int(version_strings[0])
    version_minor = int(version_strings[1])
    version_patch = int(version_strings[2])
    return (version_major,version_minor,version_patch)