def METHOD_NAME(self):
    """Custom configuration procedure for NEMO."""
    netcdf_fortran_root = get_software_root('netCDF-Fortran')
    if not netcdf_fortran_root:
        raise EasyBuildError("netCDF-Fortran is not available, but is a required dependency")
    cfg = '\n'.join([
        "%%NCDF_INC -I%s/include" % netcdf_fortran_root,
        "%%NCDF_LIB -L%s/lib -lnetcdff" % netcdf_fortran_root,
        "%%FC %s" % os.getenv('F90'),
        "%FCFLAGS -r8 -O3  -traceback",
        "%FFLAGS %FCFLAGS",
        "%LD %FC",
        "%LDFLAGS ",
        "%FPPFLAGS -P -C",
        "%AR ar",
        "%ARFLAGS rs",
        "%MK make",
        "%USER_INC %NCDF_INC",
        "%USER_LIB %NCDF_LIB"
    ])
    write_file(self.conf_arch_file, cfg)
    cmd = "./makenemo -n %s -d '%s' -j0 -m eb" % (self.conf_name, ' '.join(self.cfg['with_components']))
    if self.cfg['add_keys'] is not None:
        cmd += " add_key '%s'" % ' '.join(self.cfg['add_keys'])
    if self.cfg['del_keys'] is not None:
        cmd += " del_key '%s'" % ' '.join(self.cfg['del_keys'])
    try:
        dst = 'NEMOGCM/CONFIG'
        os.chdir(dst)
        self.log.debug("Changed to directory %s", dst)
    except OSError as err:
        raise EasyBuildError("Failed to change to directory %s: %s", dst, err)
    run_cmd(cmd, log_all=True, simple=True, log_ok=True)