Objects not beeing found by XIOS (NEMO5.0)

Hi,

Note, I came across the below described issue before (see ticket) in a nested configuration, however, the “solution” doesn’t apply for my current configuration.

I encounter errors with objects not beeing found by XIOS(3) in a ocean-atm coupled configuartion, e.g.:
In file "object_factory_impl.hpp", function "static std::shared_ptr<_Tp> xios::CObjectFactory::GetObject(const StdString&) [with U = xios::CField; StdString = std::__cxx11::basic_string<char>]", line 76 -> [ id = dvpn_mlt, U = field ] object was not found.

Irrespective of whether I activate the respective functionality (e.g. melt ponds; the first occurrence I get) or add respective variables to the output, I always end up with such errors.

All affected variables are treated similarly and should be only available if iom_used
Only when removing these dependencies (e.g. hard code ll_diag_pnd = .TRUE. in icethd_pnd.F90), the errors can be overcome.

The issue does not occur in an ocean-only, un-nested configuration.
Having the previously described behaviour in mind, I assume conflicts between different contexts (here ocean and atmosphere?) but cannot pin that down from the xml-file side as it was possible for the nested configuration.

Any hint is very much appreciated.

Best regards
Franziska