# \#AGRIF

**URL:** https://nemo-ocean.discourse.group/tag/agrif/58.md

[Latest](https://nemo-ocean.discourse.group/latest.md) · [Categories](https://nemo-ocean.discourse.group/categories.md) · [Tags](https://nemo-ocean.discourse.group/tags.md)

---

## [Diamlr output for AGRIF configurations](https://nemo-ocean.discourse.group/t/diamlr-output-for-agrif-configurations/1015)

<div class="topic-metadata">

**Author:** [@lmock](https://nemo-ocean.discourse.group/u/lmock)\
**Replies:** 1\
**Last updated:** [20 May 2026 13:42 UTC](https://nemo-ocean.discourse.group/t/diamlr-output-for-agrif-configurations/1015 "2026-05-20T13:42:21Z")

</div>

Hi! We’re running AGRIF-configurations with tidal constituents and want to write the analysis output diamlr. For an eORCA025 configuration this worked (like in the AMM12 example), but we can’t make it work for the AGRI…

---

## [AGRIF doesn't compile with gcc15 due to conflicting types](https://nemo-ocean.discourse.group/t/agrif-doesnt-compile-with-gcc15-due-to-conflicting-types/1022)

<div class="topic-metadata">

**Author:** [@Franziska](https://nemo-ocean.discourse.group/u/Franziska)\
**Replies:** 4\
**Last updated:** [12 May 2026 09:21 UTC](https://nemo-ocean.discourse.group/t/agrif-doesnt-compile-with-gcc15-due-to-conflicting-types/1022 "2026-05-12T09:21:27Z")

</div>

Hi, when compiling an AGRIF configuration (e.g. AGRIF\_DEMO) using GCC 15 (which appears to be more restrict than previous versions) it fails with the following error message: .../nemo/ext/AGRIF/LIB/UtilFortran.c:266:6:…

---

## [AGRIF memory allocation errors when compiled with gnu (NEMO 5)](https://nemo-ocean.discourse.group/t/agrif-memory-allocation-errors-when-compiled-with-gnu-nemo-5/984)

<div class="topic-metadata">

**Author:** [@Franziska](https://nemo-ocean.discourse.group/u/Franziska)\
**Replies:** 3\
**Last updated:** [13 March 2026 05:49 UTC](https://nemo-ocean.discourse.group/t/agrif-memory-allocation-errors-when-compiled-with-gnu-nemo-5/984 "2026-03-13T05:49:14Z")

</div>

Dear NEMO community, we have a rather big AGRIF configuration which runs when compiled with intel but fails using gnu compilers, which we would like to use due to a series of issues with intel (e.g. this ticket and more…

---

## [Agrif setup with eOrca 1 configuration](https://nemo-ocean.discourse.group/t/agrif-setup-with-eorca-1-configuration/996)

<div class="topic-metadata">

**Author:** [@francesco.tuccia](https://nemo-ocean.discourse.group/u/francesco.tuccia)\
**Replies:** 1\
**Last updated:** [6 March 2026 14:23 UTC](https://nemo-ocean.discourse.group/t/agrif-setup-with-eorca-1-configuration/996 "2026-03-06T14:23:49Z")

</div>

Good afternoon everyone, I am trying to set up an AGRIF zoom in the eORCA1 configuration that I usually run, but I am facing several problems. I am following the Nemo AGRIF User-guide. In case you want to try to reprodu…

---

## [ERROR: AGRIF hot start requires to force Euler first step on parent](https://nemo-ocean.discourse.group/t/error-agrif-hot-start-requires-to-force-euler-first-step-on-parent/978)

<div class="topic-metadata">

**Author:** [@wangy](https://nemo-ocean.discourse.group/u/wangy)\
**Replies:** 1\
**Last updated:** [14 January 2026 15:52 UTC](https://nemo-ocean.discourse.group/t/error-agrif-hot-start-requires-to-force-euler-first-step-on-parent/978 "2026-01-14T15:52:50Z")

</div>

Hi everyone I have been running a 10-year nested case. The AGRIF.in file is as follows. 1 172 196 62 92 2 2 2 1 10 41 15 46 3 3 3 0 Now, when I try to restart it, 1\_ocean.output\_00\* and 2\_ocean.output\_00\* both …

---

## [Vertical diffusivity reaches huge values close to boundary of nested configuration](https://nemo-ocean.discourse.group/t/vertical-diffusivity-reaches-huge-values-close-to-boundary-of-nested-configuration/963)

<div class="topic-metadata">

**Author:** [@beth](https://nemo-ocean.discourse.group/u/beth)\
**Replies:** 3\
**Last updated:** [25 November 2025 14:39 UTC](https://nemo-ocean.discourse.group/t/vertical-diffusivity-reaches-huge-values-close-to-boundary-of-nested-configuration/963 "2025-11-25T14:39:38Z")

</div>

I have been having issues when running my nested model configuration while using the GLS vertical mixing scheme. The vertical diffusivity occasionally reaches huge values, and eventually blows up the model. Depending on …

---

## [Nested configuration with T-S damping enabled in parent](https://nemo-ocean.discourse.group/t/nested-configuration-with-t-s-damping-enabled-in-parent/962)

<div class="topic-metadata">

**Author:** [@davidegregg](https://nemo-ocean.discourse.group/u/davidegregg)\
**Replies:** 0\
**Last updated:** [4 November 2025 13:43 UTC](https://nemo-ocean.discourse.group/t/nested-configuration-with-t-s-damping-enabled-in-parent/962 "2025-11-04T13:43:26Z")

</div>

Triple-nested configuration (v4.2.2) crashes with NaN values in child grid 2 at an early timestep when T-S restoring is enabled in the parent grid only. Crash occurs before parent has completed its first time step. Conf…

---

## [Compilation error occurs when adding "key\_agrif"](https://nemo-ocean.discourse.group/t/compilation-error-occurs-when-adding-key-agrif/949)

<div class="topic-metadata">

**Author:** [@wangy](https://nemo-ocean.discourse.group/u/wangy)\
**Replies:** 2\
**Last updated:** [24 September 2025 02:55 UTC](https://nemo-ocean.discourse.group/t/compilation-error-occurs-when-adding-key-agrif/949 "2025-09-24T02:55:23Z")

</div>

Hi everyone, I have compiled and run a case similar to AMM12 using version NEMO 4.2.0. Now I try to add the NST subcomponent and to append the cpp key key\_agrif in my case. The compilation command is as follows: ./ma…

---

## [Coupling at AGRIF child grid level](https://nemo-ocean.discourse.group/t/coupling-at-agrif-child-grid-level/947)

<div class="topic-metadata">

**Author:** [@tgraham](https://nemo-ocean.discourse.group/u/tgraham)\
**Replies:** 2\
**Last updated:** [10 September 2025 13:34 UTC](https://nemo-ocean.discourse.group/t/coupling-at-agrif-child-grid-level/947 "2025-09-10T13:34:35Z")

</div>

Hi all, Over the next few years, we may wish to start developing coupled models with AGRIF nests. Can I confirm that at the moment, this is only possible at the parent grid level (i.e. the atmosphere doesn’t see the hig…

---

## [Updated parent grids in AGRIF configurations](https://nemo-ocean.discourse.group/t/updated-parent-grids-in-agrif-configurations/897)

<div class="topic-metadata">

**Author:** [@Franziska](https://nemo-ocean.discourse.group/u/Franziska)\
**Replies:** 20\
**Last updated:** [23 June 2025 07:28 UTC](https://nemo-ocean.discourse.group/t/updated-parent-grids-in-agrif-configurations/897 "2025-06-23T07:28:45Z")

</div>

Hi all, how exactly are updated parent grid(s) in AGRIF configurations defined and used in NEMO 5 and is it the same for NEMO 4.2.2? For different puposes (e.g. runoff distribution, restart masking) I used masks from m…

---

## [AGRIF handling of class declaration](https://nemo-ocean.discourse.group/t/agrif-handling-of-class-declaration/912)

<div class="topic-metadata">

**Author:** [@mhilt](https://nemo-ocean.discourse.group/u/mhilt)\
**Replies:** 0\
**Last updated:** [12 June 2025 09:48 UTC](https://nemo-ocean.discourse.group/t/agrif-handling-of-class-declaration/912 "2025-06-12T09:48:13Z")

</div>

Hi everyone, I’m doing some runs that use the FABM library for BGC model coupling in Nemo v4.2 (the BGC model in question being ERGOM). FABM-ERGOM is built independantly from nemo and linked to at compilation. In Nemo ,…

---

## [Discontinuity in AGRIF parent-child boundary in W-grid variables](https://nemo-ocean.discourse.group/t/discontinuity-in-agrif-parent-child-boundary-in-w-grid-variables/900)

<div class="topic-metadata">

**Author:** [@beth](https://nemo-ocean.discourse.group/u/beth)\
**Replies:** 9\
**Last updated:** [11 June 2025 12:39 UTC](https://nemo-ocean.discourse.group/t/discontinuity-in-agrif-parent-child-boundary-in-w-grid-variables/900 "2025-06-11T12:39:30Z")

</div>

Hi all, I am working on a new configuration of NEMO+AGRIF using NEMO 4.2.2. The model runs without problem and appears to be stable over a long time period, but I noticed that in the outputs, only in the variables on t…

---

## [AGRIF child abnormal behaviours at the boundaries](https://nemo-ocean.discourse.group/t/agrif-child-abnormal-behaviours-at-the-boundaries/520)

<div class="topic-metadata">

**Author:** [@ngrivault](https://nemo-ocean.discourse.group/u/ngrivault)\
**Replies:** 11\
**Last updated:** [29 April 2025 09:06 UTC](https://nemo-ocean.discourse.group/t/agrif-child-abnormal-behaviours-at-the-boundaries/520 "2025-04-29T09:06:08Z")

</div>

Hello everyone, I have set up a new AGRIF nest over our NORDIC domain, but I face some very odd behaviour at boundary with the parent that I cannot explain nor I understand how to fix. Before I detail the problem, ther…

---

## [How to start nested configuration from global restart?](https://nemo-ocean.discourse.group/t/how-to-start-nested-configuration-from-global-restart/827)

<div class="topic-metadata">

**Author:** [@Franziska](https://nemo-ocean.discourse.group/u/Franziska)\
**Replies:** 3\
**Last updated:** [21 February 2025 11:24 UTC](https://nemo-ocean.discourse.group/t/how-to-start-nested-configuration-from-global-restart/827 "2025-02-21T11:24:35Z")

</div>

Hi! I’d like to initialise a nested configuration (OCE ICE) with restarts from a global configuration at the same resolution as the parent grid. Is there any advice on how to do this in NEMO 4.2.2 (or NEMO5)? As far as…

---

## [Start NEMO 5.0 simulation from NEMO 4.2.2 restarts (including AGRIF)](https://nemo-ocean.discourse.group/t/start-nemo-5-0-simulation-from-nemo-4-2-2-restarts-including-agrif/843)

<div class="topic-metadata">

**Author:** [@Franziska](https://nemo-ocean.discourse.group/u/Franziska)\
**Replies:** 24\
**Last updated:** [26 February 2025 09:58 UTC](https://nemo-ocean.discourse.group/t/start-nemo-5-0-simulation-from-nemo-4-2-2-restarts-including-agrif/843 "2025-02-26T09:58:54Z")

</div>

Hi, I’d like to start a nested simulation in NEMO 5.0 (using RK3) based on NEMO 4.2.2 restarts. Although I haven’t tried, this should be fine without AGRIF but fails with AGRIF using dynspg\_ts because of missing variabl…

---

## [NEMO v5.0-beta - AGRIF parallel sisters](https://nemo-ocean.discourse.group/t/nemo-v5-0-beta-agrif-parallel-sisters/695)

<div class="topic-metadata">

**Author:** [@Franziska](https://nemo-ocean.discourse.group/u/Franziska)\
**Replies:** 3\
**Last updated:** [26 February 2025 09:45 UTC](https://nemo-ocean.discourse.group/t/nemo-v5-0-beta-agrif-parallel-sisters/695 "2025-02-26T09:45:44Z")

</div>

Hi, I tried using parallel sisters ín NEMOv5.0-beta applied to an AGRIF configuration with two nests at very different sizes. While without key\_agrif\_psisters the model starts, it doesn’t when key\_agrif\_psisters is acti…

---

## [Creating consistent domain files with DOMAINcfg for nesting](https://nemo-ocean.discourse.group/t/creating-consistent-domain-files-with-domaincfg-for-nesting/797)

<div class="topic-metadata">

**Author:** [@davidegregg](https://nemo-ocean.discourse.group/u/davidegregg)\
**Replies:** 4\
**Last updated:** [17 January 2025 14:51 UTC](https://nemo-ocean.discourse.group/t/creating-consistent-domain-files-with-domaincfg-for-nesting/797 "2025-01-17T14:51:41Z")

</div>

Hello! I’m trying to create a new configuration based on the AMM12 reference configuration but with a nested child domain in the North Sea. I’ve successfully recompiled AMM12 with the nesting module and used the NESTING…

---

## [NEMOv5.0 field\_definition required altough not used (ice suppresion on child grid)](https://nemo-ocean.discourse.group/t/nemov5-0-field-definition-required-altough-not-used-ice-suppresion-on-child-grid/824)

<div class="topic-metadata">

**Author:** [@Franziska](https://nemo-ocean.discourse.group/u/Franziska)\
**Replies:** 0\
**Last updated:** [16 January 2025 08:38 UTC](https://nemo-ocean.discourse.group/t/nemov5-0-field-definition-required-altough-not-used-ice-suppresion-on-child-grid/824 "2025-01-16T08:38:20Z")

</div>

Hi! I’m running a nested configuration (OCE ICE NST) with an ice-free nest region and consequently run the ice model only on the parent grid (namelist\_cfg: nn\_ice = 2) and suppress the ice model on the child grid (1\_nam…

---

## [Ice suppression on child grid fails when writing restarts through XIOS](https://nemo-ocean.discourse.group/t/ice-suppression-on-child-grid-fails-when-writing-restarts-through-xios/809)

<div class="topic-metadata">

**Author:** [@Franziska](https://nemo-ocean.discourse.group/u/Franziska)\
**Replies:** 3\
**Last updated:** [16 January 2025 08:09 UTC](https://nemo-ocean.discourse.group/t/ice-suppression-on-child-grid-fails-when-writing-restarts-through-xios/809 "2025-01-16T08:09:07Z")

</div>

Hi! For the following I’m applying NEMO 4.2.2 and XIOS2 (rev2634) I am running a nested configuration consisting of a global parent grid with one child (1) at this level and a therein embedded secondary child (2 ; gran…

---

## [AGRIF - DOMAINcfg generated 1\_domain\_cfg.nc file has 2 exact longitude points](https://nemo-ocean.discourse.group/t/agrif-domaincfg-generated-1-domain-cfg-nc-file-has-2-exact-longitude-points/728)

<div class="topic-metadata">

**Author:** [@murat.gunduz](https://nemo-ocean.discourse.group/u/murat.gunduz)\
**Replies:** 1\
**Last updated:** [17 July 2024 08:37 UTC](https://nemo-ocean.discourse.group/t/agrif-domaincfg-generated-1-domain-cfg-nc-file-has-2-exact-longitude-points/728 "2024-07-17T08:37:54Z")

</div>

Dear NEMO users, I am using DOMAINcfg tools (compiled with the key\_agrif) to generate the child bathymetry domain file (i.e. 1\_domain\_cfg.nc). The generated file longitudes have the exact same longitude in the first tw…

---

## [Configuration crashes for new OASIS-MCT 4.0: malloc(): memory corruption (fast)](https://nemo-ocean.discourse.group/t/configuration-crashes-for-new-oasis-mct-4-0-malloc-memory-corruption-fast/715)

<div class="topic-metadata">

**Author:** [@Tronje](https://nemo-ocean.discourse.group/u/Tronje)\
**Replies:** 3\
**Last updated:** [1 July 2024 10:19 UTC](https://nemo-ocean.discourse.group/t/configuration-crashes-for-new-oasis-mct-4-0-malloc-memory-corruption-fast/715 "2024-07-01T10:19:18Z")

</div>

Dear all, I am experiencing issues running a nested NEMO3.6 simulation coupled with ECHAM-6.3.05p2 via OASIS3-MCT 4.0. For output, we are using XIOS2.5 versions r1910 and r2497. We have upgraded from OASIS3-MCT 3.6 to a…

---

## [Cold start initial velocity at nest boundary](https://nemo-ocean.discourse.group/t/cold-start-initial-velocity-at-nest-boundary/716)

<div class="topic-metadata">

**Author:** [@mhilt](https://nemo-ocean.discourse.group/u/mhilt)\
**Replies:** 0\
**Last updated:** [27 June 2024 14:18 UTC](https://nemo-ocean.discourse.group/t/cold-start-initial-velocity-at-nest-boundary/716 "2024-06-27T14:18:43Z")

</div>

Hello Nemo community, I am starting to run 2-way nested simulations with Nemo4.2.1-Agrif, I’ve started with a simple test in my regional configuration of a nest with no temporal nor spatial refinement. Child is initiali…

---

## [AGRIF nest & no cyclic east-west boundaries (host)](https://nemo-ocean.discourse.group/t/agrif-nest-no-cyclic-east-west-boundaries-host/706)

<div class="topic-metadata">

**Author:** [@sykim](https://nemo-ocean.discourse.group/u/sykim)\
**Replies:** 4\
**Last updated:** [14 June 2024 04:29 UTC](https://nemo-ocean.discourse.group/t/agrif-nest-no-cyclic-east-west-boundaries-host/706 "2024-06-14T04:29:13Z")

</div>

Hi all, I’m trying to refine a northwestern Pacific with NEMO4.2.x. Below is AGRIF\_FixedGrids.in 1 65 210 250 416 5 5 3 0 The parent domain (ORCA05) has no cyclic east-west boundaries (nx = 720 & ny = 510). Howeve…

---

## [AGRIF and optimization levels](https://nemo-ocean.discourse.group/t/agrif-and-optimization-levels/625)

<div class="topic-metadata">

**Author:** [@Franziska](https://nemo-ocean.discourse.group/u/Franziska)\
**Replies:** 3\
**Last updated:** [4 March 2024 14:56 UTC](https://nemo-ocean.discourse.group/t/agrif-and-optimization-levels/625 "2024-03-04T14:56:39Z")

</div>

Hi, with previous code versions it was recommended to not go beyond optimization level -O1 when compiling a configuration with AGRIF. Is this still the case in NEMO4.2(.2)? How far can one go with the optimization witho…

---

## [AGRIF and complex nest geometries](https://nemo-ocean.discourse.group/t/agrif-and-complex-nest-geometries/617)

<div class="topic-metadata">

**Author:** [@Franziska](https://nemo-ocean.discourse.group/u/Franziska)\
**Replies:** 0\
**Last updated:** [18 January 2024 17:09 UTC](https://nemo-ocean.discourse.group/t/agrif-and-complex-nest-geometries/617 "2024-01-18T17:09:45Z")

</div>

Hi all, I’m planning new nested configurations, building on INALT20 and VIKING20X respectively. Although I might build on those configurations directly, I was wondering whether there might be a way to improve the settin…

---

## [Agrif and vertical remap](https://nemo-ocean.discourse.group/t/agrif-and-vertical-remap/588)

<div class="topic-metadata">

**Author:** [@Luc](https://nemo-ocean.discourse.group/u/Luc)\
**Replies:** 4\
**Last updated:** [24 November 2023 09:46 UTC](https://nemo-ocean.discourse.group/t/agrif-and-vertical-remap/588 "2023-11-24T09:46:49Z")

</div>

Hello all, I use DOMAINcfg to define a parent grid mesh, and some children. I define the vertical zps layers by specifying ppkt, ppacr, ppdzmin, pphmax in the &namdom namelist. Then, in &namcfg , I define jpkdta and jp…

---

## [DOMAINcfg 1-way nesting](https://nemo-ocean.discourse.group/t/domaincfg-1-way-nesting/450)

<div class="topic-metadata">

**Author:** [@qtqw](https://nemo-ocean.discourse.group/u/qtqw)\
**Replies:** 3\
**Last updated:** [24 October 2023 13:04 UTC](https://nemo-ocean.discourse.group/t/domaincfg-1-way-nesting/450 "2023-10-24T13:04:55Z")

</div>

I use DOMAINcfg to create a nested domain, e.g. files 1\_domain\_cfg.nc and domain\_cfg.nc I found that while creating a nested domain DOMAINcfg also changes bathymetry in parent domain in the area where nested domain is s…

---

## [Nemo.exe crashes after a few time steps when using AGRIF](https://nemo-ocean.discourse.group/t/nemo-exe-crashes-after-a-few-time-steps-when-using-agrif/469)

<div class="topic-metadata">

**Author:** [@ngrivault](https://nemo-ocean.discourse.group/u/ngrivault)\
**Replies:** 4\
**Last updated:** [6 April 2023 12:01 UTC](https://nemo-ocean.discourse.group/t/nemo-exe-crashes-after-a-few-time-steps-when-using-agrif/469 "2023-04-06T12:01:36Z")

</div>

Hello everyone, I’m setting up a 1 to 5 AGRIF nest into our NORDIC configuration with NEMO 4.2 and I’m facing a nemo.exe crash issue. The configuration consists on our NORDIC regional configuration and a nest in the Bal…

---

## ["multiple definition" problem in compiling with key\_agrif](https://nemo-ocean.discourse.group/t/multiple-definition-problem-in-compiling-with-key-agrif/424)

<div class="topic-metadata">

**Author:** [@lchi](https://nemo-ocean.discourse.group/u/lchi)\
**Replies:** 1\
**Last updated:** [14 January 2023 03:18 UTC](https://nemo-ocean.discourse.group/t/multiple-definition-problem-in-compiling-with-key-agrif/424 "2023-01-14T03:18:24Z")

</div>

Hi, I am trying to compile a nested configuration of ORCA2\_LIM with key\_agrif in NEMO v3.6. However, it ended up with multiple definition messages which failed the compilation: -\>Make: start fcm\_internal load:C con…

---

## [Creating nested domains with DOMAINcfg](https://nemo-ocean.discourse.group/t/creating-nested-domains-with-domaincfg/375)

<div class="topic-metadata">

**Author:** [@qtqw](https://nemo-ocean.discourse.group/u/qtqw)\
**Replies:** 3\
**Last updated:** [4 November 2022 09:33 UTC](https://nemo-ocean.discourse.group/t/creating-nested-domains-with-domaincfg/375 "2022-11-04T09:33:39Z")

</div>

I use DOMAINcfg to create initial conditions for nested domains, e.g. domain\_cfg.nc and 1\_domain\_cfg.nc files. I found that 1\_domain\_cfg.nc is bigger than 1\_coordinates.nc and 1\_bathy\_meter.nc by 4 points. For example, …

[Next page](https://nemo-ocean.discourse.group/tag/agrif/58.md?match_all_tags=true&page=1&tags%5B%5D=AGRIF)
