We are analyzing the architecture of climate and ocean models utilizing runtime monitoring data reflecting call traces. Currently, we are testing our technical approach based on the MITgcm and its set of prepared verification experiments including all tutorial setup.
Today we analyzed two experiments, namely tutorial_barotropic_gyre
and tutorial_global_oce_biogeo
. For the former, we derived components based on files. For the latter, we derived components based on the package and source code directory structure, namely, each MITgcm package represents one component and the main code block is represented by the BASE component.
Preliminary results can be seen in the following two figures:
As you can see, the file based components are quite numerous and result in a fast graph. In contrast the, package based component graph looks as follows.
In the latter graphic you can see cyclic dependencies between BASE and most components. This might be the result that BASE comprises of all non-package code files. Thus, a better separation in this area might be helpful. Still, the figure is much concise and understandable.
Due to technical issues, we cannot provide operation based images for both cases. There might be an error in the dot renderer.