def METHOD_NAME(self):
    """Custom configuration procedure for numexpr."""
    super(EB_numexpr, self).METHOD_NAME()
    self.imkl_root = get_software_root('imkl')
    # if Intel MKL is available, set up site.cfg such that the right VML library is used;
    # this makes a *big* difference in terms of performance;
    # see also https://github.com/pydata/numexpr/blob/master/site.cfg.example
    if self.imkl_root:
        # figure out which VML library to link to
        cpu_features = get_cpu_features()
        if 'avx512f' in cpu_features:
            mkl_vml_lib = 'mkl_vml_avx512'
        elif 'avx2' in cpu_features:
            mkl_vml_lib = 'mkl_vml_avx2'
        elif 'avx' in cpu_features:
            mkl_vml_lib = 'mkl_vml_avx'
        else:
            # use default kernels as fallback for non-AVX systems
            mkl_vml_lib = 'mkl_vml_def'
        mkl_ver = get_software_version('imkl')
        if LooseVersion(mkl_ver) >= LooseVersion('2021'):
            mkl_lib_dirs = [
                os.path.join(self.imkl_root, 'mkl', 'latest', 'lib', 'intel64'),
            ]
            mkl_include_dirs = os.path.join(self.imkl_root, 'mkl', 'latest', 'include')
            mkl_libs = ['mkl_rt']
        else:
            mkl_lib_dirs = [
                os.path.join(self.imkl_root, 'mkl', 'lib', 'intel64'),
                os.path.join(self.imkl_root, 'lib', 'intel64'),
            ]
            mkl_include_dirs = os.path.join(self.imkl_root, 'mkl', 'include')
            mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'mkl_def', mkl_vml_lib, 'iomp5']
        site_cfg_lines = [
            "[mkl]",
            "include_dirs = %s" % mkl_include_dirs,
            "library_dirs = %s" % os.pathsep.join(mkl_lib_dirs + self.toolchain.get_variable('LDFLAGS', typ=list)),
        ]
        if LooseVersion(self.version) >= LooseVersion("2.8.0"):
            site_cfg_lines.append("libraries = %s" % os.pathsep.join(mkl_libs))
        else:
            site_cfg_lines.append("mkl_libs = %s" % ', '.join(mkl_libs))
        site_cfg_txt = '\n'.join(site_cfg_lines)
        write_file('site.cfg', site_cfg_txt)
        self.log.info("site.cfg used for numexpr:\n" + site_cfg_txt)