Hi Gael, The #include "ecco_cost.h" should be removed from smooth_correl2dw.F it is not necessary and removing it allows smoothing to be used free of ECCO package Thanks Matt