# WKB model in nested grids ERROR [gino rivano]

Hi all,

I'm trying to run a croco simulation with a nested configuration using the WKB wave model, but I can't run both simultaneous (AGRIF and WKB model). The simulation compile perfectly. The problem seems to start in the child wave computation:

 Maximum grid stiffness ratios:   rx0 =0.2286000333  rx1 =  3.0506158540

GET_INITIAL -- Processing data for time =   6027.     record =   1
GET_BULK   -- Read fields for bulk formula   for time =    6027.
GET_BULK   -- Read fields for bulk formula   for time =    6027.

WKB: started child wave computation.

At line 362 of file AGRIF_FILES/modbcfunction.F90
Fortran runtime error: Attempting to allocate already allocated variable
'parray2'
Program aborted. Backtrace:

At line 362 of file AGRIF_FILES/modbcfunction.F90
Fortran runtime error: Attempting to allocate already allocated variable
'parray2'


attached file contain simulation details