croco blows up when defining PISCES and BULK forcing

Hi, I have a regional configuration of CROCO+PISCES which runs smoothly in clilmatological mode (using a frc file as surface forcing), but if I switch to an interannual simulation defining a bulk surface file, it blows up in the first time step, with no error message.

I have checked the bulk file for errors, but i couldn’t find anything.

These are my definitions for the bulk in the cppdefs.h:

define BULK_FLUX

ifdef BULK_FLUX

define BULK_FAIRALL

define BULK_LW

define BULK_EP

define BULK_SMFLUX

undef SST_SKIN

undef ANA_DIURNAL_SW

undef ONLINE

undef ERA_ECMWF

undef RELATIVE_WIND

else

define QCORRECTION

define SFLX_CORR

define ANA_DIURNAL_SW

endif

Can anybody help me to figure out what is wrong?

Thank you

Rosa