'Calls the overridden method but prevents it from detecting Cray
compiler wrappers to avoid possible false detections. The detected
compilers come into play only if a user decides to work with the Cray\'s
frontend OS as if it was a regular Linux environment.'

def find_compilers(self, *paths):

    env_bu = None
    if ('PE_ENV' in os.environ):
        env_bu = os.environ.copy()
        prg_env = ('PrgEnv-' + os.environ['PE_ENV'].lower())
        modulecmd = get_module_cmd()
        exec compile(modulecmd('unload', prg_env, output=str, error=os.devnull), '<string>', 'exec')
    clist = super(CrayFrontend, self).find_compilers(*paths)
    if (env_bu is not None):
        os.environ.clear()
        os.environ.update(env_bu)
    return clist
