Open sangallidavide opened 4 months ago
Thanks Davide for pointing this out... Thinking a bit about, it makes sense the explicit interface is required, though I don't know about how critical the risks of doing otherwise are (probably little, since everything seems to work now)...
Nevertheless, the earlier we sort this out, the better. Coming to the technical details: X_irredux_residuals is only called by X_irredux.F, so probably not a big deal to add an explicit interface. The same problem is surely present also in other calls (scatter_Bamp, for instance, where the target attributes is used, if I am not mistaken)... Even in this case adding an explicit interface should not hurt too much
In fortran, if I'm not wrong, an "explicit interface" is needed every time a dummy argument that has one of these attributes
ALLOCATABLE, ASYNCHRONOUS, OPTIONAL, POINTER, TARGET, VALUE or VOLATILE
http://ahamodel.uib.no/intel/GUID-79A3D50D-99F2-409F-AE8A-6A84FD1E47FA.htmlThe arguments of X_irredux residuals are
which means an explicit interface should be declared