def METHOD_NAME(self):
    """Set the compiler variables"""
    pgi_version = self.get_software_version(self.COMPILER_MODULE_NAME)[0]
    # based on feedback from PGI support: use pgc++ with PGI 14.10 and newer, pgCC for older versions
    if LooseVersion(pgi_version) >= LooseVersion('14.10'):
        self.COMPILER_CXX = 'pgc++'
    else:
        self.COMPILER_CXX = 'pgCC'
    if LooseVersion(pgi_version) >= LooseVersion('19.1'):
        self.COMPILER_F77 = 'pgfortran'
    else:
        self.COMPILER_F77 = 'pgf77'
    super(Pgi, self).METHOD_NAME()