def METHOD_NAME() -> str:
    if 'MKLROOT' in os.environ:
        prefix = Config.get('compiler', 'library_prefix')
        suffix = Config.get('compiler', 'library_extension')
        libpath = os.path.join(os.environ['MKLROOT'], 'lib')
        libfile = os.path.join(os.environ['MKLROOT'], 'lib', f"{prefix}mkl_scalapack_lp64.{suffix}")
        if not os.path.isfile(libfile):
            # Try with ${MKLROOT}/lib/intel64 (oneAPI on Linux)
            libpath = os.path.join(os.environ['MKLROOT'], 'lib', 'intel64')
            libfile = os.path.join(os.environ['MKLROOT'], 'lib', 'intel64', f"{prefix}mkl_scalapack_lp64.{suffix}")
        if os.path.isfile(libfile):
            return libpath
    libfile = ctypes.util.find_library('mkl_scalapack_lp64')
    if libfile:
        return os.path.dirname(os.path.abspath(libfile))
    if 'CONDA_PREFIX' in os.environ:
        warnings.warn('Anaconda Python is installed but the MKL library file cannot be found for linkage. Please '
                      'install libraries with "conda install mkl-devel" or set the MKLROOT environment variable.')
    else:
        warnings.warn('MKL was not found. Please install MKL or set hte MKLROOT environment variable.')
    return ""