There is a bug in flake in extpar 5.10 where the consistency check for DEPTH_LK and FR_LAKE somehow passes but then int2lm crashes with the error in the title. This worked fine with extpar 5.9
The error only "appears" if the lake model is turned on in int2lm (with llake=.true.).
I have encountered it with
raw_data_flake_filename=GLDB_lakedepth.nc
Compile-Date ......: 2023-02-21 18:12:58
Code is modified ..: modified
Library name ......: extpar-v5.10.1
Compiled on .......: daint
Revision number ...: 6cd9e5d
Checkout-Date .....: 2023-02-21 16:14:37
Binary name .......: ./extpar_consistency_check.exe
Compiled by .......: jcanton
Compiler version ..: GCC 9.3.0
Current start time : 2023-02-23 11:04
you can see in the two figures comparing 5.9 (left) to 5.10 (right) that 5.10 has a very different DEPTH_LK map despite having the same FR_LAKE

