def METHOD_NAME(self):
    """Custom configuration procedure for OpenIFS."""
    # make sure use of MPI is enabled
    if not self.toolchain.options.get('usempi', None):
        raise EasyBuildError("Use of MPI should be enabled, set 'usempi' toolchain option to 'True'.")
    # configure build via OIFS_* environment variables
    env.setvar('OIFS_ARCH', 'x86_64')
    env.setvar('OIFS_BUILD', 'opt')
    if self.toolchain.comp_family() == toolchain.GCC:
        env.setvar('OIFS_COMP', 'gnu')
    elif self.toolchain.comp_family() == toolchain.INTELCOMP:
        env.setvar('OIFS_COMP', 'intel')
    else:
        raise EasyBuildError("Unknown compiler used, don't know how to set $OIFS_COMP.")
    # give EasyBuild control over compiler options
    env.setvar('OIFS_CC', os.getenv('CC'))
    env.setvar('OIFS_CFLAGS', os.getenv('CFLAGS'))
    env.setvar('OIFS_FC', os.getenv('F90'))
    env.setvar('OIFS_FFLAGS', os.getenv('F90FLAGS'))
    # set location of dependencies
    grib_api_root = get_software_root('grib_api')
    if grib_api_root:
        env.setvar('OIFS_GRIB_API_DIR', grib_api_root)
    else:
        raise EasyBuildError("grib_api module not loaded")
    env.setvar('OIFS_LAPACK_LIB', "-L%s %s" % (os.getenv('LAPACK_LIB_DIR'), os.getenv('LIBLAPACK')))